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 target/61330] New: Thumb ICE for case 920507-1.c


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61330

            Bug ID: 61330
           Summary: Thumb ICE for case 920507-1.c
           Product: gcc
           Version: 4.10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tony.wang at arm dot com

I'm running regression test for the latest GCC trunk for cortex-m0, I run into
below ICE, but after I remove the commit at trunk@210901, the test case will
pass.

How to reproduce:
Executing on host: /work/terguo01/trunk-t1/build-native/gcc-final/gcc/xgcc
-B/work/terguo01/trunk-t1/build-native/gcc-final/gcc/
/work/terguo01/trunk-t1/src/gcc/gcc/testsuite/gcc.dg/noncompile/920507-1.c 
-fno-diagnostics-show-caret -fdiagnostics-color=never   -O1  -ffat-lto-objects
-S    -mthumb -mcpu=cortex-m0 -o 920507-1.s    (timeout = 300)
spawn /work/terguo01/trunk-t1/build-native/gcc-final/gcc/xgcc
-B/work/terguo01/trunk-t1/build-native/gcc-final/gcc/
/work/terguo01/trunk-t1/src/gcc/gcc/testsuite/gcc.dg/noncompile/920507-1.c
-fno-diagnostics-show-caret -fdiagnostics-color=never -O1 -ffat-lto-objects -S
-mthumb -mcpu=cortex-m0 -o 920507-1.s^M
/work/terguo01/trunk-t1/src/gcc/gcc/testsuite/gcc.dg/noncompile/920507-1.c: In
function 'x':^M
/work/terguo01/trunk-t1/src/gcc/gcc/testsuite/gcc.dg/noncompile/920507-1.c:5:16:
error: invalid register name for 'a'^M
/work/terguo01/trunk-t1/src/gcc/gcc/testsuite/gcc.dg/noncompile/920507-1.c:3:1:
internal compiler error: in symtab_get_node, at cgraph.h:1021^M
0xc1920c symtab_get_node^M
        /work/terguo01/trunk-t1/src/gcc/gcc/cgraph.h:1018^M
0xc1920c symtab_get_node^M
        /work/terguo01/trunk-t1/src/gcc/gcc/varasm.c:1134^M
0xc1920c decl_comdat_group^M
        /work/terguo01/trunk-t1/src/gcc/gcc/cgraph.h:1629^M
0xc1920c get_block_for_decl^M
        /work/terguo01/trunk-t1/src/gcc/gcc/varasm.c:1146^M
0xc1cadf make_decl_rtl(tree_node*)^M
        /work/terguo01/trunk-t1/src/gcc/gcc/varasm.c:1376^M
0x8d6b4f rest_of_decl_compilation(tree_node*, int, int)^M
        /work/terguo01/trunk-t1/src/gcc/gcc/passes.c:215^M
0x6206a3 expand_one_hard_reg_var^M
        /work/terguo01/trunk-t1/src/gcc/gcc/cfgexpand.c:1108^M
0x6206a3 expand_one_var^M
        /work/terguo01/trunk-t1/src/gcc/gcc/cfgexpand.c:1295^M
0x620e0b expand_used_vars_for_block^M
        /work/terguo01/trunk-t1/src/gcc/gcc/cfgexpand.c:1338^M
0x62c1e6 expand_used_vars^M


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