public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/103895] New: [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-6071-g19dcecd963295b02
@ 2022-01-03 9:22 marxin at gcc dot gnu.org
2022-01-03 9:22 ` [Bug target/103895] " marxin at gcc dot gnu.org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-01-03 9:22 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103895
Bug ID: 103895
Summary: [12 Regression] ICE in extract_insn, at recog.c:2769
since r12-6071-g19dcecd963295b02
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: marxin at gcc dot gnu.org
CC: liuhongt at gcc dot gnu.org
Target Milestone: ---
Host: x86_64-linux-gnu
The following ICEs:
$ cat reload.c
#include <emmintrin.h>
typedef float vFloat __attribute__((__vector_size__(16)));
float bar_dr;
vFloat bar_f1;
void bar() {
static vFloat m0;
vFloat fa1 = _mm_andnot_ps(m0, bar_f1);
__attribute__((__vector_size__(2 * sizeof(double)))) double v3 =
_mm_cvtps_pd(fa1);
vFloat r1 = _mm_cvtpd_ps(v3);
_mm_storeu_ps(&bar_dr, r1);
}
$ gcc reload.c -c -Og -ffloat-store
reload.c: In function ‘bar’:
reload.c:12:1: error: unrecognizable insn:
12 | }
| ^
(insn 21 8 10 2 (set (mem:V4SF (plus:DI (reg/f:DI 19 frame)
(const_int -32 [0xffffffffffffffe0])) [1 S16 A128])
(mem:V4SF (plus:DI (reg/f:DI 19 frame)
(const_int -16 [0xfffffffffffffff0])) [1 S16 A128]))
"/home/marxin/bin/gcc/lib64/gcc/x86_64-pc-linux-gnu/12.0.0/include/xmmintrin.h":248:10
-1
(nil))
during RTL pass: ira
reload.c:12:1: internal compiler error: in extract_insn, at recog.c:2769
0x75ffd4 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
/home/marxin/Programming/gcc/gcc/rtl-error.c:108
0x75fff6 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
/home/marxin/Programming/gcc/gcc/rtl-error.c:116
0x75e161 extract_insn(rtx_insn*)
/home/marxin/Programming/gcc/gcc/recog.c:2769
0xd2f363 ira_remove_insn_scratches(rtx_insn*, bool, _IO_FILE*, rtx_def*
(*)(rtx_def*))
/home/marxin/Programming/gcc/gcc/ira.c:5348
0xd3058e remove_scratches
/home/marxin/Programming/gcc/gcc/ira.c:5392
0xd3058e ira
/home/marxin/Programming/gcc/gcc/ira.c:5716
0xd3058e execute
/home/marxin/Programming/gcc/gcc/ira.c:6075
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.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/103895] [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-6071-g19dcecd963295b02
2022-01-03 9:22 [Bug target/103895] New: [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-6071-g19dcecd963295b02 marxin at gcc dot gnu.org
@ 2022-01-03 9:22 ` marxin at gcc dot gnu.org
2022-01-04 0:49 ` crazylht at gmail dot com
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-01-03 9:22 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103895
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
Ever confirmed|0 |1
Target Milestone|--- |12.0
Status|UNCONFIRMED |NEW
Last reconfirmed| |2022-01-03
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/103895] [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-6071-g19dcecd963295b02
2022-01-03 9:22 [Bug target/103895] New: [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-6071-g19dcecd963295b02 marxin at gcc dot gnu.org
2022-01-03 9:22 ` [Bug target/103895] " marxin at gcc dot gnu.org
@ 2022-01-04 0:49 ` crazylht at gmail dot com
2022-01-04 3:50 ` cvs-commit at gcc dot gnu.org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: crazylht at gmail dot com @ 2022-01-04 0:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103895
Hongtao.liu <crazylht at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |crazylht at gmail dot com
--- Comment #1 from Hongtao.liu <crazylht at gmail dot com> ---
Mine
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/103895] [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-6071-g19dcecd963295b02
2022-01-03 9:22 [Bug target/103895] New: [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-6071-g19dcecd963295b02 marxin at gcc dot gnu.org
2022-01-03 9:22 ` [Bug target/103895] " marxin at gcc dot gnu.org
2022-01-04 0:49 ` crazylht at gmail dot com
@ 2022-01-04 3:50 ` cvs-commit at gcc dot gnu.org
2022-01-04 3:50 ` crazylht at gmail dot com
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-01-04 3:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103895
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by hongtao Liu <liuhongt@gcc.gnu.org>:
https://gcc.gnu.org/g:05da96886efa3ccdcc0e4e337ecd01b2827db213
commit r12-6199-g05da96886efa3ccdcc0e4e337ecd01b2827db213
Author: liuhongt <hongtao.liu@intel.com>
Date: Tue Jan 4 09:57:23 2022 +0800
Force_reg operand 1.
Avoid ICE of move pattern from memory to memory.
gcc/ChangeLog:
PR target/103895
* config/i386/sse.md (*bit_and_float_vector_all_ones):
Force_reg operand 1 to avoid ICE.
gcc/testsuite/ChangeLog:
* gcc.target/i386/pr103895.c: New test.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/103895] [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-6071-g19dcecd963295b02
2022-01-03 9:22 [Bug target/103895] New: [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-6071-g19dcecd963295b02 marxin at gcc dot gnu.org
` (2 preceding siblings ...)
2022-01-04 3:50 ` cvs-commit at gcc dot gnu.org
@ 2022-01-04 3:50 ` crazylht at gmail dot com
2022-01-04 4:03 ` pinskia at gcc dot gnu.org
2022-01-05 9:04 ` cvs-commit at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: crazylht at gmail dot com @ 2022-01-04 3:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103895
--- Comment #3 from Hongtao.liu <crazylht at gmail dot com> ---
Fixed in GCC12.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/103895] [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-6071-g19dcecd963295b02
2022-01-03 9:22 [Bug target/103895] New: [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-6071-g19dcecd963295b02 marxin at gcc dot gnu.org
` (3 preceding siblings ...)
2022-01-04 3:50 ` crazylht at gmail dot com
@ 2022-01-04 4:03 ` pinskia at gcc dot gnu.org
2022-01-05 9:04 ` cvs-commit at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-01-04 4:03 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103895
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/103895] [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-6071-g19dcecd963295b02
2022-01-03 9:22 [Bug target/103895] New: [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-6071-g19dcecd963295b02 marxin at gcc dot gnu.org
` (4 preceding siblings ...)
2022-01-04 4:03 ` pinskia at gcc dot gnu.org
@ 2022-01-05 9:04 ` cvs-commit at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-01-05 9:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103895
--- Comment #5 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:4ce3bd7993bc8413197e07c4f54052e4ecaeccaa
commit r12-6220-g4ce3bd7993bc8413197e07c4f54052e4ecaeccaa
Author: Jakub Jelinek <jakub@redhat.com>
Date: Wed Jan 5 10:03:18 2022 +0100
testsuite: Fix gcc.target/i386/pr103895.c testcase [PR103895]
The testcase uses SSE and SSE2 intrinsics, so fails on i686-linux
if -msse2 isn't enabled by default. Fixed by adding -msse2 to
dg-options.
2022-01-05 Jakub Jelinek <jakub@redhat.com>
PR target/103895
* gcc.target/i386/pr103895.c: Add -msse2 to dg-options.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2022-01-05 9:04 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-03 9:22 [Bug target/103895] New: [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-6071-g19dcecd963295b02 marxin at gcc dot gnu.org
2022-01-03 9:22 ` [Bug target/103895] " marxin at gcc dot gnu.org
2022-01-04 0:49 ` crazylht at gmail dot com
2022-01-04 3:50 ` cvs-commit at gcc dot gnu.org
2022-01-04 3:50 ` crazylht at gmail dot com
2022-01-04 4:03 ` pinskia at gcc dot gnu.org
2022-01-05 9:04 ` 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).