This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[tree-ssa] New bootstrap error on ia64 (stmt_ann)


(SHLIB_LINK=' ./xgcc -B./ -B/usr/local/ia64-suse-linux/bin/ -isystem /usr/local/ia64-suse-linux/include -isystem /usr/local/ia64-suse-linux/sys-include -L/tmp/cvs/gcc-20031117/Build/gcc/../ld -O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wno-error -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -shared -nodefaultlibs -Wl,--soname=@shlib_so_name@.so.1 -Wl,--version-script=@shlib_map_file@ -o @shlib_dir@@shlib_so_name@.so.1 @multilib_flags@ @shlib_objs@ -lc && rm -f @shlib_base_name@.so && ln -s @shlib_dir@@shlib_so_name@.so.1 @shlib_base_name@.so' \
SHLIB_MULTILIB=''; \
stage1/xgcc -Bstage1/ -B/usr/local/ia64-suse-linux/bin/   -g -O2  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition -Werror -fno-common -Wno-error  -DHAVE_CONFIG_H    -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I../../gcc/../libbanshee/libcompat -I../../gcc/../libbanshee -I../../gcc/../libbanshee/points-to  \
  -DSTANDARD_STARTFILE_PREFIX=\"../../../\" -DSTANDARD_EXEC_PREFIX=\"/usr/local/lib/gcc/\" -DSTANDARD_LIBEXEC_PREFIX=\"/usr/local/libexec/gcc/\" -DDEFAULT_TARGET_VERSION=\"3.5-tree-ssa\" -DDEFAULT_TARGET_MACHINE=\"ia64-suse-linux\" -DSTANDARD_BINDIR_PREFIX=\"/usr/local/bin/\" -DTOOLDIR_BASE_PREFIX=\"../../../../\"  `test "X${SHLIB_LINK}" = "X" || test "yes" != "yes" || echo "-DENABLE_SHARED_LIBGCC"` `test "X${SHLIB_MULTILIB}" = "X" || echo "-DNO_SHARED_LIBGCC_MULTILIB"` \
  -c ../../gcc/gcc.c -o gcc.o)
../../gcc/gcc.c:923: warning: string length `529' is greater than the length `509' ISO C89 compilers are required to support
../../gcc/gcc.c:941: warning: string length `608' is greater than the length `509' ISO C89 compilers are required to support
In file included from ./specs.h:4,
                 from ../../gcc/gcc.c:974:
../../gcc/objc/lang-specs.h:27: warning: string length `603' is greater than the length `509' ISO C89 compilers are required to support
../../gcc/objc/lang-specs.h:42: warning: string length `783' is greater than the length `509' ISO C89 compilers are required to support
../../gcc/gcc.c: In function `init_spec':

../../gcc/gcc.c:1576: internal compiler error: in stmt_ann, at tree-flow-inline.h:54
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

$ gdb --args stage1/cc1 -quiet -v -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I../../gcc/../libbanshee/libcompat -I../../gcc/../libbanshee -I../../gcc/../libbanshee/points-to -iprefix /tmp/cvs/gcc-20031117/Build/gcc/stage1/../lib/gcc/ia64-suse-linux/3.5-tree-ssa/ -isystem include -isystem stage1/include -isystem /usr/local/ia64-suse-linux/bin/include -DIN_GCC -DHAVE_CONFIG_H -DSTANDARD_STARTFILE_PREFIX=\"../../../\" -DSTANDARD_EXEC_PREFIX=\"/usr/local/lib/gcc/\" -DSTANDARD_LIBEXEC_PREFIX=\"/usr/local/libexec/gcc/\" -DDEFAULT_TARGET_VERSION=\"3.5-tree-ssa\" -DDEFAULT_TARGET_MACHINE=\"ia64-suse-linux\" -DSTANDARD_BINDIR_PREFIX=\"/usr/local/bin/\" -DTOOLDIR_BASE_PREFIX=\"../../../../\" -DENABLE_SHARED_LIBGCC ../../gcc/gcc.c -quiet -dumpbase gcc.c -auxbase-strip gcc.o -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition -Werror -Wno-error -version -fno-common -o /tmp/ccQFL3lH.s
GNU gdb 6.0
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "ia64-suse-linux"...
Breakpoint 1 at 0x4000000000552f92: file ../../gcc/diagnostic.c, line 584.
.gdbinit:7: Error in sourced command file:
../../gcc/gdbinit.in:128: Error in sourced command file:
Function "exit" not defined.
(gdb) r
Starting program: /tmp/cvs/gcc-20031117/Build/gcc/stage1/cc1 -quiet -v -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I../../gcc/../libbanshee/libcompat -I../../gcc/../libbanshee -I../../gcc/../libbanshee/points-to -iprefix /tmp/cvs/gcc-20031117/Build/gcc/stage1/../lib/gcc/ia64-suse-linux/3.5-tree-ssa/ -isystem include -isystem stage1/include -isystem /usr/local/ia64-suse-linux/bin/include -DIN_GCC -DHAVE_CONFIG_H -DSTANDARD_STARTFILE_PREFIX=\"../../../\" -DSTANDARD_EXEC_PREFIX=\"/usr/local/lib/gcc/\" -DSTANDARD_LIBEXEC_PREFIX=\"/usr/local/libexec/gcc/\" -DDEFAULT_TARGET_VERSION=\"3.5-tree-ssa\" -DDEFAULT_TARGET_MACHINE=\"ia64-suse-linux\" -DSTANDARD_BINDIR_PREFIX=\"/usr/local/bin/\" -DTOOLDIR_BASE_PREFIX=\"../../../../\" -DENABLE_SHARED_LIBGCC ../../gcc/gcc.c -quiet -dumpbase gcc.c -auxbase-strip gcc.o -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition -Werror -Wno-error -version -fno-common -o 
 /tmp/ccQFL3lH.s
ignoring nonexistent directory "stage1/include"
ignoring nonexistent directory "/usr/local/ia64-suse-linux/bin/include"
ignoring nonexistent directory "/tmp/cvs/gcc-20031117/Build/gcc/stage1/../lib/gcc/ia64-suse-linux/3.5-tree-ssa/include"
ignoring nonexistent directory "/tmp/cvs/gcc-20031117/Build/gcc/stage1/../lib/gcc/ia64-suse-linux/3.5-tree-ssa/../../../../ia64-suse-linux/include"
ignoring nonexistent directory "NONE/include"
ignoring nonexistent directory "/usr/local/lib/gcc/ia64-suse-linux/3.5-tree-ssa/include"
ignoring nonexistent directory "/usr/local/lib/../ia64-suse-linux/include"
ignoring duplicate directory "."
ignoring duplicate directory "../../gcc/."
#include "..." search starts here:
#include <...> search starts here:
 .
 ../../gcc
 ../../gcc/../include
 ../../gcc/../libbanshee/libcompat
 ../../gcc/../libbanshee
 ../../gcc/../libbanshee/points-to
 include
 /usr/local/include
 /usr/include
End of search list.
GNU C version 3.5-tree-ssa 20031117 (merged 20031111) (ia64-suse-linux)
        compiled by GNU C version 3.3.2 (SuSE Linux).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
../../gcc/gcc.c:923: warning: string length `529' is greater than the length `509' ISO C89 compilers are required to support
../../gcc/gcc.c:941: warning: string length `608' is greater than the length `509' ISO C89 compilers are required to support
In file included from ./specs.h:4,
                 from ../../gcc/gcc.c:974:
../../gcc/objc/lang-specs.h:27: warning: string length `603' is greater than the length `509' ISO C89 compilers are required to support
../../gcc/objc/lang-specs.h:42: warning: string length `783' is greater than the length `509' ISO C89 compilers are required to support

Breakpoint 1, fancy_abort (
    file=0x40000000010217e0 "../../gcc/tree-flow-inline.h", line=54, 
    function=0x4000000001021808 "stmt_ann") at ../../gcc/diagnostic.c:584
584       internal_error ("in %s, at %s:%d", function, trim_filename (file), line);
(gdb) bt
#0  fancy_abort (file=0x40000000010217e0 "../../gcc/tree-flow-inline.h", 
    line=54, function=0x4000000001021808 "stmt_ann")
    at ../../gcc/diagnostic.c:584
