public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/104448] New: [10/11/12 Regression] ICE: in initialize, at function-abi.cc:108 with -mavx5124vnniw / -mavx5124fmaps -mno-xsave -mabi=ms
@ 2022-02-08 19:46 zsojka at seznam dot cz
2022-02-09 7:37 ` [Bug target/104448] " rguenth at gcc dot gnu.org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: zsojka at seznam dot cz @ 2022-02-08 19:46 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104448
Bug ID: 104448
Summary: [10/11/12 Regression] ICE: in initialize, at
function-abi.cc:108 with -mavx5124vnniw /
-mavx5124fmaps -mno-xsave -mabi=ms
Product: gcc
Version: 12.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
Compiler output: (empty source file)
$ echo > testcase.c
$ x86_64-pc-linux-gnu-gcc -mavx5124vnniw -mno-xsave -mabi=ms testcase.c
testcase.c: internal compiler error: in initialize, at function-abi.cc:108
0x6dff4d predefined_function_abi::initialize(unsigned int, HARD_REG_SET const&)
/repo/gcc-trunk/gcc/function-abi.cc:108
0xcf5695 backend_init
/repo/gcc-trunk/gcc/toplev.cc:1785
0xcf5695 do_compile
/repo/gcc-trunk/gcc/toplev.cc:2140
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 -mavx5124fmaps -mno-xsave -mabi=ms testcase.c
testcase.c: internal compiler error: in initialize, at function-abi.cc:108
0x6dff4d predefined_function_abi::initialize(unsigned int, HARD_REG_SET const&)
/repo/gcc-trunk/gcc/function-abi.cc:108
0xcf5695 backend_init
/repo/gcc-trunk/gcc/toplev.cc:1785
0xcf5695 do_compile
/repo/gcc-trunk/gcc/toplev.cc:2140
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-r12-7089-20220208123931-g0103c2e4082-checking-yes-rtl-df-extra-amd64/bin/../libexec/gcc/x86_64-pc-linux-gnu/12.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
--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-r12-7089-20220208123931-g0103c2e4082-checking-yes-rtl-df-extra-amd64
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 12.0.1 20220208 (experimental) (GCC)
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/104448] [10/11/12 Regression] ICE: in initialize, at function-abi.cc:108 with -mavx5124vnniw / -mavx5124fmaps -mno-xsave -mabi=ms
2022-02-08 19:46 [Bug target/104448] New: [10/11/12 Regression] ICE: in initialize, at function-abi.cc:108 with -mavx5124vnniw / -mavx5124fmaps -mno-xsave -mabi=ms zsojka at seznam dot cz
@ 2022-02-09 7:37 ` rguenth at gcc dot gnu.org
2022-02-16 15:50 ` jakub at gcc dot gnu.org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-02-09 7:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104448
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Last reconfirmed| |2022-02-09
Priority|P3 |P2
Status|UNCONFIRMED |NEW
Target Milestone|--- |10.4
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
108 gcc_assert (overlaps_hard_reg_set_p (all_clobbers, mode,
regno)
109 && overlaps_hard_reg_set_p (m_mode_clobbers[i],
110 mode, regno));
(gdb) p debug_hard_reg_set(all_clobbers)
{ 0 1 2 8 9 10 11 12 13 14 15 17 18 20 21 22 23 24 25 28 29 30 31 32 33 34 35
36 37 38 39 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
74 75 }
$1 = void
(gdb) p regno
$2 = 44
Confirmed. Quite possibly the -mabi=ms support is incomplete here.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/104448] [10/11/12 Regression] ICE: in initialize, at function-abi.cc:108 with -mavx5124vnniw / -mavx5124fmaps -mno-xsave -mabi=ms
2022-02-08 19:46 [Bug target/104448] New: [10/11/12 Regression] ICE: in initialize, at function-abi.cc:108 with -mavx5124vnniw / -mavx5124fmaps -mno-xsave -mabi=ms zsojka at seznam dot cz
2022-02-09 7:37 ` [Bug target/104448] " rguenth at gcc dot gnu.org
@ 2022-02-16 15:50 ` jakub at gcc dot gnu.org
2022-02-16 15:54 ` ubizjak at gmail dot com
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-02-16 15:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104448
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org,
| |uros at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
r12-7147-g2f9ab267e725ddf2b6b44113e4fc4fb8b2a6adfb fixed this.
So, shall we just add the testcase into the testsuite and be done with it?
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/104448] [10/11/12 Regression] ICE: in initialize, at function-abi.cc:108 with -mavx5124vnniw / -mavx5124fmaps -mno-xsave -mabi=ms
2022-02-08 19:46 [Bug target/104448] New: [10/11/12 Regression] ICE: in initialize, at function-abi.cc:108 with -mavx5124vnniw / -mavx5124fmaps -mno-xsave -mabi=ms zsojka at seznam dot cz
2022-02-09 7:37 ` [Bug target/104448] " rguenth at gcc dot gnu.org
2022-02-16 15:50 ` jakub at gcc dot gnu.org
@ 2022-02-16 15:54 ` ubizjak at gmail dot com
2022-02-16 16:04 ` cvs-commit at gcc dot gnu.org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: ubizjak at gmail dot com @ 2022-02-16 15:54 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104448
--- Comment #3 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Jakub Jelinek from comment #2)
> r12-7147-g2f9ab267e725ddf2b6b44113e4fc4fb8b2a6adfb fixed this.
> So, shall we just add the testcase into the testsuite and be done with it?
I think so. -mno-xsave disabled AVX support and left AVX2+ enabled, which is
impossible combination.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/104448] [10/11/12 Regression] ICE: in initialize, at function-abi.cc:108 with -mavx5124vnniw / -mavx5124fmaps -mno-xsave -mabi=ms
2022-02-08 19:46 [Bug target/104448] New: [10/11/12 Regression] ICE: in initialize, at function-abi.cc:108 with -mavx5124vnniw / -mavx5124fmaps -mno-xsave -mabi=ms zsojka at seznam dot cz
` (2 preceding siblings ...)
2022-02-16 15:54 ` ubizjak at gmail dot com
@ 2022-02-16 16:04 ` cvs-commit at gcc dot gnu.org
2022-02-16 16:07 ` jakub at gcc dot gnu.org
2022-02-19 8:03 ` cvs-commit at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-02-16 16:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104448
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <jakub@gcc.gnu.org>:
https://gcc.gnu.org/g:f9c4917f01692a10f122f5ad56e559ba27751ace
commit r12-7263-gf9c4917f01692a10f122f5ad56e559ba27751ace
Author: Jakub Jelinek <jakub@redhat.com>
Date: Wed Feb 16 17:03:58 2022 +0100
testsuite: Add testcase for already fixed PR [PR104448]
This PR has been fixed with r12-7147-g2f9ab267e725ddf2.
2022-02-16 Jakub Jelinek <jakub@redhat.com>
PR target/104448
* gcc.target/i386/pr104448.c: New test.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/104448] [10/11/12 Regression] ICE: in initialize, at function-abi.cc:108 with -mavx5124vnniw / -mavx5124fmaps -mno-xsave -mabi=ms
2022-02-08 19:46 [Bug target/104448] New: [10/11/12 Regression] ICE: in initialize, at function-abi.cc:108 with -mavx5124vnniw / -mavx5124fmaps -mno-xsave -mabi=ms zsojka at seznam dot cz
` (3 preceding siblings ...)
2022-02-16 16:04 ` cvs-commit at gcc dot gnu.org
@ 2022-02-16 16:07 ` jakub at gcc dot gnu.org
2022-02-19 8:03 ` cvs-commit at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-02-16 16:07 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104448
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Dup then.
*** This bug has been marked as a duplicate of bug 104462 ***
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/104448] [10/11/12 Regression] ICE: in initialize, at function-abi.cc:108 with -mavx5124vnniw / -mavx5124fmaps -mno-xsave -mabi=ms
2022-02-08 19:46 [Bug target/104448] New: [10/11/12 Regression] ICE: in initialize, at function-abi.cc:108 with -mavx5124vnniw / -mavx5124fmaps -mno-xsave -mabi=ms zsojka at seznam dot cz
` (4 preceding siblings ...)
2022-02-16 16:07 ` jakub at gcc dot gnu.org
@ 2022-02-19 8:03 ` cvs-commit at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-02-19 8:03 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104448
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by Jakub Jelinek
<jakub@gcc.gnu.org>:
https://gcc.gnu.org/g:4dd24152c8cb5bca5fff1ddabb897c9452aab6a8
commit r11-9610-g4dd24152c8cb5bca5fff1ddabb897c9452aab6a8
Author: Jakub Jelinek <jakub@redhat.com>
Date: Wed Feb 16 17:03:58 2022 +0100
testsuite: Add testcase for already fixed PR [PR104448]
This PR has been fixed with r12-7147-g2f9ab267e725ddf2.
2022-02-16 Jakub Jelinek <jakub@redhat.com>
PR target/104448
* gcc.target/i386/pr104448.c: New test.
(cherry picked from commit f9c4917f01692a10f122f5ad56e559ba27751ace)
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2022-02-19 8:03 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-08 19:46 [Bug target/104448] New: [10/11/12 Regression] ICE: in initialize, at function-abi.cc:108 with -mavx5124vnniw / -mavx5124fmaps -mno-xsave -mabi=ms zsojka at seznam dot cz
2022-02-09 7:37 ` [Bug target/104448] " rguenth at gcc dot gnu.org
2022-02-16 15:50 ` jakub at gcc dot gnu.org
2022-02-16 15:54 ` ubizjak at gmail dot com
2022-02-16 16:04 ` cvs-commit at gcc dot gnu.org
2022-02-16 16:07 ` jakub at gcc dot gnu.org
2022-02-19 8:03 ` cvs-commit 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).