[M3devel] setjmp/longjmp still missing volatile
Jay K
jay.krell at cornell.edu
Wed Nov 10 14:15:31 CET 2010
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
>
>
>
>
>
More information about the M3devel
mailing list