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

            Bug ID: 77452
           Summary: [7 Regression] ICE: in plus_constant, at explow.c:87
                    with -fno-split-wide-types -mavx512f
                    --param=max-combine-insns=2
           Product: gcc
           Version: 7.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: x86_64-pc-linux-gnu
             Build: x86_64-pc-linux-gnu

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

Compiler output:
$ x86_64-pc-linux-gnu-gcc -O -fno-split-wide-types -mavx512f
--param=max-combine-insns=2 testcase.c 
testcase.c: In function 'foo':
testcase.c:10:1: internal compiler error: in plus_constant, at explow.c:87
 }
 ^
0x8377af plus_constant(machine_mode, rtx_def*, long, bool)
        /repo/gcc-trunk/gcc/explow.c:87
0x83756d plus_constant(machine_mode, rtx_def*, long, bool)
        /repo/gcc-trunk/gcc/explow.c:109
0x6ed9bd init_alias_analysis()
        /repo/gcc-trunk/gcc/alias.c:3359
0x9cba44 ira
        /repo/gcc-trunk/gcc/ira.c:5174
0x9cba44 execute
        /repo/gcc-trunk/gcc/ira.c:5526
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.

$ x86_64-pc-linux-gnu-gcc -v
Using built-in specs.
COLLECT_GCC=/repo/gcc-trunk/binary-latest-amd64/bin/x86_64-pc-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-239934-checking-yes-rtl-df-extra-nographite-amd64/bin/../libexec/gcc/x86_64-pc-linux-gnu/7.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++
--enable-valgrind-annotations --disable-nls --enable-checking=yes,rtl,df,extra
--without-cloog --without-ppl --without-isl --build=x86_64-pc-linux-gnu
--host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu
--with-ld=/usr/bin/x86_64-pc-linux-gnu-ld
--with-as=/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch
--prefix=/repo/gcc-trunk//binary-trunk-239934-checking-yes-rtl-df-extra-nographite-amd64
Thread model: posix
gcc version 7.0.0 20160901 (experimental) (GCC) 

Tested revisions:
trunk r239934 - ICE
6-branch r239849 - OK

Reply via email to