public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/97192] New: [11 Regression] ICE: in gimple_expand_vec_cond_expr, at gimple-isel.cc:133 with -O -ftracer -mavx512vl
@ 2020-09-24 10:57 zsojka at seznam dot cz
2020-09-24 11:25 ` [Bug target/97192] " rguenth at gcc dot gnu.org
2020-09-24 11:44 ` zsojka at seznam dot cz
0 siblings, 2 replies; 3+ messages in thread
From: zsojka at seznam dot cz @ 2020-09-24 10:57 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97192
Bug ID: 97192
Summary: [11 Regression] ICE: in gimple_expand_vec_cond_expr,
at gimple-isel.cc:133 with -O -ftracer -mavx512vl
Product: gcc
Version: 11.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
Created attachment 49265
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49265&action=edit
reduced testcase
Compiler output:
$ x86_64-pc-linux-gnu-gcc -O -ftracer -mavx512vl testcase.c
during GIMPLE pass: isel
testcase.c: In function 'foo':
testcase.c:7:1: internal compiler error: in gimple_expand_vec_cond_expr, at
gimple-isel.cc:133
7 | foo (void)
| ^~~
0x7679cf gimple_expand_vec_cond_expr
/repo/gcc-trunk/gcc/gimple-isel.cc:133
0x122787c gimple_expand_vec_cond_exprs
/repo/gcc-trunk/gcc/gimple-isel.cc:179
0x122787c execute
/repo/gcc-trunk/gcc/gimple-isel.cc:229
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.
$ 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-r11-3421-20200924150219-gfff56af6421-checking-yes-rtl-df-extra-amd64/bin/../libexec/gcc/x86_64-pc-linux-gnu/11.0.0/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-r11-3421-20200924150219-gfff56af6421-checking-yes-rtl-df-extra-amd64
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.0.0 20200924 (experimental) (GCC)
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/97192] [11 Regression] ICE: in gimple_expand_vec_cond_expr, at gimple-isel.cc:133 with -O -ftracer -mavx512vl
2020-09-24 10:57 [Bug target/97192] New: [11 Regression] ICE: in gimple_expand_vec_cond_expr, at gimple-isel.cc:133 with -O -ftracer -mavx512vl zsojka at seznam dot cz
@ 2020-09-24 11:25 ` rguenth at gcc dot gnu.org
2020-09-24 11:44 ` zsojka at seznam dot cz
1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-09-24 11:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97192
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |DUPLICATE
Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Looks like the same case as for PR97085 for aarch64:
- _19 = VEC_COND_EXPR <_18, { -1, -1, -1, -1, -1, -1, -1, -1 }, { 0, 0, 0, 0,
0, 0, 0, 0 }>;
- _20 = {a.2_2, a.2_2, a.2_2, a.2_2, a.2_2, a.2_2, a.2_2, a.2_2};
- _21 = _19 == _20;
+ _21 = VEC_COND_EXPR <_18, { 0, 0, 0, 0, 0, 0, 0, 0 }, { -1, -1, -1, -1, -1,
-1, -1, -1 }>;
_22 = VEC_COND_EXPR <_21, { -1, -1, -1, -1, -1, -1, -1, -1 }, { 0, 0, 0, 0,
0, 0, 0, 0 }>;
so we compute the VEC_COND_EXPR mask using a VEC_COND_EXPR. And it's indeed
fixed by the fix for said PR. I will add the testcase.
*** This bug has been marked as a duplicate of bug 97085 ***
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/97192] [11 Regression] ICE: in gimple_expand_vec_cond_expr, at gimple-isel.cc:133 with -O -ftracer -mavx512vl
2020-09-24 10:57 [Bug target/97192] New: [11 Regression] ICE: in gimple_expand_vec_cond_expr, at gimple-isel.cc:133 with -O -ftracer -mavx512vl zsojka at seznam dot cz
2020-09-24 11:25 ` [Bug target/97192] " rguenth at gcc dot gnu.org
@ 2020-09-24 11:44 ` zsojka at seznam dot cz
1 sibling, 0 replies; 3+ messages in thread
From: zsojka at seznam dot cz @ 2020-09-24 11:44 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97192
--- Comment #2 from Zdenek Sojka <zsojka at seznam dot cz> ---
Sorry for the dup. I used gcc built this morning, and I didn't find PR97085,
since it was closed in the meantime.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-09-24 11:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-24 10:57 [Bug target/97192] New: [11 Regression] ICE: in gimple_expand_vec_cond_expr, at gimple-isel.cc:133 with -O -ftracer -mavx512vl zsojka at seznam dot cz
2020-09-24 11:25 ` [Bug target/97192] " rguenth at gcc dot gnu.org
2020-09-24 11:44 ` zsojka at seznam dot cz
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).