public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/108463] New: [13 Regression] ICE: in cselib_subst_to_values, at cselib.cc:2148 with -O2 -fsched2-use-superblocks -g
@ 2023-01-19 11:35 zsojka at seznam dot cz
  2023-01-19 11:46 ` [Bug rtl-optimization/108463] " rguenth at gcc dot gnu.org
                   ` (18 more replies)
  0 siblings, 19 replies; 20+ messages in thread
From: zsojka at seznam dot cz @ 2023-01-19 11:35 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 108463
           Summary: [13 Regression] ICE: in cselib_subst_to_values, at
                    cselib.cc:2148 with -O2 -fsched2-use-superblocks -g
           Product: gcc
           Version: 13.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: x86_64-pc-linux-gnu

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

Compiler output:
$ x86_64-pc-linux-gnu-gcc -O2 -fsched2-use-superblocks -g testcase.c 
testcase.c: In function 'foo':
testcase.c:5:1: note: the ABI for passing parameters with 32-byte alignment has
changed in GCC 4.6
    5 | foo (V v)
      | ^~~
testcase.c:5:1: warning: AVX vector argument without AVX enabled changes the
ABI [-Wpsabi]
during RTL pass: sched2
testcase.c:9:1: internal compiler error: in cselib_subst_to_values, at
cselib.cc:2148
    9 | }
      | ^
0x6ce4f5 cselib_subst_to_values(rtx_def*, machine_mode)
        /repo/gcc-trunk/gcc/cselib.cc:2148
0xf0fa26 cselib_subst_to_values(rtx_def*, machine_mode)
        /repo/gcc-trunk/gcc/cselib.cc:2193
0xf139dd cselib_subst_to_values_from_insn(rtx_def*, machine_mode, rtx_insn*)
        /repo/gcc-trunk/gcc/cselib.cc:2264
0x25c87c2 add_insn_mem_dependence
        /repo/gcc-trunk/gcc/sched-deps.cc:1741
0x25cd060 sched_analyze_2
        /repo/gcc-trunk/gcc/sched-deps.cc:2688
0x25cd0e9 sched_analyze_2
        /repo/gcc-trunk/gcc/sched-deps.cc:2806
0x25cdd3e sched_analyze_insn
        /repo/gcc-trunk/gcc/sched-deps.cc:2960
0x25d0595 deps_analyze_insn(deps_desc*, rtx_insn*)
        /repo/gcc-trunk/gcc/sched-deps.cc:3683
0x25d364e sched_analyze(deps_desc*, rtx_insn*, rtx_insn*)
        /repo/gcc-trunk/gcc/sched-deps.cc:3836
0x25d46d0 schedule_ebb(rtx_insn*, rtx_insn*, bool)
        /repo/gcc-trunk/gcc/sched-ebb.cc:505
0x25d4cc2 schedule_ebbs()
        /repo/gcc-trunk/gcc/sched-ebb.cc:655
0x137eb1c rest_of_handle_sched2
        /repo/gcc-trunk/gcc/sched-rgn.cc:3749
0x137eb1c execute
        /repo/gcc-trunk/gcc/sched-rgn.cc:3890
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
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-r13-5254-20230119100051-g05b9868b182-checking-yes-rtl-df-extra-nobootstrap-amd64/bin/../libexec/gcc/x86_64-pc-linux-gnu/13.0.1/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
--disable-bootstrap --with-cloog --with-ppl --with-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-r13-5254-20230119100051-g05b9868b182-checking-yes-rtl-df-extra-nobootstrap-amd64
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.0.1 20230119 (experimental) (GCC)

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2023-02-02 12:57 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-19 11:35 [Bug rtl-optimization/108463] New: [13 Regression] ICE: in cselib_subst_to_values, at cselib.cc:2148 with -O2 -fsched2-use-superblocks -g zsojka at seznam dot cz
2023-01-19 11:46 ` [Bug rtl-optimization/108463] " rguenth at gcc dot gnu.org
2023-01-19 11:52 ` jakub at gcc dot gnu.org
2023-01-26 17:28 ` jakub at gcc dot gnu.org
2023-01-26 17:28 ` jakub at gcc dot gnu.org
2023-01-26 18:33 ` jakub at gcc dot gnu.org
2023-01-26 20:00 ` jakub at gcc dot gnu.org
2023-01-26 20:26 ` jakub at gcc dot gnu.org
2023-01-27 11:26 ` jakub at gcc dot gnu.org
2023-01-27 11:47 ` jakub at gcc dot gnu.org
2023-01-27 11:52 ` jakub at gcc dot gnu.org
2023-01-27 16:47 ` jakub at gcc dot gnu.org
2023-01-27 17:31 ` jakub at gcc dot gnu.org
2023-01-27 18:12 ` jakub at gcc dot gnu.org
2023-01-27 19:07 ` jakub at gcc dot gnu.org
2023-01-30 17:10 ` jakub at gcc dot gnu.org
2023-01-30 17:14 ` jakub at gcc dot gnu.org
2023-02-01 16:39 ` jakub at gcc dot gnu.org
2023-02-02 12:56 ` cvs-commit at gcc dot gnu.org
2023-02-02 12:57 ` jakub at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).