public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/100722] New: ice in extract_insn, at recog.c:2770
@ 2021-05-22 7:46 dcb314 at hotmail dot com
2021-05-22 8:32 ` [Bug c/100722] " ubizjak at gmail dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: dcb314 at hotmail dot com @ 2021-05-22 7:46 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100722
Bug ID: 100722
Summary: ice in extract_insn, at recog.c:2770
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
For this C code:
typedef char int8x4_t __attribute__((vector_size(4)));
int8x4_t stack_caller_x1;
stack_caller() {
stack_callee(stack_caller_x1, stack_caller_x1, stack_caller_x1,
stack_caller_x1, stack_caller_x1, stack_caller_x1,
stack_caller_x1);
}
recent trunk gcc does this:
$ /home/dcb/gcc/results/bin/gcc -c -w bug718.c
bug718.c:7:1: error: unrecognizable insn:
7 | }
| ^
(insn 13 12 14 2 (set (mem:V4QI (pre_modify:DI (reg/f:DI 7 sp)
(plus:DI (reg/f:DI 7 sp)
(const_int -8 [0xfffffffffffffff8]))) [0 S4 A32])
(reg:V4QI 82 [ stack_caller_x1.0_1 ])) "bug718.c":4:3 -1
(expr_list:REG_ARGS_SIZE (const_int 16 [0x10])
(nil)))
during RTL pass: vregs
bug718.c:7:1: internal compiler error: in extract_insn, at recog.c:2770
The problem first seems to occur sometime between 20210517
and 20210518. Git hashes are e91a17fe39c39e98 and 46ca31d65092e5af.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c/100722] ice in extract_insn, at recog.c:2770
2021-05-22 7:46 [Bug c/100722] New: ice in extract_insn, at recog.c:2770 dcb314 at hotmail dot com
@ 2021-05-22 8:32 ` ubizjak at gmail dot com
2021-05-23 20:15 ` [Bug target/100722] [12 Regression] ice in extract_insn with many vector_size(4) arguments cvs-commit at gcc dot gnu.org
2021-05-23 20:19 ` ubizjak at gmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: ubizjak at gmail dot com @ 2021-05-22 8:32 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100722
Uroš Bizjak <ubizjak at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2021-05-22
Target Milestone|--- |12.0
Ever confirmed|0 |1
Status|UNCONFIRMED |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |ubizjak at gmail dot com
--- Comment #1 from Uroš Bizjak <ubizjak at gmail dot com> ---
Missing push insns for vector modes (the same as SImode pushes).
Mine.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/100722] [12 Regression] ice in extract_insn with many vector_size(4) arguments
2021-05-22 7:46 [Bug c/100722] New: ice in extract_insn, at recog.c:2770 dcb314 at hotmail dot com
2021-05-22 8:32 ` [Bug c/100722] " ubizjak at gmail dot com
@ 2021-05-23 20:15 ` cvs-commit at gcc dot gnu.org
2021-05-23 20:19 ` ubizjak at gmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-05-23 20:15 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100722
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Uros Bizjak <uros@gcc.gnu.org>:
https://gcc.gnu.org/g:c01c4331112aaf45f0de20ed8883dbeab83ed896
commit r12-1006-gc01c4331112aaf45f0de20ed8883dbeab83ed896
Author: Uros Bizjak <ubizjak@gmail.com>
Date: Sun May 23 22:14:21 2021 +0200
i386: Add push insns for 4-byte vectors [PR100722]
2021-05-23 Uroš Bizjak <ubizjak@gmail.com>
gcc/
PR target/100722
* config/i386/mmx.md (*push<VI_32:mode>2_rex64):
New instruction pattern.
(*push<VI_32:mode>2): Ditto.
(push splitter for SSE registers): New splitter.
gcc/testsuite/
PR target/100722
* gcc.target/i386/pr100722.c: New test.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/100722] [12 Regression] ice in extract_insn with many vector_size(4) arguments
2021-05-22 7:46 [Bug c/100722] New: ice in extract_insn, at recog.c:2770 dcb314 at hotmail dot com
2021-05-22 8:32 ` [Bug c/100722] " ubizjak at gmail dot com
2021-05-23 20:15 ` [Bug target/100722] [12 Regression] ice in extract_insn with many vector_size(4) arguments cvs-commit at gcc dot gnu.org
@ 2021-05-23 20:19 ` ubizjak at gmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: ubizjak at gmail dot com @ 2021-05-23 20:19 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100722
Uroš Bizjak <ubizjak at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Uroš Bizjak <ubizjak at gmail dot com> ---
Fixed.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-05-23 20:19 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-22 7:46 [Bug c/100722] New: ice in extract_insn, at recog.c:2770 dcb314 at hotmail dot com
2021-05-22 8:32 ` [Bug c/100722] " ubizjak at gmail dot com
2021-05-23 20:15 ` [Bug target/100722] [12 Regression] ice in extract_insn with many vector_size(4) arguments cvs-commit at gcc dot gnu.org
2021-05-23 20:19 ` ubizjak at gmail dot com
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).