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/77527] New: [7 Regression] ICE: in make_decl_rtl, at varasm.c:1311 with -mstringop-strategy=libcall


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

            Bug ID: 77527
           Summary: [7 Regression] ICE: in make_decl_rtl, at varasm.c:1311
                    with -mstringop-strategy=libcall
           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 39584
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39584&action=edit
reduced testcase

Compiler output:
$ x86_64-pc-linux-gnu-gcc -O -fno-tree-copy-prop -fno-tree-dominator-opts
-fno-tree-forwprop -fno-tree-fre -mstringop-strategy=libcall testcase.c
-Wno-psabi
testcase.c: In function 'foo':
testcase.c:13:1: internal compiler error: in make_decl_rtl, at varasm.c:1311
 }
 ^
0xed0887 make_decl_rtl(tree_node*)
        /repo/gcc-trunk/gcc/varasm.c:1307
0x6ed404 nonoverlapping_memrefs_p(rtx_def const*, rtx_def const*, bool)
        /repo/gcc-trunk/gcc/alias.c:2757
0x6eef34 true_dependence_1
        /repo/gcc-trunk/gcc/alias.c:2924
0x149a018 check_mem_read_rtx
        /repo/gcc-trunk/gcc/dse.c:2039
0x149a018 check_mem_read_use
        /repo/gcc-trunk/gcc/dse.c:2160
0xb5b154 note_uses(rtx_def**, void (*)(rtx_def**, void*), void*)
        /repo/gcc-trunk/gcc/rtlanal.c:1934
0x149b498 scan_insn
        /repo/gcc-trunk/gcc/dse.c:2266
0x149c72f dse_step1
        /repo/gcc-trunk/gcc/dse.c:2525
0x149c72f rest_of_handle_dse
        /repo/gcc-trunk/gcc/dse.c:3413
0x149c72f execute
        /repo/gcc-trunk/gcc/dse.c:3511
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-trunk-240036-checking-yes-rtl-df-extra-nographite-amd64/bin/x86_64-pc-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-240036-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-240036-checking-yes-rtl-df-extra-nographite-amd64
Thread model: posix
gcc version 7.0.0 20160908 (experimental) (GCC) 

Tested revisions:
r240036 - ICE
6-branch r239849 - OK

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