#1  0x40000000003f6460 in stmt_ann (t=0x2000000000537140)
    at tree-flow-inline.h:54
#2  0x40000000003ecab0 in optimize_stmt (si=
      {tsi = {ptr = 0x20000000008bcdc0, container = 0x20000000008508d0}, bb = 0x6000000000209d28}, block_avail_exprs_p=0x2000000000d127c0)
    at ../../gcc/tree-ssa-dom.c:2098
#3  0x40000000003d9c70 in dom_opt_walk_stmts (walk_data=0x60000fffffffa3f0, 
    bb=0x6000000000209d28, parent_block_last_stmt=0x20000000008b2170)
    at ../../gcc/tree-ssa-dom.c:971
#4  0x40000000003f8080 in walk_dominator_tree (walk_data=0x60000fffffffa3f0, 
    bb=0x6000000000209d28, last=0x20000000008b2170) at ../../gcc/domwalk.c:71
#5  0x40000000003f8720 in walk_dominator_tree (walk_data=0x60000fffffffa3f0, 
    bb=0x6000000000209e78, last=0x20000000008b1bd0) at ../../gcc/domwalk.c:91
#6  0x40000000003f8720 in walk_dominator_tree (walk_data=0x60000fffffffa3f0, 
    bb=0x6000000000209fc8, last=0x20000000008b1810) at ../../gcc/domwalk.c:91
