public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/108655] New: ICE in execute_todo, at passes.cc:2134 since r13-1204-gd68d366425369649
@ 2023-02-03 9:13 marxin at gcc dot gnu.org
2023-02-03 9:14 ` [Bug c++/108655] " marxin at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: marxin at gcc dot gnu.org @ 2023-02-03 9:13 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108655
Bug ID: 108655
Summary: ICE in execute_todo, at passes.cc:2134 since
r13-1204-gd68d366425369649
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: marxin at gcc dot gnu.org
CC: jason at redhat dot com
Target Milestone: ---
The following ICEs:
$ int
test_collapse() {
int i;
for (; i;)
;
for (; i < 6;)
for (int j = 0; j < 6; ++j)
i += j;
}
$ gcc simd.c -c -O1 -funreachable-traps
during GIMPLE pass: ivcanon
simd.c: In function ‘test_collapse’:
simd.c:2:1: internal compiler error: in execute_todo, at passes.cc:2140
2 | test_collapse() {
| ^~~~~~~~~~~~~
0x721e5f execute_todo
/home/marxin/Programming/gcc/gcc/passes.cc:2140
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 c++/108655] ICE in execute_todo, at passes.cc:2134 since r13-1204-gd68d366425369649
2023-02-03 9:13 [Bug c++/108655] New: ICE in execute_todo, at passes.cc:2134 since r13-1204-gd68d366425369649 marxin at gcc dot gnu.org
@ 2023-02-03 9:14 ` marxin at gcc dot gnu.org
2023-02-03 10:45 ` [Bug tree-optimization/108655] [13 Regression] " jakub at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: marxin at gcc dot gnu.org @ 2023-02-03 9:14 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108655
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2023-02-03
Ever confirmed|0 |1
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=106258
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/108655] [13 Regression] ICE in execute_todo, at passes.cc:2134 since r13-1204-gd68d366425369649
2023-02-03 9:13 [Bug c++/108655] New: ICE in execute_todo, at passes.cc:2134 since r13-1204-gd68d366425369649 marxin at gcc dot gnu.org
2023-02-03 9:14 ` [Bug c++/108655] " marxin at gcc dot gnu.org
@ 2023-02-03 10:45 ` jakub at gcc dot gnu.org
2023-02-03 10:56 ` jakub at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2023-02-03 10:45 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108655
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Summary|ICE in execute_todo, at |[13 Regression] ICE in
|passes.cc:2134 since |execute_todo, at
|r13-1204-gd68d366425369649 |passes.cc:2134 since
| |r13-1204-gd68d366425369649
CC| |jakub at gcc dot gnu.org
Priority|P3 |P1
Target Milestone|--- |13.0
Component|c++ |tree-optimization
Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/108655] [13 Regression] ICE in execute_todo, at passes.cc:2134 since r13-1204-gd68d366425369649
2023-02-03 9:13 [Bug c++/108655] New: ICE in execute_todo, at passes.cc:2134 since r13-1204-gd68d366425369649 marxin at gcc dot gnu.org
2023-02-03 9:14 ` [Bug c++/108655] " marxin at gcc dot gnu.org
2023-02-03 10:45 ` [Bug tree-optimization/108655] [13 Regression] " jakub at gcc dot gnu.org
@ 2023-02-03 10:56 ` jakub at gcc dot gnu.org
2023-02-06 8:06 ` cvs-commit at gcc dot gnu.org
2023-02-06 8:07 ` jakub at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2023-02-03 10:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108655
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 54401
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54401&action=edit
gcc13-pr108655.patch
Untested fix.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/108655] [13 Regression] ICE in execute_todo, at passes.cc:2134 since r13-1204-gd68d366425369649
2023-02-03 9:13 [Bug c++/108655] New: ICE in execute_todo, at passes.cc:2134 since r13-1204-gd68d366425369649 marxin at gcc dot gnu.org
` (2 preceding siblings ...)
2023-02-03 10:56 ` jakub at gcc dot gnu.org
@ 2023-02-06 8:06 ` cvs-commit at gcc dot gnu.org
2023-02-06 8:07 ` jakub at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-02-06 8:06 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108655
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <jakub@gcc.gnu.org>:
https://gcc.gnu.org/g:5df573f76bb9b42231e722145033c548a5fcdf9a
commit r13-5708-g5df573f76bb9b42231e722145033c548a5fcdf9a
Author: Jakub Jelinek <jakub@redhat.com>
Date: Mon Feb 6 09:05:56 2023 +0100
ubsan: Fix up another spot that should have been BUILT_IN_UNREACHABLE_TRAPS
[PR108655]
We ICE on the following testcase, because ivcanon calls
gimple_build_builtin_unreachable but doesn't expect it would need vops.
BUILT_IN_UNREACHABLE_TRAP I've introduced yesterday doesn't need
vops and should be used in that case instead of BUILT_IN_TRAP which
needs them.
2023-02-06 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/108655
* ubsan.cc (sanitize_unreachable_fn): For -funreachable-traps
or -fsanitize=unreachable -fsanitize-trap=unreachable return
BUILT_IN_UNREACHABLE_TRAP decl rather than BUILT_IN_TRAP.
* gcc.dg/pr108655.c: New test.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/108655] [13 Regression] ICE in execute_todo, at passes.cc:2134 since r13-1204-gd68d366425369649
2023-02-03 9:13 [Bug c++/108655] New: ICE in execute_todo, at passes.cc:2134 since r13-1204-gd68d366425369649 marxin at gcc dot gnu.org
` (3 preceding siblings ...)
2023-02-06 8:06 ` cvs-commit at gcc dot gnu.org
@ 2023-02-06 8:07 ` jakub at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2023-02-06 8:07 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108655
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-02-06 8:07 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-03 9:13 [Bug c++/108655] New: ICE in execute_todo, at passes.cc:2134 since r13-1204-gd68d366425369649 marxin at gcc dot gnu.org
2023-02-03 9:14 ` [Bug c++/108655] " marxin at gcc dot gnu.org
2023-02-03 10:45 ` [Bug tree-optimization/108655] [13 Regression] " jakub at gcc dot gnu.org
2023-02-03 10:56 ` jakub at gcc dot gnu.org
2023-02-06 8:06 ` cvs-commit at gcc dot gnu.org
2023-02-06 8:07 ` jakub 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).