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] Bootstrap broken on IA64


Folks,

One of the patches in the attached .diff broke bootstraps on IA64.  The
symptoms are:


stage1/xgcc -Bstage1/ -B/home/dnovillo/perf/sbox/tree-ssa-branch/local/inst.tomboyish/ia64-unknown-linux-gnu/bin/ -c   -g -O2  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Werror-DHAVE_CONFIG_H    -I. -I. -I/home/dnovillo/perf/sbox/tree-ssa-branch/local/src/gcc -I/home/dnovillo/perf/sbox/tree-ssa-branch/local/src/gcc/. -I/home/dnovillo/perf/sbox/tree-ssa-branch/local/src/gcc/config -I/home/dnovillo/perf/sbox/tree-ssa-branch/local/src/gcc/../include -I/home/dnovillo/perf/sbox/tree-ssa-branch/local/src/gcc/../libbanshee/libcompat -I/home/dnovillo/perf/sbox/tree-ssa-branch/local/src/gcc/../libbanshee -I/home/dnovillo/perf/sbox/tree-ssa-branch/local/src/gcc/../libbanshee/points-to /home/dnovillo/perf/sbox/tree-ssa-branch/local/src/gcc/cppexp.c -o cppexp.o
/home/dnovillo/perf/sbox/tree-ssa-branch/local/src/gcc/cppexp.c: In function `cpp_interpret_integer':
/home/dnovillo/perf/sbox/tree-ssa-branch/local/src/gcc/cppexp.c:403: internal compiler error: in expand_expr, at expr.c:6901
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


I *believe* that it may be Jeff's patch to remove unused _DECLs, but I'm
not sure yet.  I still haven't started the binary search.  Any of you
recognize this?

(gdb) run
Starting program: /notnfs/dnovillo/BLD-tree-ssa-native.tomboyish.ia64/gcc/stage1/cc1 -fpreprocessed cppexp.i -quiet -dumpbase cppexp.c -auxbase-strip cppexp.o -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Werror -version -fno-common -o cppexp.s
During symbol reading...non-constant array bounds form 'DW_FORM_data8' ignored...
GNU C version 3.5-tree-ssa 20030627 (merged 20030525) (ia64-unknown-linux-gnu)
        compiled by GNU C version 2.96 20000731 (Red Hat Linux 7.2 2.96-112.7.2).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072

Breakpoint 1, fancy_abort (
    file=0x40000000015350f8 "/home/dnovillo/tree-ssa/src.ia64/gcc/expr.c",
    line=6901, function=0x40000000015355a0 "expand_expr")
    at /home/dnovillo/tree-ssa/src.ia64/gcc/diagnostic.c:1468
1468      internal_error ("in %s, at %s:%d", function, trim_filename (file), line);
(gdb) up
During symbol reading, non-constant array bounds form 'DW_FORM_data8' ignored.
During symbol reading, non-constant array bounds form 'DW_FORM_data8' ignored.
#1  0x4000000000862f80 in expand_expr (exp=0x2000000000a61260, target=0x0,
    tmode=VOIDmode, modifier=EXPAND_WRITE)
    at /home/dnovillo/tree-ssa/src.ia64/gcc/expr.c:6901
6901                abort ();
(gdb) list 6901
6896              /* Get the signedness used for this variable.  Ensure we get the
6897                 same mode we got when the variable was declared.  */
6898              if (GET_MODE (DECL_RTL (exp))
6899                  != promote_mode (type, DECL_MODE (exp), &unsignedp,
6900                                   (TREE_CODE (exp) == RESULT_DECL ? 1 : 0)))
6901                abort ();
6902
6903              temp = gen_lowpart_SUBREG (mode, DECL_RTL (exp));
6904              SUBREG_PROMOTED_VAR_P (temp) = 1;
6905              SUBREG_PROMOTED_UNSIGNED_SET (temp, unsignedp);
(gdb) ptu exp
struct cpp_num
(gdb) p exp
$1 = (union tree_node *) 0x2000000000a61260
(gdb) pt
 <result_decl 0x2000000000a61260
    type <record_type 0x20000000008633a0 cpp_num asm_written BLK
        size <integer_cst 0x2000000000410b00 constant 192>
        unit size <integer_cst 0x2000000000411040 constant 24>
        align 64 symtab 8720128 alias set -1
        fields <field_decl 0x2000000000863480 high type <integer_type 0x2000000000863020 cpp_num_part>
            unsigned DI file /home/dnovillo/tree-ssa/src.ia64/gcc/cpplib.h line 585
            size <integer_cst 0x200000000032ce80 constant 64>
            unit size <integer_cst 0x200000000032d040 constant 8>
            align 64 offset_align 128
            offset <integer_cst 0x200000000032df40 constant 0>
            bit offset <integer_cst 0x200000000032e140 constant 0> context <record_type 0x2000000000863100 cpp_num> arguments <integer_cst 0x200000000032df40 0> chain <field_decl 0x2000000000863560 low>
            /home/dnovillo/tree-ssa/src.ia64/gcc/cpplib.h:585>>
    used regdecl BLK file /home/dnovillo/tree-ssa/src.ia64/gcc/cppexp.c line 321 size <integer_cst 0x2000000000410b00 192> unit size <integer_cst 0x2000000000411040 24>
    align 64 context <function_decl 0x2000000000863f00 cpp_interpret_integer>
    (reg:OI 340 [ <result> ])
    /home/dnovillo/tree-ssa/src.ia64/gcc/cppexp.c:321>
(gdb)


Thanks.  Diego.

Attachment: gcc-20030627.diff.gz
Description: GNU Zip compressed data


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