public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/112345] New: ice in mark_block_for_update
@ 2023-11-02 8:32 dcb314 at hotmail dot com
2023-11-02 8:38 ` [Bug tree-optimization/112345] [14 Regression] " pinskia at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: dcb314 at hotmail dot com @ 2023-11-02 8:32 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112345
Bug ID: 112345
Summary: ice in mark_block_for_update
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
For this C code:
int bail, test_block_move_end;
void test_block_move(my_cpu) {
int start;
int *p;
_Bool at_end = 0;
do {
if (test_block_move_end)
at_end = 1;
if (my_cpu)
continue;
do
write64();
while (p <= start && (p += 16));
if (bail)
;
} while (!at_end && ++start);
}
compiled by recent gcc trunk as follows:
$ ~/gcc/results/bin/gcc -c -w -g -O2 bug974.c
during GIMPLE pass: thread
bug974.c: In function ‘test_block_move’:
bug974.c:2:6: internal compiler error: Segmentation fault
2 | void test_block_move(my_cpu) {
| ^~~~~~~~~~~~~~~
0xebd2e9 crash_signal(int)
../../trunk.year/gcc/toplev.cc:315
0xf61718 mark_block_for_update(basic_block_def*)
../../trunk.year/gcc/tree-into-ssa.cc:451
0xf61ec2 mark_use_interesting(tree_node*, gimple*, basic_block_def*, bool)
../../trunk.year/gcc/tree-into-ssa.cc:2654
The bg first seems to occur sometime between g:8c40b72036c967fb
and g:9119b008b4195e06
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug tree-optimization/112345] [14 Regression] ice in mark_block_for_update
2023-11-02 8:32 [Bug c/112345] New: ice in mark_block_for_update dcb314 at hotmail dot com
@ 2023-11-02 8:38 ` pinskia at gcc dot gnu.org
2023-11-02 8:40 ` pinskia at gcc dot gnu.org
2023-11-02 8:41 ` pinskia at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-11-02 8:38 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112345
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|c |tree-optimization
Target Milestone|--- |14.0
Last reconfirmed| |2023-11-02
Ever confirmed|0 |1
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=112320
Version|unknown |14.0
Keywords| |ice-on-valid-code
Summary|ice in |[14 Regression] ice in
|mark_block_for_update |mark_block_for_update
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I am 99% sure this is the same underlying problem as reported in PR 112320.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug tree-optimization/112345] [14 Regression] ice in mark_block_for_update
2023-11-02 8:32 [Bug c/112345] New: ice in mark_block_for_update dcb314 at hotmail dot com
2023-11-02 8:38 ` [Bug tree-optimization/112345] [14 Regression] " pinskia at gcc dot gnu.org
@ 2023-11-02 8:40 ` pinskia at gcc dot gnu.org
2023-11-02 8:41 ` pinskia at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-11-02 8:40 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112345
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
We have now:
# DEBUG p => D#1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug tree-optimization/112345] [14 Regression] ice in mark_block_for_update
2023-11-02 8:32 [Bug c/112345] New: ice in mark_block_for_update dcb314 at hotmail dot com
2023-11-02 8:38 ` [Bug tree-optimization/112345] [14 Regression] " pinskia at gcc dot gnu.org
2023-11-02 8:40 ` pinskia at gcc dot gnu.org
@ 2023-11-02 8:41 ` pinskia at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-11-02 8:41 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112345
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> ---
Yes it is a dup.
*** This bug has been marked as a duplicate of bug 112320 ***
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-11-02 8:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-02 8:32 [Bug c/112345] New: ice in mark_block_for_update dcb314 at hotmail dot com
2023-11-02 8:38 ` [Bug tree-optimization/112345] [14 Regression] " pinskia at gcc dot gnu.org
2023-11-02 8:40 ` pinskia at gcc dot gnu.org
2023-11-02 8:41 ` pinskia 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).