#7  0x40000000003f8720 in walk_dominator_tree (walk_data=0x60000fffffffa3f0, 
    bb=0x600000000020a118, last=0x20000000008b14f0) at ../../gcc/domwalk.c:91
#8  0x40000000003f8720 in walk_dominator_tree (walk_data=0x60000fffffffa3f0, 
    bb=0x600000000020a268, last=0x20000000008b07d0) at ../../gcc/domwalk.c:91
#9  0x40000000003f8720 in walk_dominator_tree (walk_data=0x60000fffffffa3f0, 
    bb=0x600000000020a310, last=0x20000000008b8480) at ../../gcc/domwalk.c:91
#10 0x40000000003f8720 in walk_dominator_tree (walk_data=0x60000fffffffa3f0, 
    bb=0x600000000020aaf0, last=0x20000000008b0500) at ../../gcc/domwalk.c:91
#11 0x40000000003f8720 in walk_dominator_tree (walk_data=0x60000fffffffa3f0, 
    bb=0x600000000020ab98, last=0x20000000008afd80) at ../../gcc/domwalk.c:91
#12 0x40000000003f8720 in walk_dominator_tree (walk_data=0x60000fffffffa3f0, 
    bb=0x600000000020ace8, last=0x20000000008b00a0) at ../../gcc/domwalk.c:91
#13 0x40000000003f8720 in walk_dominator_tree (walk_data=0x60000fffffffa3f0, 
    bb=0x600000000020ad90, last=0x20000000008afc00) at ../../gcc/domwalk.c:91
#14 0x40000000003f8720 in walk_dominator_tree (walk_data=0x60000fffffffa3f0, 
    bb=0x600000000020aee0, last=0x20000000008a7f20) at ../../gcc/domwalk.c:91
#15 0x40000000003f8720 in walk_dominator_tree (walk_data=0x60000fffffffa3f0, 
    bb=0x600000000020b030, last=0x20000000008a7e80) at ../../gcc/domwalk.c:91
#16 0x40000000003f8720 in walk_dominator_tree (walk_data=0x60000fffffffa3f0, 
    bb=0x600000000020b180, last=0x0) at ../../gcc/domwalk.c:91
