[Bug tree-optimization/78540] New: [6/7 Regression] ICE: in df_refs_verify, at df-scan.c:4062 with -O -march=core2

zsojka at seznam dot cz gcc-bugzilla@gcc.gnu.org
Sat Nov 26 09:59:00 GMT 2016


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

            Bug ID: 78540
           Summary: [6/7 Regression] ICE: in df_refs_verify, at
                    df-scan.c:4062 with -O -march=core2
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          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 40155
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40155&action=edit
reduced testcase

Compiler output:
$ x86_64-pc-linux-gnu-gcc -O -march=core2 testcase.c
testcase.c: In function 'fn1':
testcase.c:7:1: warning: AVX512F vector return without AVX512F enabled changes
the ABI [-Wpsabi]
 {
 ^
testcase.c:6:1: note: The ABI for passing parameters with 64-byte alignment has
changed in GCC 4.6
 fn1 (V a)
 ^~~
testcase.c: In function 'fn2':
testcase.c:23:1: internal compiler error: in df_refs_verify, at df-scan.c:4062
 }
 ^
0x7bfc90 df_refs_verify
        /repo/gcc-trunk/gcc/df-scan.c:4062
0x7c483e df_insn_refs_verify
        /repo/gcc-trunk/gcc/df-scan.c:4129
0x7c69ce df_bb_verify
        /repo/gcc-trunk/gcc/df-scan.c:4154
0x7c6e87 df_scan_verify()
        /repo/gcc-trunk/gcc/df-scan.c:4286
0x7af588 df_verify()
        /repo/gcc-trunk/gcc/df-core.c:1831
0x7af60a df_analyze_1
        /repo/gcc-trunk/gcc/df-core.c:1217
0x8e16b2 thread_prologue_and_epilogue_insns()
        /repo/gcc-trunk/gcc/function.c:5947
0x8e1e82 rest_of_handle_thread_prologue_and_epilogue
        /repo/gcc-trunk/gcc/function.c:6427
0x8e1e82 execute
        /repo/gcc-trunk/gcc/function.c:6469
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/bin/x86_64-pc-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-242884-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-242884-checking-yes-rtl-df-extra-nographite-amd64
Thread model: posix
gcc version 7.0.0 20161125 (experimental) (GCC) 


--enable-checking=df might be needed in order to reproduce.


Tested revisions:
r242884 - FAIL
6-branch r242029 - FAIL
5-branch r242028 - OK


More information about the Gcc-bugs mailing list