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

            Bug ID: 77833
           Summary: [7 Regression] ICE: in plus_constant, at explow.c:87
                    with -O -mavx512f
           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 39744
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39744&action=edit
reduced testcase

Compiler output:
$ x86_64-pc-linux-gnu-gcc -O -mavx512f testcase.c 
testcase.c: In function 'foo':
testcase.c:11:1: internal compiler error: in plus_constant, at explow.c:87
 }
 ^
0x8438ef plus_constant(machine_mode, rtx_def*, long, bool)
        /repo/gcc-trunk/gcc/explow.c:87
0x8436a6 plus_constant(machine_mode, rtx_def*, long, bool)
        /repo/gcc-trunk/gcc/explow.c:117
0x6f9a04 init_alias_analysis()
        /repo/gcc-trunk/gcc/alias.c:3359
0x9dbe52 ira
        /repo/gcc-trunk/gcc/ira.c:5160
0x9dbe52 execute
        /repo/gcc-trunk/gcc/ira.c:5512
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-240677-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-240677-checking-yes-rtl-df-extra-nographite-amd64
Thread model: posix
gcc version 7.0.0 20160930 (experimental) (GCC)

Reply via email to