This is the mail archive of the gcc-bugs@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]

[Bug tree-optimization/15654] [3.5 Regression] ICE in calculate_live_on_entry with -O2 -fno-tree-dominator-opts


------- Additional Comments From belyshev at lubercy dot com  2004-05-25 23:40 -------
Created an attachment (id=6384)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6384&action=view)
small testcase (287 bytes)

(gdb) run
Starting program: /usr/local/src/gcc/head/build/gcc/jc1 Interpreter.java -quiet
-O1 -fno-tree-dominator-opts
wiCodeTop_8 is live-on-entry to BB5  and there is no default def.

Breakpoint 1, fancy_abort (file=0x87048ea "../../gcc/gcc/tree-ssa-live.c",
line=713, 
    function=0x8704ac1 "calculate_live_on_entry") at
../../gcc/gcc/diagnostic.c:589
589	  internal_error ("in %s, at %s:%d", function, trim_filename (file),
line);
(gdb) where
#0  fancy_abort (file=0x87048ea "../../gcc/gcc/tree-ssa-live.c", line=713, 
    function=0x8704ac1 "calculate_live_on_entry") at
../../gcc/gcc/diagnostic.c:589
#1  0x081feec6 in calculate_live_on_entry (map=0x884fbf0) at
../../gcc/gcc/tree-ssa-live.c:713
#2  0x081c9117 in coalesce_ssa_name (map=0x884fbf0, flags=8)
    at ../../gcc/gcc/tree-outof-ssa.c:687
#3  0x081cd6e5 in remove_ssa_form (dump=0x0, map=0x884fbf0, flags=8)
    at ../../gcc/gcc/tree-outof-ssa.c:1931
#4  0x081cdfba in rewrite_vars_out_of_ssa (vars=0x884fcf0)
    at ../../gcc/gcc/tree-outof-ssa.c:2092
#5  0x08246bc1 in duplicate_blocks (bbs_to_duplicate=0x8859f30)
    at ../../gcc/gcc/tree-ssa-loop.c:187
#6  0x082472b2 in copy_loop_headers () at ../../gcc/gcc/tree-ssa-loop.c:333
#7  0x081966eb in execute_one_pass (pass=0x878b060) at
../../gcc/gcc/tree-optimize.c:406
#8  0x081967bc in execute_pass_list (pass=0x878b060) at
../../gcc/gcc/tree-optimize.c:435
#9  0x081967e6 in execute_pass_list (pass=0x878aa20) at
../../gcc/gcc/tree-optimize.c:436
#10 0x08196bfa in tree_rest_of_compilation (fndecl=0x404d10e8, nested_p=false)
    at ../../gcc/gcc/tree-optimize.c:530
#11 0x0810b3e4 in java_expand_body (fndecl=0x404d10e8) at
../../gcc/gcc/java/decl.c:1852
#12 0x0866df22 in cgraph_expand_function (node=0x404d62b8) at
../../gcc/gcc/cgraphunit.c:794
#13 0x0866c9cf in cgraph_assemble_pending_functions () at
../../gcc/gcc/cgraphunit.c:295
#14 0x0866cb96 in cgraph_finalize_function (decl=0x404d10e8, nested=false)
    at ../../gcc/gcc/cgraphunit.c:376
#15 0x0810b3c2 in finish_method (fndecl=0x404d10e8) at
../../gcc/gcc/java/decl.c:1844
#16 0x08085009 in source_end_java_method () at parse.y:7536
#17 0x08089384 in java_expand_method_bodies (class=0x404cecb0) at parse.y:8178
#18 0x0809035e in java_expand_classes () at parse.y:9155
#19 0x081448a6 in java_parse_file (set_yydebug=0) at
../../gcc/gcc/java/jcf-parse.c:1111
#20 0x085d38a6 in compile_file () at ../../gcc/gcc/toplev.c:1653
#21 0x085d584a in do_compile () at ../../gcc/gcc/toplev.c:2699
#22 0x085d58af in toplev_main (argc=5, argv=0xbffff804) at
../../gcc/gcc/toplev.c:2731
#23 0x40039b45 in __libc_start_main (main=0xbffffa8f, argc=-1073743199,
ubp_av=0xbffffaba, 
---Type <return> to continue, or q <return> to quit---
    init=0x86e38f0 <__libc_csu_init>, fini=0x86e3950 <__libc_csu_fini>, 
    rtld_fini=0x4000baa0 <_dl_fini>, stack_end=0xbffffb13)
    at ../sysdeps/generic/libc-start.c:209
#24 0x08049c71 in _start () at ../sysdeps/i386/elf/start.S:102
(gdb) 


-- 


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


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