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/69071] New: [6 Regression] ICE: in decompose, at rtl.h:2107 with -g


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

            Bug ID: 69071
           Summary: [6 Regression] ICE: in decompose, at rtl.h:2107 with
                    -g
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz
  Target Milestone: ---
              Host: x86_64-pc-linux-gnu
            Target: armv7a-hardfloat-linux-gnueabi-gcc

Created attachment 37177
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37177&action=edit
reduced testcase

Compiler output:
$ armv7a-hardfloat-linux-gnueabi-gcc testcase.c -O2 -g         
testcase.c: In function 'foo':
testcase.c:18:1: internal compiler error: in decompose, at rtl.h:2107
 }
 ^

0x7c4e80 wi::int_traits<std::pair<rtx_def*, machine_mode> >::decompose(long*,
unsigned int, std::pair<rtx_def*, machine_mode> const&)
        /repo/gcc-trunk/gcc/rtl.h:2105
0x7c4e80 wide_int_ref_storage<std::pair<rtx_def*, machine_mode> >
        /repo/gcc-trunk/gcc/wide-int.h:945
0x7c4e80 generic_wide_int<std::pair<rtx_def*, machine_mode> >
        /repo/gcc-trunk/gcc/wide-int.h:722
0x7c4e80 add<std::pair<rtx_def*, machine_mode>, long int>
        /repo/gcc-trunk/gcc/wide-int.h:2270
0x7c4e80 plus_constant(machine_mode, rtx_def*, long, bool)
        /repo/gcc-trunk/gcc/explow.c:101
0x7c48be plus_constant(machine_mode, rtx_def*, long, bool)
        /repo/gcc-trunk/gcc/explow.c:143
0x99c7f3 lra_eliminate_regs_1(rtx_insn*, rtx_def*, machine_mode, bool, bool,
long, bool)
        /repo/gcc-trunk/gcc/lra-eliminations.c:436
0x99e827 eliminate_regs_in_insn(rtx_insn*, bool, bool, long)
        /repo/gcc-trunk/gcc/lra-eliminations.c:1118
0x99fbd5 process_insn_for_elimination
        /repo/gcc-trunk/gcc/lra-eliminations.c:1408
0x99fbd5 lra_eliminate(bool, bool)
        /repo/gcc-trunk/gcc/lra-eliminations.c:1472
0x9959d0 lra_constraints(bool)
        /repo/gcc-trunk/gcc/lra-constraints.c:4243
0x981d4c lra(_IO_FILE*)
        /repo/gcc-trunk/gcc/lra.c:2277
0x929a39 do_reload
        /repo/gcc-trunk/gcc/ira.c:5385
0x929a39 execute
        /repo/gcc-trunk/gcc/ira.c:5556
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.


$ armv7a-hardfloat-linux-gnueabi-gcc -v               
Using built-in specs.
COLLECT_GCC=/repo/gcc-trunk/binary-latest-armv7a-hardfloat/bin/armv7a-hardfloat-linux-gnueabi-gcc
COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-231954-checking-yes-rtl-df-nographite-armv7a-hardfloat/bin/../libexec/gcc/armv7a-hardfloat-linux-gnueabi/6.0.0/lto-wrapper
Target: armv7a-hardfloat-linux-gnueabi
Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++
--enable-checking=yes,rtl,df --without-cloog --without-ppl --without-isl
--with-float=hard --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu
--target=armv7a-hardfloat-linux-gnueabi
--with-ld=/usr/bin/armv7a-hardfloat-linux-gnueabi-ld
--with-as=/usr/bin/armv7a-hardfloat-linux-gnueabi-as
--with-sysroot=/usr/armv7a-hardfloat-linux-gnueabi --disable-libstdcxx-pch
--prefix=/repo/gcc-trunk//binary-trunk-231954-checking-yes-rtl-df-nographite-armv7a-hardfloat
Thread model: posix
gcc version 6.0.0 20151225 (experimental) (GCC) 


Tested revisions:
r231954 - ICE
5-branch r231950 - OK
4_9-branch r231949 - OK
4_8-branch r224828 - OK

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