Bootstrapping with ada fails for me on powerpc64-linux-gnu with: /abuild/aj/gcc/./gcc/xgcc -B/abuild/aj/gcc/./gcc/ -B/opt/gcc/4.2-devel/powerpc64-suse-linux-gnu/bin/ -B/opt/gcc/4.2-devel/powerpc64-suse-linux-gnu/lib/ -isystem /opt/gcc/4.2-devel/powerpc64-suse-linux-gnu/include -isystem /opt/gcc/4.2-devel/powerpc64-suse-linux-gnu/sys-include -c -g -O2 -fPIC -specs=ldblspecs -mno-minimal-toc -W -Wall -gnatpg g-os_lib.adb -o g-os_lib.o -save-temps -v Reading specs from /abuild/aj/gcc/./gcc/specs Reading specs from /abuild/aj/gcc/./gcc/ldblspecs Target: powerpc64-suse-linux-gnu Configured with: /cvs/gcc-svn/trunk/configure --prefix=/opt/gcc/4.2-devel --enable-checking=yes,rtl --enable-threads=posix --enable-clocale=gnu --enable-__cxa_atexit --enable-shared --enable-languages=c,c++,ada,treelang,java,fortran,objc --with-system-zlib --with-cpu=default32 powerpc64-suse-linux-gnu Thread model: posix gcc version 4.2.0 20060511 (experimental) /abuild/aj/gcc/./gcc/gnat1 -quiet -dumpbase g-os_lib.adb -O2 -W -Wall -fPIC -g -mno-minimal-toc -gnatpg -gnatO g-os_lib.o g-os_lib.adb -o g-os_lib.s +===========================GNAT BUG DETECTED==============================+ | 4.2.0 20060511 (experimental) (powerpc64-suse-linux-gnu) GCC error: | | in change_address_1, at emit-rtl.c:1784 | | Error detected at g-os_lib.adb:2603:1 | | Please submit a bug report; see http://gcc.gnu.org/bugs.html. | | Use a subject line meaningful to you and us to track the bug. | | Include the entire contents of this bug box in the report. | | Include the exact gcc or gnatmake command that you entered. | | Also include sources listed below in gnatchop format | | (concatenated together with no headers between files). | +==========================================================================+
Please include these source files with error report Note that list may not be accurate in some cases, so please double check that the problem can still be reproduced with the set of files listed. raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:380 A debugging session shows: (gdb) r Starting program: /abuild/aj/gcc/gcc/gnat1 -quiet -dumpbase g-os_lib.adb -O2 -W -Wall -fPIC -g -mno-minimal-toc -gnatpg -gnatO g-os_lib.o g-os_lib.adb -o g-os_lib.s Breakpoint 3 at 0x10ac8190 Breakpoint 4 at 0x10ac7e70 Breakpoint 3 at 0xfec4908 Breakpoint 4 at 0xfec3148 Breakpoint 1, fancy_abort (file= 0x10b397b0 "/cvs/gcc-svn/trunk/gcc/emit-rtl.c", line=1784, function=0x10b3949c "change_address_1") at /cvs/gcc-svn/trunk/gcc/diagnostic.c:642 642 internal_error ("in %s, at %s:%d", function, trim_filename (file), line); (gdb) bt #0 fancy_abort (file=0x10b397b0 "/cvs/gcc-svn/trunk/gcc/emit-rtl.c", line=1784, function=0x10b3949c "change_address_1") at /cvs/gcc-svn/trunk/gcc/diagnostic.c:642 #1 0x103fa248 in change_address_1 (memref=0xf7970700, mode=BLKmode, addr=0xf7a9ff20, validate=<value optimized out>) at /cvs/gcc-svn/trunk/gcc/emit-rtl.c:1784 #2 0x1040c4c4 in use_anchored_address (x=0xf7970700) at /cvs/gcc-svn/trunk/gcc/explow.c:592 #3 0x1042a0dc in expand_expr_real_1 (exp=<value optimized out>, target=<value optimized out>, tmode=<value optimized out>, modifier=EXPAND_CONST_ADDRESS, alt_rtl=0x0) at /cvs/gcc-svn/trunk/gcc/expr.c:6831 #4 0x88004282 in ?? () #5 0x10431578 in expand_expr_real (exp=0xf7f55070, target=0x0, tmode=SImode, modifier=EXPAND_CONST_ADDRESS, alt_rtl=0x0) at /cvs/gcc-svn/trunk/gcc/expr.c:6638 #6 0x1043a1f4 in expand_expr_addr_expr_1 (exp=0x10b397b0, target=0x0, tmode=SImode, modifier=EXPAND_NORMAL) at /cvs/gcc-svn/trunk/gcc/expr.h:494 #7 0x10427728 in expand_expr_real_1 (exp=<value optimized out>, target=0x0, tmode=<value optimized out>, modifier=EXPAND_NORMAL, alt_rtl=0x0) at /cvs/gcc-svn/trunk/gcc/expr.c:6525 #8 0x88004282 in ?? () #9 0x10431578 in expand_expr_real (exp=0xf7f81600, target=0x0, tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0) at /cvs/gcc-svn/trunk/gcc/expr.c:6638 #10 0x10402290 in output_ttype (type=0xf7f81600, tt_format=155, tt_format_size=4) at /cvs/gcc-svn/trunk/gcc/expr.h:500 #11 0x10407a20 in output_function_exception_table () at /cvs/gcc-svn/trunk/gcc/except.c:3787 #12 0x40000282 in ?? () #13 0x104463b0 in rest_of_handle_final () at /cvs/gcc-svn/trunk/gcc/final.c:3929 #14 0x107e13b0 in execute_one_pass (pass=0x10c8253c) at /cvs/gcc-svn/trunk/gcc/passes.c:864 #15 0x107e15b8 in execute_pass_list (pass=0x10c8253c) at /cvs/gcc-svn/trunk/gcc/passes.c:911 #16 0x107e15d0 in execute_pass_list (pass=0x10c830c8) at /cvs/gcc-svn/trunk/gcc/passes.c:912 #17 0x107e15d0 in execute_pass_list (pass=0x10c83094) at /cvs/gcc-svn/trunk/gcc/passes.c:912 #18 0x102da6dc in tree_rest_of_compilation (fndecl=0xf7f04b00) at /cvs/gcc-svn/trunk/gcc/tree-optimize.c:418 #19 0x1001d8a4 in gnat_expand_body (gnu_decl=0x10b397b0) at /cvs/gcc-svn/trunk/gcc/ada/misc.c:653 #20 0x10855298 in cgraph_expand_function (node=0xf7f52300) at /cvs/gcc-svn/trunk/gcc/cgraphunit.c:1106 #21 0x1085868c in cgraph_optimize () at /cvs/gcc-svn/trunk/gcc/cgraphunit.c:1171 #22 0x1001e59c in gnat_parse_file (set_yydebug=<value optimized out>) at /cvs/gcc-svn/trunk/gcc/ada/misc.c:245 #23 0x1079f694 in toplev_main (argc=<value optimized out>, argv=<value optimized out>) at /cvs/gcc-svn/trunk/gcc/toplev.c:999 #24 0x102d0690 in main (argc=280205232, argv=0x6f8) at /cvs/gcc-svn/trunk/gcc/main.c:35 (gdb) up #1 0x103fa248 in change_address_1 (memref=0xf7970700, mode=BLKmode, addr=0xf7a9ff20, validate=<value optimized out>) at /cvs/gcc-svn/trunk/gcc/emit-rtl.c:1784 1784 gcc_assert (memory_address_p (mode, addr)); (gdb) p mode $1 = BLKmode (gdb) p addr $2 = (rtx) 0xf7a9ff20 (gdb) pt <error_mark 0xf7a9ff20> This is with yesterday's GCC, I'll try current one now. Any ideas? Andreas -- Andreas Jaeger, [EMAIL PROTECTED], http://www.suse.de/~aj/ SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
pgp1EGTt1Ap6t.pgp
Description: PGP signature