#17 0x40000000003f8720 in walk_dominator_tree (walk_data=0x60000fffffffa3f0, 
    bb=0x6000000000002418, last=0x0) at ../../gcc/domwalk.c:91
#18 0x40000000003d36e0 in tree_ssa_dominator_optimize_1 (
    fndecl=0x2000000000632680, phase=TDI_dom_1, 
    timevar=TV_TREE_SSA_DOMINATOR_OPTS) at ../../gcc/tree-ssa-dom.c:388
#19 0x40000000003d30d0 in tree_ssa_dominator_optimize (
    fndecl=0x2000000000632680, vars=0x6000000000211c70, phase=TDI_dom_1)
    at ../../gcc/tree-ssa-dom.c:296
#20 0x40000000002e2f40 in optimize_function_tree (fndecl=0x2000000000632680, 
    chain=0x60000fffffffa4f8) at ../../gcc/tree-optimize.c:110
#21 0x40000000002e4a20 in tree_rest_of_compilation (fndecl=0x2000000000632680, 
    nested_p=false) at ../../gcc/tree-optimize.c:316
#22 0x400000000007a290 in c_expand_body_1 (fndecl=0x2000000000632680, 
    nested_p=0) at ../../gcc/c-decl.c:6202
#23 0x400000000007a970 in c_expand_body (fndecl=0x2000000000632680)
    at ../../gcc/c-decl.c:6232
#24 0x4000000000da0c10 in cgraph_expand_function (node=0x20000000008c7400)
    at ../../gcc/cgraphunit.c:496
#25 0x4000000000da8240 in cgraph_expand_all_functions ()
    at ../../gcc/cgraphunit.c:1316
#26 0x4000000000da8990 in cgraph_optimize () at ../../gcc/cgraphunit.c:1380
#27 0x40000000001b6730 in c_objc_common_finish_file ()
    at ../../gcc/c-objc-common.c:243
#28 0x4000000000022ce0 in finish_file () at ../../gcc/c-lang.c:196
#29 0x4000000000185140 in c_common_parse_file (set_yydebug=0)
    at ../../gcc/c-opts.c:1228
#30 0x4000000000c52590 in compile_file () at ../../gcc/toplev.c:1880
#31 0x4000000000c62ff0 in do_compile () at ../../gcc/toplev.c:4751
#32 0x4000000000c631f0 in toplev_main (argc=51, argv=0x60000fffffffa638)
    at ../../gcc/toplev.c:4791
#33 0x4000000000255b00 in main (argc=51, argv=0x60000fffffffa638)
    at ../../gcc/main.c:35
(gdb) up
#1  0x40000000003f6460 in stmt_ann (t=0x2000000000537140)
    at tree-flow-inline.h:54
54          abort ();
(gdb) l
49      static inline stmt_ann_t
50      stmt_ann (tree t)
51      {
52      #if defined ENABLE_CHECKING
53        if (!is_gimple_stmt (t) && !is_essa_node (t))
54          abort ();
55      #endif
56
57        return (stmt_ann_t) t->common.ann;
58      }
(gdb) p t
$1 = 0x2000000000537140
(gdb) pt
 <nop_expr 0x2000000000537140
    type <pointer_type 0x200000000032f480
        type <void_type 0x200000000032f3a0 void asm_written VOID
            align 8 symtab 0 alias set -1
            pointer_to_this <pointer_type 0x200000000032f480>>
        unsigned asm_written DI
        size <integer_cst 0x2000000000325560 constant invariant 64>
        unit size <integer_cst 0x2000000000325620 constant invariant 8>
        align 64 symtab 5276608 alias set 96
        pointer_to_this <pointer_type 0x200000000050da40>>
   
    arg 0 <ssa_name 0x2000000000648f00
        type <pointer_type 0x20000000003538e0 type <integer_type 0x200000000032c700 char>
            unsigned asm_written DI size <integer_cst 0x2000000000325560 64> unit size <integer_cst 0x2000000000325620 8>
            align 64 symtab 3318448 alias set 5
            pointer_to_this <pointer_type 0x2000000000550620>>
       >>

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]