public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/97466] New: ICE in vect_get_and_check_slp_defs, at tree-vect-slp.c:538 (at -O3)
@ 2020-10-16 20:54 su at cs dot ucdavis.edu
2020-10-17 16:36 ` [Bug tree-optimization/97466] " dcb314 at hotmail dot com
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: su at cs dot ucdavis.edu @ 2020-10-16 20:54 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97466
Bug ID: 97466
Summary: ICE in vect_get_and_check_slp_defs, at
tree-vect-slp.c:538 (at -O3)
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: su at cs dot ucdavis.edu
Target Milestone: ---
[503] % gcctk -v
Using built-in specs.
COLLECT_GCC=gcctk
COLLECT_LTO_WRAPPER=/local/suz-local/software/local/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/11.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../gcc-trunk/configure --disable-bootstrap
--prefix=/local/suz-local/software/local/gcc-trunk --enable-languages=c,c++
--disable-werror --enable-multilib --with-system-zlib
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 11.0.0 20201016 (experimental) [master revision
3e8d8f3b883:93f23a96b87:02629b116eed7c6911ef0eb2ef97e1883e9fb1de] (GCC)
[504] %
[504] % gcctk -O2 small.c
[505] %
[505] % gcctk -O3 small.c
during GIMPLE pass: vect
small.c: In function ‘main’:
small.c:59:5: internal compiler error: in vect_get_and_check_slp_defs, at
tree-vect-slp.c:538
59 | int main () {
| ^~~~
0xfdf1ee vect_get_and_check_slp_defs
../../gcc-trunk/gcc/tree-vect-slp.c:536
0xfe4c11 vect_build_slp_tree_2
../../gcc-trunk/gcc/tree-vect-slp.c:1443
0xfe36e9 vect_build_slp_tree
../../gcc-trunk/gcc/tree-vect-slp.c:1266
0xfe4d2c vect_build_slp_tree_2
../../gcc-trunk/gcc/tree-vect-slp.c:1486
0xfe36e9 vect_build_slp_tree
../../gcc-trunk/gcc/tree-vect-slp.c:1266
0xfe4d2c vect_build_slp_tree_2
../../gcc-trunk/gcc/tree-vect-slp.c:1486
0xfe36e9 vect_build_slp_tree
../../gcc-trunk/gcc/tree-vect-slp.c:1266
0xfeae71 vect_analyze_slp_instance
../../gcc-trunk/gcc/tree-vect-slp.c:2135
0xfee1da vect_analyze_slp(vec_info*, unsigned int)
../../gcc-trunk/gcc/tree-vect-slp.c:2441
0xfcde42 vect_analyze_loop_2
../../gcc-trunk/gcc/tree-vect-loop.c:2262
0xfcde42 vect_analyze_loop(loop*, vec_info_shared*)
../../gcc-trunk/gcc/tree-vect-loop.c:2799
0xff679c try_vectorize_loop_1
../../gcc-trunk/gcc/tree-vectorizer.c:994
0xff7269 vectorize_loops()
../../gcc-trunk/gcc/tree-vectorizer.c:1226
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.
[506] %
[506] % cat small.c
struct b {
int c;
char e;
char f;
unsigned g;
};
struct h {
int i : 2;
};
static short j = 5;
static int k, l, m, ah;
static char n;
static struct b o, p;
int *q;
static int **r = &q;
char s;
static struct h t;
short u;
unsigned char a (unsigned char v, unsigned char w) {
return w ? v % w : 0;
}
void ac () {
ah = 0 >= t.i;
while (n)
;
}
short d (short v) { return v; }
static int x () {
int y;
char aa;
int *ab = &k;
o.f = 0;
while (!j)
;
ac();
while (s) {
char ad;
int ae;
p.e = ad = 7;
for (; ad; ad--) {
unsigned af = 4;
ae = 1;
for (; ae >= 0; ae--) {
aa = a ((p.g == (l >= af) || y), *ab);
**r ^= (d ((m < o.c) ^ aa) == 0) ^ u;
}
}
*ab = 0;
}
return 0;
}
int main () {
x();
return 0;
}
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/97466] ICE in vect_get_and_check_slp_defs, at tree-vect-slp.c:538 (at -O3)
2020-10-16 20:54 [Bug tree-optimization/97466] New: ICE in vect_get_and_check_slp_defs, at tree-vect-slp.c:538 (at -O3) su at cs dot ucdavis.edu
@ 2020-10-17 16:36 ` dcb314 at hotmail dot com
2020-10-19 7:18 ` [Bug tree-optimization/97466] ICE in vect_get_and_check_slp_defs, at tree-vect-slp.c:538 (at -O3) since r11-3998-g540d5f4f0215e1cd marxin at gcc dot gnu.org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: dcb314 at hotmail dot com @ 2020-10-17 16:36 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97466
David Binderman <dcb314 at hotmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dcb314 at hotmail dot com
--- Comment #1 from David Binderman <dcb314 at hotmail dot com> ---
I also see this when I bootstrap gcc with -O3.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/97466] ICE in vect_get_and_check_slp_defs, at tree-vect-slp.c:538 (at -O3) since r11-3998-g540d5f4f0215e1cd
2020-10-16 20:54 [Bug tree-optimization/97466] New: ICE in vect_get_and_check_slp_defs, at tree-vect-slp.c:538 (at -O3) su at cs dot ucdavis.edu
2020-10-17 16:36 ` [Bug tree-optimization/97466] " dcb314 at hotmail dot com
@ 2020-10-19 7:18 ` marxin at gcc dot gnu.org
2020-10-19 7:23 ` rguenth at gcc dot gnu.org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-10-19 7:18 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97466
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |11.0
Last reconfirmed| |2020-10-19
CC| |marxin at gcc dot gnu.org
Keywords| |ice-on-valid-code
Status|UNCONFIRMED |NEW
Known to work| |10.2.0
Ever confirmed|0 |1
Summary|ICE in |ICE in
|vect_get_and_check_slp_defs |vect_get_and_check_slp_defs
|, at tree-vect-slp.c:538 |, at tree-vect-slp.c:538
|(at -O3) |(at -O3) since
| |r11-3998-g540d5f4f0215e1cd
Target Milestone|--- |11.0
--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with Richi's r11-3998-g540d5f4f0215e1cd.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/97466] ICE in vect_get_and_check_slp_defs, at tree-vect-slp.c:538 (at -O3) since r11-3998-g540d5f4f0215e1cd
2020-10-16 20:54 [Bug tree-optimization/97466] New: ICE in vect_get_and_check_slp_defs, at tree-vect-slp.c:538 (at -O3) su at cs dot ucdavis.edu
2020-10-17 16:36 ` [Bug tree-optimization/97466] " dcb314 at hotmail dot com
2020-10-19 7:18 ` [Bug tree-optimization/97466] ICE in vect_get_and_check_slp_defs, at tree-vect-slp.c:538 (at -O3) since r11-3998-g540d5f4f0215e1cd marxin at gcc dot gnu.org
@ 2020-10-19 7:23 ` rguenth at gcc dot gnu.org
2020-10-19 7:23 ` [Bug tree-optimization/97466] [11 Regression] " rguenth at gcc dot gnu.org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-10-19 7:23 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97466
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Mine.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/97466] [11 Regression] ICE in vect_get_and_check_slp_defs, at tree-vect-slp.c:538 (at -O3) since r11-3998-g540d5f4f0215e1cd
2020-10-16 20:54 [Bug tree-optimization/97466] New: ICE in vect_get_and_check_slp_defs, at tree-vect-slp.c:538 (at -O3) su at cs dot ucdavis.edu
` (2 preceding siblings ...)
2020-10-19 7:23 ` rguenth at gcc dot gnu.org
@ 2020-10-19 7:23 ` rguenth at gcc dot gnu.org
2020-10-19 8:50 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-10-19 7:23 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97466
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
Summary|ICE in |[11 Regression] ICE in
|vect_get_and_check_slp_defs |vect_get_and_check_slp_defs
|, at tree-vect-slp.c:538 |, at tree-vect-slp.c:538
|(at -O3) since |(at -O3) since
|r11-3998-g540d5f4f0215e1cd |r11-3998-g540d5f4f0215e1cd
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/97466] [11 Regression] ICE in vect_get_and_check_slp_defs, at tree-vect-slp.c:538 (at -O3) since r11-3998-g540d5f4f0215e1cd
2020-10-16 20:54 [Bug tree-optimization/97466] New: ICE in vect_get_and_check_slp_defs, at tree-vect-slp.c:538 (at -O3) su at cs dot ucdavis.edu
` (3 preceding siblings ...)
2020-10-19 7:23 ` [Bug tree-optimization/97466] [11 Regression] " rguenth at gcc dot gnu.org
@ 2020-10-19 8:50 ` rguenth at gcc dot gnu.org
2020-10-19 8:50 ` rguenth at gcc dot gnu.org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-10-19 8:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97466
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
*** Bug 97480 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/97466] [11 Regression] ICE in vect_get_and_check_slp_defs, at tree-vect-slp.c:538 (at -O3) since r11-3998-g540d5f4f0215e1cd
2020-10-16 20:54 [Bug tree-optimization/97466] New: ICE in vect_get_and_check_slp_defs, at tree-vect-slp.c:538 (at -O3) su at cs dot ucdavis.edu
` (4 preceding siblings ...)
2020-10-19 8:50 ` rguenth at gcc dot gnu.org
@ 2020-10-19 8:50 ` rguenth at gcc dot gnu.org
2020-10-19 9:35 ` cvs-commit at gcc dot gnu.org
2020-10-19 9:35 ` rguenth at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-10-19 8:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97466
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Meh, I didn't intend to commit this assert ...
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/97466] [11 Regression] ICE in vect_get_and_check_slp_defs, at tree-vect-slp.c:538 (at -O3) since r11-3998-g540d5f4f0215e1cd
2020-10-16 20:54 [Bug tree-optimization/97466] New: ICE in vect_get_and_check_slp_defs, at tree-vect-slp.c:538 (at -O3) su at cs dot ucdavis.edu
` (5 preceding siblings ...)
2020-10-19 8:50 ` rguenth at gcc dot gnu.org
@ 2020-10-19 9:35 ` cvs-commit at gcc dot gnu.org
2020-10-19 9:35 ` rguenth at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-10-19 9:35 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97466
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rguenth@gcc.gnu.org>:
https://gcc.gnu.org/g:95f27849a580ac834d4f51a0642da9671f0a9dee
commit r11-4034-g95f27849a580ac834d4f51a0642da9671f0a9dee
Author: Richard Biener <rguenther@suse.de>
Date: Mon Oct 19 11:07:36 2020 +0200
tree-optimization/97466 - remove spurious assert
This removes an assertion that was supposed to be only for temporary
debugging. I've also re-indented the code which I missed as well.
2020-10-19 Richard Biener <rguenther@suse.de>
PR tree-optimization/97466
* tree-vect-slp.c (vect_get_and_check_slp_defs): Remove
spurious assert, re-indent.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/97466] [11 Regression] ICE in vect_get_and_check_slp_defs, at tree-vect-slp.c:538 (at -O3) since r11-3998-g540d5f4f0215e1cd
2020-10-16 20:54 [Bug tree-optimization/97466] New: ICE in vect_get_and_check_slp_defs, at tree-vect-slp.c:538 (at -O3) su at cs dot ucdavis.edu
` (6 preceding siblings ...)
2020-10-19 9:35 ` cvs-commit at gcc dot gnu.org
@ 2020-10-19 9:35 ` rguenth at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-10-19 9:35 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97466
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2020-10-19 9:35 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-16 20:54 [Bug tree-optimization/97466] New: ICE in vect_get_and_check_slp_defs, at tree-vect-slp.c:538 (at -O3) su at cs dot ucdavis.edu
2020-10-17 16:36 ` [Bug tree-optimization/97466] " dcb314 at hotmail dot com
2020-10-19 7:18 ` [Bug tree-optimization/97466] ICE in vect_get_and_check_slp_defs, at tree-vect-slp.c:538 (at -O3) since r11-3998-g540d5f4f0215e1cd marxin at gcc dot gnu.org
2020-10-19 7:23 ` rguenth at gcc dot gnu.org
2020-10-19 7:23 ` [Bug tree-optimization/97466] [11 Regression] " rguenth at gcc dot gnu.org
2020-10-19 8:50 ` rguenth at gcc dot gnu.org
2020-10-19 8:50 ` rguenth at gcc dot gnu.org
2020-10-19 9:35 ` cvs-commit at gcc dot gnu.org
2020-10-19 9:35 ` rguenth 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).