gcc/. -I/tmp/debug/gcc/gcc/../include -I./../intl
-I/tmp/debug/gcc/gcc/../libcpp/include -I/house/coudert/local/td191/include 
-I/tmp/debug/gcc/gcc/../libdecnumber -I../libdecnumber   
/tmp/debug/gcc/gcc/tree-cfg.c -o tree-cfg.o
/tmp/debug/gcc/gcc/tree-cfg.c: In function 'tree_duplicate_sese_region':
/tmp/debug/gcc/gcc/tree-cfg.c:4430: internal compiler error: in ?, at
dojump.c:945
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [tree-cfg.o] Error 1
make[2]: Leaving directory `/tmp/debug/ibin/gcc'
make[1]: *** [all-stage2-gcc] Error 2
make[1]: Leaving directory `/tmp/debug/ibin'
make: *** [stage2-bubble] Error 2
*** Error exit code 2


Line 945 in dojump.c is the default case of the following switch:

  if (GET_MODE_CLASS (mode) == MODE_INT
      && ! can_compare_p (code, mode, ccp_jump))
    {
      switch (code)
        {

which is a gcc_unreachable(). The gdb backtrace is:

Breakpoint 1, fancy_abort (file=0xb78770 "/tmp/debug/gcc/gcc/dojump.c", 
    line=945, function=0xb78790 "?") at /tmp/debug/gcc/gcc/diagnostic.c:642
642       internal_error ("in %s, at %s:%d", function, trim_filename (file),
line);
(gdb) where
#0  fancy_abort (file=0xb78770 "/tmp/debug/gcc/gcc/dojump.c", line=945, 
    function=0xb78790 "?") at /tmp/debug/gcc/gcc/diagnostic.c:642
#1  0x29030c in do_compare_rtx_and_jump (op0=0x7ac69930, op1=0x7ac699b0, 
    code=LE, unsignedp=0, mode=DImode, size=0x0, if_false_label=0x0, 
    if_true_label=0x7a85cf50) at /tmp/debug/gcc/gcc/dojump.c:945
#2  0x2f4ec4 in expand_expr_real_1 (exp=0x7aa9e578, target=0x7ac69930, 
    tmode=DImode, modifier=EXPAND_NORMAL, alt_rtl=0x7f7f1294)
    at /tmp/debug/gcc/gcc/expr.c:8187
#3  0x2ef4a8 in expand_expr_real (exp=0x7aa9e578, target=0x7ac69930, 
    tmode=DImode, modifier=EXPAND_NORMAL, alt_rtl=0x7f7f1294)
    at /tmp/debug/gcc/gcc/expr.c:6550
#4  0x2e907c in store_expr (exp=0x7aa9e578, target=0x7ac69930, call_param_p=0)
    at /tmp/debug/gcc/gcc/expr.c:4263
#5  0x2e8a7c in expand_assignment (to=0x7a84f3c8, from=0x7aa9e578)
    at /tmp/debug/gcc/gcc/expr.c:4142
#6  0x2f59a8 in expand_expr_real_1 (exp=0x7aa9e5a0, target=0x0, 
    tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0)
    at /tmp/debug/gcc/gcc/expr.c:8443
#7  0x2ef4a8 in expand_expr_real (exp=0x7aa9e5a0, target=0x7add8210, 
    tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0)
    at /tmp/debug/gcc/gcc/expr.c:6550
#8  0x3b1c98 in expand_expr (exp=0x7aa9e5a0, target=0x7add8210, mode=VOIDmode, 
    modifier=EXPAND_NORMAL) at /tmp/debug/gcc/gcc/expr.h:494
#9  0x3b810c in expand_expr_stmt (exp=0x7aa9e5a0)
    at /tmp/debug/gcc/gcc/stmt.c:1356
#10 0x918b88 in expand_gimple_basic_block (bb=0x7a31dcd0)
    at /tmp/debug/gcc/gcc/cfgexpand.c:1365
#11 0x919ab8 in tree_expand_cfg () at /tmp/debug/gcc/gcc/cfgexpand.c:1624
#12 0x43b0c8 in execute_one_pass (pass=0x4001e4e8)
    at /tmp/debug/gcc/gcc/passes.c:853
#13 0x43b258 in execute_pass_list (pass=0x4001e4e8)
    at /tmp/debug/gcc/gcc/passes.c:897
#14 0x14dd90 in tree_rest_of_compilation (fndecl=0x7ac27780)
    at /tmp/debug/gcc/gcc/tree-optimize.c:412
#15 0x5936c in c_expand_body (fndecl=0x7ac27780)
    at /tmp/debug/gcc/gcc/c-decl.c:6689
#16 0x4a3c90 in cgraph_expand_function (node=0x7a608500)
    at /tmp/debug/gcc/gcc/cgraphunit.c:1101
#17 0x4a3efc in cgraph_expand_all_functions ()
    at /tmp/debug/gcc/gcc/cgraphunit.c:1166
#18 0x4a4ae8 in cgraph_optimize () at /tmp/debug/gcc/gcc/cgraphunit.c:1434
#19 0x5cc88 in c_write_global_declarations ()
    at /tmp/debug/gcc/gcc/c-decl.c:7804
#20 0x3d5140 in compile_file () at /tmp/debug/gcc/gcc/toplev.c:1012
#21 0x3d7190 in do_compile () at /tmp/debug/gcc/gcc/toplev.c:1944
#22 0x3d7238 in toplev_main (argc=27, argv=0x7f7f0844)
    at /tmp/debug/gcc/gcc/toplev.c:1976
#23 0x10b498 in main (argc=27, argv=0x7f7f0844) at /tmp/debug/gcc/gcc/main.c:35


-- 
           Summary: build failure (ICE in stage 2) on hppa2.0w-hp-hpux11.23
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: fxcoudert at gcc dot gnu dot org
 GCC build triplet: hppa2.0w-hp-hpux11.23
  GCC host triplet: hppa2.0w-hp-hpux11.23
GCC target triplet: hppa2.0w-hp-hpux11.23


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26280

Reply via email to