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 c/38694] New: gcc.c-torture/compile/pr11832.c ICE on arm-linux-gnueabi on 4.3.2 and trunk


On 4.3.2-1 debian gnueabi:

guerby@gcc50:~$ gcc
/home/guerby/trunk/gcc/testsuite/gcc.c-torture/compile/pr11832.c   -O0 
-frtl-abstract-sequences
/home/guerby/trunk/gcc/testsuite/gcc.c-torture/compile/pr11832.c: In function
?foo?:
/home/guerby/trunk/gcc/testsuite/gcc.c-torture/compile/pr11832.c:35: error:
unrecognizable insn:
(jump_insn 222 0 0 (jump_insn 221 0 0 (set (pc)
            (reg:SI 0 r0)) -1 (nil)) -1 (nil))


With trunk rev 142984

/home/guerby/trunk/gcc/testsuite/gcc.c-torture/compile/pr11832.c: In function
'foo':
/home/guerby/trunk/gcc/testsuite/gcc.c-torture/compile/pr11832.c:35: error:
unrecognizable insn:
(jump_insn
217/home/guerby/trunk/gcc/testsuite/gcc.c-torture/compile/pr11832.c:35:
internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


(gdb) bt
#0  _fatal_insn_not_found (insn=0x40245960, file=0x7ba0b0
"../../trunk/gcc/config/arm/arm.md", line=158, function=0x7b9ff4
"insn_default_length") at ../../trunk/gcc/rtl-error.c:118
#1  0x005262bc in insn_default_length (insn=0x40245960) at
../../trunk/gcc/config/arm/arm.md:158
#2  0x00182f4c in get_attr_length (insn=0x40245960) at
../../trunk/gcc/final.c:415
#3  0x002bfd78 in compute_rtx_cost (insn=0x40245960) at
../../trunk/gcc/rtl-factoring.c:343
#4  0x002c05d8 in rest_of_rtl_seqabstr () at
../../trunk/gcc/rtl-factoring.c:1382
#5  0x0026ebc8 in execute_one_pass (pass=0x91ac54) at
../../trunk/gcc/passes.c:1279
#6  0x0026ee34 in execute_pass_list (pass=0x91ac54) at
../../trunk/gcc/passes.c:1328
#7  0x0026ee4c in execute_pass_list (pass=0x91a3c4) at
../../trunk/gcc/passes.c:1329
#8  0x0026ee4c in execute_pass_list (pass=0x91a390) at
../../trunk/gcc/passes.c:1329
#9  0x003726f4 in tree_rest_of_compilation (fndecl=0x40232700) at
../../trunk/gcc/tree-optimize.c:419
#10 0x004e92d4 in cgraph_expand_function (node=0x401b0900) at
../../trunk/gcc/cgraphunit.c:1047
#11 0x004e9550 in cgraph_output_in_order () at
../../trunk/gcc/cgraphunit.c:1195
#12 0x004eb3a4 in cgraph_optimize () at ../../trunk/gcc/cgraphunit.c:1306
#13 0x0001cabc in c_write_global_declarations () at
../../trunk/gcc/c-decl.c:8074
#14 0x0031e58c in toplev_main (argc=<value optimized out>, argv=<value
optimized out>) at ../../trunk/gcc/toplev.c:981
#15 0x40095dfc in __libc_start_main () from /lib/libc.so.6
#16 0x0000aa7c in _start ()
(gdb)


-- 
           Summary: gcc.c-torture/compile/pr11832.c ICE on arm-linux-gnueabi
                    on 4.3.2 and trunk
           Product: gcc
           Version: 4.3.2
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: laurent at guerby dot net
 GCC build triplet: arm-linux-gnueabi
  GCC host triplet: arm-linux-gnueabi
GCC target triplet: arm-linux-gnueabi


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


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