public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/111389] New: ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647
@ 2023-09-12 16:20 shaohua.li at inf dot ethz.ch
2023-09-12 16:23 ` [Bug tree-optimization/111389] [14 Regression] " pinskia at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: shaohua.li at inf dot ethz.ch @ 2023-09-12 16:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111389
Bug ID: 111389
Summary: ICE in check_loop_closed_ssa_def, at
tree-ssa-loop-manip.cc:647
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: shaohua.li at inf dot ethz.ch
CC: hubicka at gcc dot gnu.org
Target Milestone: ---
gcc at -O2 crashes on the following testcase.
Bisected to r14-301-gf2d6beb7a4d
Compiler explorer: https://godbolt.org/z/o98qrd5nr
$cat a.c
int *a;
char b;
int d;
int e(int f) {
int c = 0;
for (; f > 1; c++)
f >>= 1;
return c;
}
void g() {
for (;;) {
for (; d; d++)
;
b = 0;
for (; e(92) - 6 + b; b = b + 8)
*a = 0;
}
}
int main() {}
$ gcc -O0 a.c && ./a.out
$ gcc -O2 a.c
during GIMPLE pass: ch_vect
a.c: In function ‘g’:
a.c:10:6: internal compiler error: in check_loop_closed_ssa_def, at
tree-ssa-loop-manip.cc:645
10 | void g() {
| ^
0x7f8ffe5f1082 __libc_start_main
../csu/libc-start.c:308
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions
$
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/111389] [14 Regression] ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647
2023-09-12 16:20 [Bug tree-optimization/111389] New: ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647 shaohua.li at inf dot ethz.ch
@ 2023-09-12 16:23 ` pinskia at gcc dot gnu.org
2023-09-13 6:59 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-09-12 16:23 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111389
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |14.0
Summary|ICE in |[14 Regression] ICE in
|check_loop_closed_ssa_def, |check_loop_closed_ssa_def,
|at |at
|tree-ssa-loop-manip.cc:647 |tree-ssa-loop-manip.cc:647
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/111389] [14 Regression] ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647
2023-09-12 16:20 [Bug tree-optimization/111389] New: ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647 shaohua.li at inf dot ethz.ch
2023-09-12 16:23 ` [Bug tree-optimization/111389] [14 Regression] " pinskia at gcc dot gnu.org
@ 2023-09-13 6:59 ` rguenth at gcc dot gnu.org
2023-10-03 22:24 ` pinskia at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-09-13 6:59 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111389
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
Last reconfirmed| |2023-09-13
Priority|P3 |P1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/111389] [14 Regression] ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647
2023-09-12 16:20 [Bug tree-optimization/111389] New: ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647 shaohua.li at inf dot ethz.ch
2023-09-12 16:23 ` [Bug tree-optimization/111389] [14 Regression] " pinskia at gcc dot gnu.org
2023-09-13 6:59 ` rguenth at gcc dot gnu.org
@ 2023-10-03 22:24 ` pinskia at gcc dot gnu.org
2023-11-05 21:55 ` pinskia at gcc dot gnu.org
2023-12-05 13:16 ` rguenth at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-10-03 22:24 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111389
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |19373742 at buaa dot edu.cn
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 111678 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/111389] [14 Regression] ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647
2023-09-12 16:20 [Bug tree-optimization/111389] New: ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647 shaohua.li at inf dot ethz.ch
` (2 preceding siblings ...)
2023-10-03 22:24 ` pinskia at gcc dot gnu.org
@ 2023-11-05 21:55 ` pinskia at gcc dot gnu.org
2023-12-05 13:16 ` rguenth at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-11-05 21:55 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111389
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup of bug 109689.
*** This bug has been marked as a duplicate of bug 109689 ***
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/111389] [14 Regression] ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647
2023-09-12 16:20 [Bug tree-optimization/111389] New: ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647 shaohua.li at inf dot ethz.ch
` (3 preceding siblings ...)
2023-11-05 21:55 ` pinskia at gcc dot gnu.org
@ 2023-12-05 13:16 ` rguenth at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-12-05 13:16 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111389
Bug 111389 depends on bug 109689, which changed state.
Bug 109689 Summary: [14 Regression] ICE at -O1 with "-ftree-vectorize": in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:645 since r14-301-gf2d6beb7a4ddf1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109689
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-12-05 13:16 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-12 16:20 [Bug tree-optimization/111389] New: ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647 shaohua.li at inf dot ethz.ch
2023-09-12 16:23 ` [Bug tree-optimization/111389] [14 Regression] " pinskia at gcc dot gnu.org
2023-09-13 6:59 ` rguenth at gcc dot gnu.org
2023-10-03 22:24 ` pinskia at gcc dot gnu.org
2023-11-05 21:55 ` pinskia at gcc dot gnu.org
2023-12-05 13:16 ` 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).