This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/29908] [4.2/4.3 Regression] ICE in set_lattice_value, at tree-ssa-ccp.c:434
- From: "tbm at cyrius dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Nov 2006 11:25:13 -0000
- Subject: [Bug tree-optimization/29908] [4.2/4.3 Regression] ICE in set_lattice_value, at tree-ssa-ccp.c:434
- References: <bug-29908-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from tbm at cyrius dot com 2006-11-20 11:25 -------
Note that this ICE is quite volatile. When I remove the comments from the
preprocessed file, I get a segfault instead:
Program received signal SIGSEGV, Segmentation fault.
execute_ssa_ccp (store_ccp=<value optimized out>) at
/home/tbm/scratch/gcc-4.2/gcc/tree-ssa-ccp.c:561
561 get_value (def, false)->lattice_val = VARYING;
(gdb) where
#0 execute_ssa_ccp (store_ccp=<value optimized out>)
at /home/tbm/scratch/gcc-4.2/gcc/tree-ssa-ccp.c:561
#1 0x00000000004e83eb in do_ssa_ccp () at
/home/tbm/scratch/gcc-4.2/gcc/tree-ssa-ccp.c:1399
#2 0x0000000000782118 in execute_one_pass (pass=0xb1ce40)
at /home/tbm/scratch/gcc-4.2/gcc/passes.c:870
#3 0x000000000078226c in execute_pass_list (pass=0xb1ce40)
at /home/tbm/scratch/gcc-4.2/gcc/passes.c:917
#4 0x000000000078227e in execute_pass_list (pass=0xb1cae0)
at /home/tbm/scratch/gcc-4.2/gcc/passes.c:918
#5 0x00000000004cfc5e in tree_rest_of_compilation (fndecl=0x2ba0e0bfc0e0)
at /home/tbm/scratch/gcc-4.2/gcc/tree-optimize.c:463
#6 0x0000000000472aa9 in expand_body (fn=0x2ba0e0bfc0e0)
at /home/tbm/scratch/gcc-4.2/gcc/cp/semantics.c:3068
#7 0x00000000007c4004 in cgraph_expand_function (node=0x2ba0e0db9d80)
at /home/tbm/scratch/gcc-4.2/gcc/cgraphunit.c:1241
#8 0x00000000007c4935 in cgraph_optimize () at
/home/tbm/scratch/gcc-4.2/gcc/cgraphunit.c:1306
#9 0x0000000000440c0f in cp_finish_file () at
/home/tbm/scratch/gcc-4.2/gcc/cp/decl2.c:3352
#10 0x00000000004b536a in c_common_parse_file (set_yydebug=<value optimized
out>)
at /home/tbm/scratch/gcc-4.2/gcc/c-opts.c:1176
#11 0x00000000007644d3 in toplev_main (argc=<value optimized out>, argv=<value
optimized out>)
at /home/tbm/scratch/gcc-4.2/gcc/toplev.c:1033
#12 0x00002ba0dc7824ca in __libc_start_main () from /lib/libc.so.6
#13 0x000000000040273a in _start () at ../sysdeps/x86_64/elf/start.S:113
(gdb)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29908