Don't allow sibcalls on nested functions

Laurent Guerby
Wed Apr 23 18:41:00 GMT 2003

On Wed, 2003-04-23 at 20:11, Richard Henderson wrote:
> On Tue, Apr 22, 2003 at 09:16:17PM -0400, Richard Kenner wrote:
> > Well there *was* a test cases posted along with the change ...
> Yeah, well, I havn't been able to build Ada in 3.3 or
> mainline for months.  I always get
> gnatbind -C -I- -I. -Iada -I../../../src-gcc/gcc/ada -o ada/b_gnat1.c -n ada/gnat1drv.ali
> fatal error: file gnat1drv.ali is incorrectly formatted
> This starting from gcc 3.2.  This has been reported by
> multiple people several times.  If someone could fix that,
> it'd be much appreciated.

Hmm, probably due to configure with relative source path
or some PATH/gnatbind mystery, my build have been working on mainline
for a while:

gcc -c -g       -gnatpg -gnata -I- -I. -Iada -I/home/guerby/work/gcc/gcc/gcc/ada /home/guerby/work/gcc/gcc/gcc/ada/back_end.adb -o ada/back_end.o
gcc -c -g       -gnatpg -gnata -I- -I. -Iada -I/home/guerby/work/gcc/gcc/gcc/ada /home/guerby/work/gcc/gcc/gcc/ada/gnat1drv.adb -o ada/gnat1drv.o
gnatbind -C -I- -I. -Iada -I/home/guerby/work/gcc/gcc/gcc/ada -o ada/b_gnat1.c -n ada/gnat1drv.ali
gcc -c   -g  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes     -fno-common   -DHAVE_CONFIG_H    -I. -Iada -I/home/guerby/work/gcc/gcc/gcc -I/home/guerby/work/gcc/gcc/gcc/ada -I/home/guerby/work/gcc/gcc/gcc/config -I/home/guerby/work/gcc/gcc/gcc/../include ada/b_gnat1.c -o ada/b_gnat1.o

My configure is with absolute path:

cd /some/build/dir
/home/guerby/work/gcc/gcc/configure ...
Could you check what 

type gcc
type gnatbind

returns (may be you have an old gnatbind lying around)?

Laurent Guerby <>

More information about the Gcc-patches mailing list