public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/97733] New: internal compiler error: in operator[], at vec.h:880 with "-O1 -fno-toplevel-reorder -fno-tree-bit-ccp -fno-tree-dce -fno-tree-dominator-opts -fno-tree-scev-cprop -ftree-loop-vectorize -ftree-pre"
@ 2020-11-05 14:39 suochenyao at 163 dot com
2020-11-05 15:55 ` [Bug tree-optimization/97733] " marxin at gcc dot gnu.org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: suochenyao at 163 dot com @ 2020-11-05 14:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97733
Bug ID: 97733
Summary: internal compiler error: in operator[], at vec.h:880
with "-O1 -fno-toplevel-reorder -fno-tree-bit-ccp
-fno-tree-dce -fno-tree-dominator-opts
-fno-tree-scev-cprop -ftree-loop-vectorize -ftree-pre"
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: suochenyao at 163 dot com
Target Milestone: ---
*******************************************************************************
OS and Platform:
CentOS Linux release 7.8.2003 (Core), x86_64 GNU/Linux
*******************************************************************************
Program:
char a=0;
int b=0;
void c() {
int d = 1;
short e = 10;
for (; b; b--) {
e &= a;
d &= 10;
}
}
int main() { return 0; }
*******************************************************************************
gcc version:
$ gcc -v
Using built-in specs.
COLLECT_GCC=/home/suocy/bin/gcc-dev/bin/gcc
COLLECT_LTO_WRAPPER=/home/suocy/bin/gcc-dev/libexec/gcc/x86_64-pc-linux-gnu/11.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../configure --prefix=/home/suocy/bin/gcc-dev/
--disable-multilib --enable-languages=c,c++
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 11.0.0 20201105 (experimental) (GCC)
*******************************************************************************
Command Lines:
$ gcc -Wall -Wextra -fno-strict-aliasing -fwrapv -O1 -fno-toplevel-reorder
-fno-tree-bit-ccp -fno-tree-dce -fno-tree-dominator-opts -fno-tree-scev-cprop
-ftree-loop-vectorize -ftree-pre a.c
during GIMPLE pass: vect
a.c: In function ‘c’:
a.c:3:6: internal compiler error: in operator[], at vec.h:880
3 | void c() {
| ^
0x74940e vec<edge_def*, va_gc, vl_embed>::operator[](unsigned int)
../../gcc/vec.h:880
0x74a335 vec<_stmt_vec_info*, va_heap, vl_embed>::operator[](unsigned int)
../../gcc/tree.h:3834
0x74a335 vec<_stmt_vec_info*, va_heap, vl_ptr>::operator[](unsigned int)
../../gcc/vec.h:1451
0x74a335 vect_build_slp_tree_2
../../gcc/tree-vect-slp.c:1415
0x105ea49 vect_build_slp_tree
../../gcc/tree-vect-slp.c:1372
0x1061671 vect_build_slp_instance
../../gcc/tree-vect-slp.c:2208
0x1062cc8 vect_analyze_slp_instance
../../gcc/tree-vect-slp.c:2545
0x1063281 vect_analyze_slp(vec_info*, unsigned int)
../../gcc/tree-vect-slp.c:2603
0x10488c8 vect_analyze_loop_2
../../gcc/tree-vect-loop.c:2285
0x10488c8 vect_analyze_loop(loop*, vec_info_shared*)
../../gcc/tree-vect-loop.c:2895
0x106f423 try_vectorize_loop_1
../../gcc/tree-vectorizer.c:995
0x106fee1 vectorize_loops()
../../gcc/tree-vectorizer.c:1229
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] 5+ messages in thread
* [Bug tree-optimization/97733] internal compiler error: in operator[], at vec.h:880 with "-O1 -fno-toplevel-reorder -fno-tree-bit-ccp -fno-tree-dce -fno-tree-dominator-opts -fno-tree-scev-cprop -ftree-loop-vectorize -ftree-pre"
2020-11-05 14:39 [Bug tree-optimization/97733] New: internal compiler error: in operator[], at vec.h:880 with "-O1 -fno-toplevel-reorder -fno-tree-bit-ccp -fno-tree-dce -fno-tree-dominator-opts -fno-tree-scev-cprop -ftree-loop-vectorize -ftree-pre" suochenyao at 163 dot com
@ 2020-11-05 15:55 ` marxin at gcc dot gnu.org
2020-11-06 7:23 ` [Bug tree-optimization/97733] [11 Regression] " rguenth at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-11-05 15:55 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97733
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2020-11-5
Priority|P3 |P1
Target Milestone|--- |11.0
Known to fail| |11.0
Known to work| |10.2.0
CC| |marxin at gcc dot gnu.org,
| |rguenth at gcc dot gnu.org
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Confirmed, started with r11-4603-g5b41d673ad96dd2f.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/97733] [11 Regression] internal compiler error: in operator[], at vec.h:880 with "-O1 -fno-toplevel-reorder -fno-tree-bit-ccp -fno-tree-dce -fno-tree-dominator-opts -fno-tree-scev-cprop -ftree-loop-vectorize -ftree-pre"
2020-11-05 14:39 [Bug tree-optimization/97733] New: internal compiler error: in operator[], at vec.h:880 with "-O1 -fno-toplevel-reorder -fno-tree-bit-ccp -fno-tree-dce -fno-tree-dominator-opts -fno-tree-scev-cprop -ftree-loop-vectorize -ftree-pre" suochenyao at 163 dot com
2020-11-05 15:55 ` [Bug tree-optimization/97733] " marxin at gcc dot gnu.org
@ 2020-11-06 7:23 ` rguenth at gcc dot gnu.org
2020-11-06 8:46 ` cvs-commit at gcc dot gnu.org
2020-11-06 9:56 ` rguenth at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-11-06 7:23 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97733
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2020-11-05 00:00:00 |2020-11-06
Ever confirmed|0 |1
Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org
Status|UNCONFIRMED |ASSIGNED
Summary|internal compiler error: in |[11 Regression] internal
|operator[], at vec.h:880 |compiler error: in
|with "-O1 |operator[], at vec.h:880
|-fno-toplevel-reorder |with "-O1
|-fno-tree-bit-ccp |-fno-toplevel-reorder
|-fno-tree-dce |-fno-tree-bit-ccp
|-fno-tree-dominator-opts |-fno-tree-dce
|-fno-tree-scev-cprop |-fno-tree-dominator-opts
|-ftree-loop-vectorize |-fno-tree-scev-cprop
|-ftree-pre" |-ftree-loop-vectorize
| |-ftree-pre"
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Mine.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/97733] [11 Regression] internal compiler error: in operator[], at vec.h:880 with "-O1 -fno-toplevel-reorder -fno-tree-bit-ccp -fno-tree-dce -fno-tree-dominator-opts -fno-tree-scev-cprop -ftree-loop-vectorize -ftree-pre"
2020-11-05 14:39 [Bug tree-optimization/97733] New: internal compiler error: in operator[], at vec.h:880 with "-O1 -fno-toplevel-reorder -fno-tree-bit-ccp -fno-tree-dce -fno-tree-dominator-opts -fno-tree-scev-cprop -ftree-loop-vectorize -ftree-pre" suochenyao at 163 dot com
2020-11-05 15:55 ` [Bug tree-optimization/97733] " marxin at gcc dot gnu.org
2020-11-06 7:23 ` [Bug tree-optimization/97733] [11 Regression] " rguenth at gcc dot gnu.org
@ 2020-11-06 8:46 ` cvs-commit at gcc dot gnu.org
2020-11-06 9:56 ` rguenth at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-11-06 8:46 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97733
--- Comment #3 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:2210bf6dec4a9868c828af546890805cac353f84
commit r11-4767-g2210bf6dec4a9868c828af546890805cac353f84
Author: Richard Biener <rguenther@suse.de>
Date: Fri Nov 6 08:34:16 2020 +0100
tree-optimization/97733 - fix SLP of reductions with zero relevant
This adds a missing check.
2020-11-06 Richard Biener <rguenther@suse.de>
PR tree-optimization/97733
* tree-vect-slp.c (vect_analyze_slp_instance): If less
than two reductions were relevant or live do nothing.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/97733] [11 Regression] internal compiler error: in operator[], at vec.h:880 with "-O1 -fno-toplevel-reorder -fno-tree-bit-ccp -fno-tree-dce -fno-tree-dominator-opts -fno-tree-scev-cprop -ftree-loop-vectorize -ftree-pre"
2020-11-05 14:39 [Bug tree-optimization/97733] New: internal compiler error: in operator[], at vec.h:880 with "-O1 -fno-toplevel-reorder -fno-tree-bit-ccp -fno-tree-dce -fno-tree-dominator-opts -fno-tree-scev-cprop -ftree-loop-vectorize -ftree-pre" suochenyao at 163 dot com
` (2 preceding siblings ...)
2020-11-06 8:46 ` cvs-commit at gcc dot gnu.org
@ 2020-11-06 9:56 ` rguenth at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-11-06 9:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97733
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-11-06 9:56 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-05 14:39 [Bug tree-optimization/97733] New: internal compiler error: in operator[], at vec.h:880 with "-O1 -fno-toplevel-reorder -fno-tree-bit-ccp -fno-tree-dce -fno-tree-dominator-opts -fno-tree-scev-cprop -ftree-loop-vectorize -ftree-pre" suochenyao at 163 dot com
2020-11-05 15:55 ` [Bug tree-optimization/97733] " marxin at gcc dot gnu.org
2020-11-06 7:23 ` [Bug tree-optimization/97733] [11 Regression] " rguenth at gcc dot gnu.org
2020-11-06 8:46 ` cvs-commit at gcc dot gnu.org
2020-11-06 9:56 ` 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).