public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/111443] New: ICE : Segmentation fault signal terminated program since r14-4038-gb975c0dc3be
@ 2023-09-17 12:54 shaohua.li at inf dot ethz.ch
2023-09-17 16:06 ` [Bug c/111443] " pinskia at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: shaohua.li at inf dot ethz.ch @ 2023-09-17 12:54 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111443
Bug ID: 111443
Summary: ICE : Segmentation fault signal terminated program
since r14-4038-gb975c0dc3be
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: shaohua.li at inf dot ethz.ch
CC: pinskia at gcc dot gnu.org
Target Milestone: ---
gcc crashes at -O2.
Bisected to r14-4038-gb975c0dc3be
Compiler explorer: https://godbolt.org/z/zd6WfK5xT
$ cat a.c
int a, c, d;
char b;
void e() {
char f;
int g[] = {3};
char *h;
if (g[0])
for (; f; f--)
;
c = 0;
for (;;) {
*h = 0;
b = f - *h;
d = f * a;
}
}
int main() {}
$
$ gcc -O2 a.c
gcc: internal compiler error: Segmentation fault signal terminated program cc1
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
See <https://gcc.gnu.org/bugs/> for instructions.
$
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c/111443] ICE : Segmentation fault signal terminated program since r14-4038-gb975c0dc3be
2023-09-17 12:54 [Bug c/111443] New: ICE : Segmentation fault signal terminated program since r14-4038-gb975c0dc3be shaohua.li at inf dot ethz.ch
@ 2023-09-17 16:06 ` pinskia at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-09-17 16:06 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111443
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This will be fixed by the patch which fixes PR 111435 .
*** This bug has been marked as a duplicate of bug 111435 ***
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-09-17 16:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-17 12:54 [Bug c/111443] New: ICE : Segmentation fault signal terminated program since r14-4038-gb975c0dc3be shaohua.li at inf dot ethz.ch
2023-09-17 16:06 ` [Bug c/111443] " 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).