[Bug bootstrap/72833] [7 regression] error in fortran/parse.c (unexpected_eof) on Mac OS X 10.7

ro at CeBiTec dot Uni-Bielefeld.DE gcc-bugzilla@gcc.gnu.org
Mon Aug 8 16:49:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72833

--- Comment #5 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #3 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot
> Uni-Bielefeld.DE> ---
>> Could you please attach a faulty setjmp.h and a good setjmp.h
>
> I'm attaching the Mac OS X 10.7 one (i386/setjmp.h).  Need to get home
> first for the 10.12 one and the annotation they use for noreturn
> functions.

I've just checked: on Mac OS X 10.11 and macOS 10.12, there simply is no
<i386/setjmp.h>.  Instead, longjmp is declared directly in <setjmp.h>
with a __dead2 annotation (which expands to __attribute__((noreturn))).
No idea if there were any intermediate versions with the declaration in
<i386/setjmp.h> but some annotation (__dead2 or otherwise) present.

        Rainer


More information about the Gcc-bugs mailing list