Re: [PATCH] fix AIX fortran builds

2017-10-30 Thread Thomas Koenig
Hi Jim, If I add a call to gcc_unreachable after the longjmp call, then it builds on both linux and AIX.  Anyone have a better idea on how to fix this?  If I don't get any responses in a few days, I will check it in under the obvious rule, since it fixes a build failure. The patch is OK. Than

[PATCH] fix AIX fortran builds

2017-10-29 Thread Jim Wilson
A Power AIX build with fortran enabled fails in stage2, because longjmp is not declared noreturn in system header files.  That is probably only true on systems where gcc is the system compiler, since this is a GCC extension. .../../gcc-git/gcc/fortran/parse.c: In function 'void unexpected_eof()':