public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/101812] New: [12 Regression] ICE: Segmentation fault (in ix86_expand_sse_movcc)
@ 2021-08-07 10:21 asolokha at gmx dot com
2021-08-08 19:12 ` [Bug target/101812] [12 Regression] ICE: Segmentation fault (in ix86_expand_sse_movcc) since r12-731-gb1f7fd8a2a5558da marxin at gcc dot gnu.org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: asolokha at gmx dot com @ 2021-08-07 10:21 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101812
Bug ID: 101812
Summary: [12 Regression] ICE: Segmentation fault (in
ix86_expand_sse_movcc)
Product: gcc
Version: unknown
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: asolokha at gmx dot com
Target Milestone: ---
Target: x86_64-unknown-linux-gnu
gcc-12.0.0-alpha20210801 (g:6f0c43e97825ee54e3779afbedcd0def12443001) ICEs when
compiling gcc/testsuite/gcc.target/arm/neon-vcond-ltgt.c w/ -O1
-ftree-loop-vectorize -fvect-cost-model=unlimited:
% x86_64-unknown-linux-gnu-gcc-12.0.0 -O1 -ftree-loop-vectorize
-fvect-cost-model=unlimited -c gcc/testsuite/gcc.target/arm/neon-vcond-ltgt.c
during RTL pass: expand
gcc/testsuite/gcc.target/arm/neon-vcond-ltgt.c: In function 'foo':
gcc/testsuite/gcc.target/arm/neon-vcond-ltgt.c:7:6: internal compiler error:
Segmentation fault
7 | void foo (int ilast,float* w, float* w2)
| ^~~
0xe4816f crash_signal
/var/tmp/portage/sys-devel/gcc-12.0.0_alpha20210801/work/gcc-12-20210801/gcc/toplev.c:328
0x128d90a ix86_expand_sse_movcc(rtx_def*, rtx_def*, rtx_def*, rtx_def*)
/var/tmp/portage/sys-devel/gcc-12.0.0_alpha20210801/work/gcc-12-20210801/gcc/config/i386/i386-expand.c:3815
0x128f491 ix86_expand_fp_vcond(rtx_def**)
/var/tmp/portage/sys-devel/gcc-12.0.0_alpha20210801/work/gcc-12-20210801/gcc/config/i386/i386-expand.c:4685
0x167e4b9 gen_vcondv2sfv2sf(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*,
rtx_def*)
/var/tmp/portage/sys-devel/gcc-12.0.0_alpha20210801/work/gcc-12-20210801/gcc/config/i386/mmx.md:908
0xd2af98 maybe_expand_insn(insn_code, unsigned int, expand_operand*)
/var/tmp/portage/sys-devel/gcc-12.0.0_alpha20210801/work/gcc-12-20210801/gcc/optabs.c:7835
0xd2af98 expand_insn(insn_code, unsigned int, expand_operand*)
/var/tmp/portage/sys-devel/gcc-12.0.0_alpha20210801/work/gcc-12-20210801/gcc/optabs.c:7866
0xbb61d0 expand_vec_cond_optab_fn
/var/tmp/portage/sys-devel/gcc-12.0.0_alpha20210801/work/gcc-12-20210801/gcc/internal-fn.c:2812
0x97e637 expand_call_stmt
/var/tmp/portage/sys-devel/gcc-12.0.0_alpha20210801/work/gcc-12-20210801/gcc/cfgexpand.c:2752
0x97e637 expand_gimple_stmt_1
/var/tmp/portage/sys-devel/gcc-12.0.0_alpha20210801/work/gcc-12-20210801/gcc/cfgexpand.c:3879
0x97e637 expand_gimple_stmt
/var/tmp/portage/sys-devel/gcc-12.0.0_alpha20210801/work/gcc-12-20210801/gcc/cfgexpand.c:4043
0x984889 expand_gimple_basic_block
/var/tmp/portage/sys-devel/gcc-12.0.0_alpha20210801/work/gcc-12-20210801/gcc/cfgexpand.c:6085
0x98663e execute
/var/tmp/portage/sys-devel/gcc-12.0.0_alpha20210801/work/gcc-12-20210801/gcc/cfgexpand.c:6811
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/101812] [12 Regression] ICE: Segmentation fault (in ix86_expand_sse_movcc) since r12-731-gb1f7fd8a2a5558da
2021-08-07 10:21 [Bug target/101812] New: [12 Regression] ICE: Segmentation fault (in ix86_expand_sse_movcc) asolokha at gmx dot com
@ 2021-08-08 19:12 ` marxin at gcc dot gnu.org
2021-08-08 19:15 ` ubizjak at gmail dot com
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-08-08 19:12 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101812
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |marxin at gcc dot gnu.org,
| |uros at gcc dot gnu.org
Status|UNCONFIRMED |NEW
Last reconfirmed| |2021-08-08
Summary|[12 Regression] ICE: |[12 Regression] ICE:
|Segmentation fault (in |Segmentation fault (in
|ix86_expand_sse_movcc) |ix86_expand_sse_movcc)
| |since
| |r12-731-gb1f7fd8a2a5558da
Ever confirmed|0 |1
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Confirmed, started with r12-731-gb1f7fd8a2a5558da.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/101812] [12 Regression] ICE: Segmentation fault (in ix86_expand_sse_movcc) since r12-731-gb1f7fd8a2a5558da
2021-08-07 10:21 [Bug target/101812] New: [12 Regression] ICE: Segmentation fault (in ix86_expand_sse_movcc) asolokha at gmx dot com
2021-08-08 19:12 ` [Bug target/101812] [12 Regression] ICE: Segmentation fault (in ix86_expand_sse_movcc) since r12-731-gb1f7fd8a2a5558da marxin at gcc dot gnu.org
@ 2021-08-08 19:15 ` ubizjak at gmail dot com
2021-08-09 14:39 ` cvs-commit at gcc dot gnu.org
2021-08-09 14:42 ` ubizjak at gmail dot com
3 siblings, 0 replies; 5+ messages in thread
From: ubizjak at gmail dot com @ 2021-08-08 19:15 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101812
Uroš Bizjak <ubizjak at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |12.0
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |ubizjak at gmail dot com
Version|unknown |12.0
--- Comment #2 from Uroš Bizjak <ubizjak at gmail dot com> ---
Patch in testing:
--cut here--
diff --git a/gcc/config/i386/mmx.md b/gcc/config/i386/mmx.md
index 0984f7cc44d..2d3b63f0834 100644
--- a/gcc/config/i386/mmx.md
+++ b/gcc/config/i386/mmx.md
@@ -952,7 +952,7 @@
(set_attr "prefix" "orig,vex")
(set_attr "mode" "V4SF")])
-(define_insn "*mmx_<code>v2sf3"
+(define_insn "<code>v2sf3"
[(set (match_operand:V2SF 0 "register_operand" "=x,x")
(any_logic:V2SF
(match_operand:V2SF 1 "register_operand" "%0,x")
--cut here--
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/101812] [12 Regression] ICE: Segmentation fault (in ix86_expand_sse_movcc) since r12-731-gb1f7fd8a2a5558da
2021-08-07 10:21 [Bug target/101812] New: [12 Regression] ICE: Segmentation fault (in ix86_expand_sse_movcc) asolokha at gmx dot com
2021-08-08 19:12 ` [Bug target/101812] [12 Regression] ICE: Segmentation fault (in ix86_expand_sse_movcc) since r12-731-gb1f7fd8a2a5558da marxin at gcc dot gnu.org
2021-08-08 19:15 ` ubizjak at gmail dot com
@ 2021-08-09 14:39 ` cvs-commit at gcc dot gnu.org
2021-08-09 14:42 ` ubizjak at gmail dot com
3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-08-09 14:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101812
--- Comment #3 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:9d2d660aab2f332b1e3f69a2fb3419cf3cc33b47
commit r12-2821-g9d2d660aab2f332b1e3f69a2fb3419cf3cc33b47
Author: Uros Bizjak <ubizjak@gmail.com>
Date: Mon Aug 9 16:38:54 2021 +0200
i386: Name V2SF logic insns [PR101812]
Name V2SF logic insns, so expand_simple_binop works with V2SF modes.
2021-08-09 Uroš Bizjak <ubizjak@gmail.com>
gcc/
PR target/101812
* config/i386/mmx.md (<any_logic:code>v2sf3):
Rename from *mmx_<any_logic:code>v2sf3
gcc/testsuite/
PR target/101812
* gcc.target/i386/pr101812.c: New test.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/101812] [12 Regression] ICE: Segmentation fault (in ix86_expand_sse_movcc) since r12-731-gb1f7fd8a2a5558da
2021-08-07 10:21 [Bug target/101812] New: [12 Regression] ICE: Segmentation fault (in ix86_expand_sse_movcc) asolokha at gmx dot com
` (2 preceding siblings ...)
2021-08-09 14:39 ` cvs-commit at gcc dot gnu.org
@ 2021-08-09 14:42 ` ubizjak at gmail dot com
3 siblings, 0 replies; 5+ messages in thread
From: ubizjak at gmail dot com @ 2021-08-09 14:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101812
Uroš Bizjak <ubizjak at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|uros at gcc dot gnu.org |
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
--- Comment #4 from Uroš Bizjak <ubizjak at gmail dot com> ---
Fixed.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-08-09 14:42 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-07 10:21 [Bug target/101812] New: [12 Regression] ICE: Segmentation fault (in ix86_expand_sse_movcc) asolokha at gmx dot com
2021-08-08 19:12 ` [Bug target/101812] [12 Regression] ICE: Segmentation fault (in ix86_expand_sse_movcc) since r12-731-gb1f7fd8a2a5558da marxin at gcc dot gnu.org
2021-08-08 19:15 ` ubizjak at gmail dot com
2021-08-09 14:39 ` cvs-commit at gcc dot gnu.org
2021-08-09 14:42 ` 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).