This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/72833] [7 regression] error in fortran/parse.c (unexpected_eof) on Mac OS X 10.7
- From: "ro at CeBiTec dot Uni-Bielefeld.DE" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 08 Aug 2016 16:49:12 +0000
- Subject: [Bug bootstrap/72833] [7 regression] error in fortran/parse.c (unexpected_eof) on Mac OS X 10.7
- Auto-submitted: auto-generated
- References: <bug-72833-4@http.gcc.gnu.org/bugzilla/>
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