[Bug target/83554] New: [8 Regression] ICE: in ix86_mitigate_rop, at config/i386/i386.c:41274 with -mmitigate-rop

zsojka at seznam dot cz gcc-bugzilla@gcc.gnu.org
Fri Dec 22 12:30:00 GMT 2017


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

            Bug ID: 83554
           Summary: [8 Regression] ICE: in ix86_mitigate_rop, at
                    config/i386/i386.c:41274 with -mmitigate-rop
           Product: gcc
           Version: 8.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

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

Compiler output:
$ x86_64-pc-linux-gnu-gcc -Os -mmitigate-rop testcase.c
during RTL pass: mach
testcase.c: In function 'b':
testcase.c:9:1: internal compiler error: in ix86_mitigate_rop, at
config/i386/i386.c:41274
 }
 ^
0x7d38bd ix86_mitigate_rop
        /repo/gcc-trunk/gcc/config/i386/i386.c:41274
0x7d38bd ix86_reorg
        /repo/gcc-trunk/gcc/config/i386/i386.c:41377
0xe01a59 execute
        /repo/gcc-trunk/gcc/reorg.c:3948
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> 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-255909-checking-yes-rtl-df-extra-nographite-amd64/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.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-255909-checking-yes-rtl-df-extra-nographite-amd64
Thread model: posix
gcc version 8.0.0 20171221 (experimental) (GCC)


More information about the Gcc-bugs mailing list