[M3devel] setjmp/longjmp still missing volatile
Tony Hosking
hosking at cs.purdue.edu
Wed Nov 10 16:14:01 CET 2010
Did you disable inlining on everything?
Really, the volatilize code should handle this!
Antony Hosking | Associate Professor | Computer Science | Purdue University
305 N. University Street | West Lafayette | IN 47907 | USA
Office +1 765 494 6001 | Mobile +1 765 427 5484
On Nov 10, 2010, at 8:15 AM, Jay K wrote:
>
> nevermind, I found a workaround that is probably ok
> a deoptimization but it shouldn't be common and significant
> But it also isn't the expected one. I figured volatile somewhere would do the trick,
> not avoiding inlining.
>
> - Jay
>
> ----------------------------------------
>> From: jay.krell at cornell.edu
>> To: m3devel at elegosoft.com
>> Date: Wed, 10 Nov 2010 12:48:14 +0000
>> Subject: [M3devel] setjmp/longjmp still missing volatile
>>
>>
>> == package /Users/jay/dev2/cm3/elego/m3msh ==
>>
>> +++ /cm3/bin/cm3 -build -DROOT=/Users/jay/dev2/cm3 +++
>> --- building in AMD64_DARWIN ---
>>
>> ignoring ../src/m3overrides
>>
>> new source -> compiling M3MiniShell.m3
>> ../src/M3MiniShell.m3: In function 'M3MiniShell__ProcessParameters':
>> ../src/M3MiniShell.m3:608:0: error: variable '_nonlocal_var_rec.188' might be clobbered by 'longjmp' or 'vfork'
>> m3_backend => 1
>>
>>
>>
>> I've been sprinkling volatile around, no luck yet..
>>
>> - Jay
>>
>>
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20101110/9422da17/attachment-0002.html>
More information about the M3devel
mailing list