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 optimization/13859] New: [3.5 Regression] ICE in insert_insn_on_edge


Compile the attached file at -O2 and you will receive a seg fault.
Here is the back trace:
#0  0x080cf5fb in insert_insn_on_edge (pattern=0x405f8d74, e=0x851ef78) at /home/
gates/pinskia/src/gnu/gcc/src/gcc/cfgrtl.c:1388
#1  0x081825e9 in one_cprop_pass (pass=1, cprop_jumps=1, bypass_jumps=1) at /
home/gates/pinskia/src/gnu/gcc/src/gcc/gcse.c:4890
#2  0x08185d78 in bypass_jumps (file=0x0) at /home/gates/pinskia/src/gnu/gcc/src/gcc/
gcse.c:8033
#3  0x082c8aa7 in rest_of_handle_jump_bypass (decl=0x40326e58, insns=
0x404dfc00) at /home/gates/pinskia/src/gnu/gcc/src/gcc/toplev.c:2593
#4  0x082ca154 in rest_of_compilation (decl=0x40326e58) at /home/gates/pinskia/src/
gnu/gcc/src/gcc/toplev.c:3348
#5  0x08317b5b in tree_rest_of_compilation (fndecl=0x40326e58, nested_p=false) at /
home/gates/pinskia/src/gnu/gcc/src/gcc/tree-optimize.c:168
#6  0x08069186 in c_expand_body_1 (fndecl=0x40326e58, nested_p=0) at /home/
gates/pinskia/src/gnu/gcc/src/gcc/c-decl.c:6128
#7  0x0831988a in cgraph_expand_function (node=0x4039b144) at /home/gates/
pinskia/src/gnu/gcc/src/gcc/cgraphunit.c:527
#8  0x0831b3ca in cgraph_optimize () at /home/gates/pinskia/src/gnu/gcc/src/gcc/
cgraphunit.c:1531
#9  0x080a3833 in c_objc_common_finish_file () at /home/gates/pinskia/src/gnu/gcc/src/
gcc/c-objc-common.c:245
#10 0x082cc559 in toplev_main (argc=2947526575, argv=0x84bf441) at /home/gates/
pinskia/src/gnu/gcc/src/gcc/toplev.c:1806
#11 0x080a5d1e in main (argc=-1347440721, argv=0xafafafaf) at /home/gates/pinskia/
src/gnu/gcc/src/gcc/main.c:35

-- 
           Summary: [3.5 Regression] ICE in insert_insn_on_edge
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: critical
          Priority: P1
         Component: optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: i686-pc-linux-gnu


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


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