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 rtl-optimization/84164] New: [8 Regression] ICE: in elimination_costs_in_insn, at reload1.c:3633 at -O1


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

            Bug ID: 84164
           Summary: [8 Regression] ICE: in elimination_costs_in_insn, at
                    reload1.c:3633 at -O1
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz
  Target Milestone: ---
              Host: x86_64-pc-linux-gnu
            Target: aarch64-unknown-linux-gnu

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

This occurs only with the aarch64-unknown-linux-gnu target.

Compiler output:
$ cc1 -quiet testcase.c -O
during RTL pass: ira
testcase.c: In function 'foo':
testcase.c:15:1: internal compiler error: in elimination_costs_in_insn, at
reload1.c:3633
 }
 ^
0xbed921 elimination_costs_in_insn
        /repo/gcc-trunk/gcc/reload1.c:3630
0xbf68cf calculate_elim_costs_all_insns()
        /repo/gcc-trunk/gcc/reload1.c:1607
0xa64ced ira_costs()
        /repo/gcc-trunk/gcc/ira-costs.c:2249
0xa5d17c ira_build()
        /repo/gcc-trunk/gcc/ira-build.c:3427
0xa53d66 ira
        /repo/gcc-trunk/gcc/ira.c:5293
0xa53d66 execute
        /repo/gcc-trunk/gcc/ira.c:5604
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.

$ xgcc -v
Using built-in specs.
COLLECT_GCC=/repo/build-trunk-257290-checking-yes-rtl-df-extra-aarch64/./gcc/xgcc
Target: aarch64-unknown-linux-gnu
Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++
--enable-valgrind-annotations --disable-nls --enable-checking=yes,rtl,df,extra
--with-cloog --with-ppl --with-isl
--with-sysroot=/usr/aarch64-unknown-linux-gnu --build=x86_64-pc-linux-gnu
--host=x86_64-pc-linux-gnu --target=aarch64-unknown-linux-gnu
--with-ld=/usr/bin/aarch64-unknown-linux-gnu-ld
--with-as=/usr/bin/aarch64-unknown-linux-gnu-as --disable-libstdcxx-pch
--prefix=/repo/gcc-trunk//binary-trunk-257290-checking-yes-rtl-df-extra-aarch64
Thread model: posix
gcc version 8.0.1 20180201 (experimental) (GCC)

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