public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/109318] New: csmith: -fipa-cp seems to cause trouble
@ 2023-03-28 16:54 dcb314 at hotmail dot com
  2023-03-28 17:39 ` [Bug tree-optimization/109318] " dcb314 at hotmail dot com
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: dcb314 at hotmail dot com @ 2023-03-28 16:54 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109318

            Bug ID: 109318
           Summary: csmith: -fipa-cp seems to cause trouble
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

Created attachment 54779
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54779&action=edit
C source code

The attached C code, produced by csmith, does this:

$ ../results/bin/gcc -w -O1 bug903.c
$ ./a.out
checksum = FC4F321
$ ../results/bin/gcc -w -O1 -fipa-cp bug903.c
$ ./a.out
Segmentation fault (core dumped)
$ ./a.out 1
Segmentation fault (core dumped)
$ 

The bug seems to have existed since before 20220403.

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2023-04-26 16:45 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-28 16:54 [Bug c/109318] New: csmith: -fipa-cp seems to cause trouble dcb314 at hotmail dot com
2023-03-28 17:39 ` [Bug tree-optimization/109318] " dcb314 at hotmail dot com
2023-03-28 18:37 ` dcb314 at hotmail dot com
2023-03-28 19:15 ` dcb314 at hotmail dot com
2023-03-28 22:15 ` dcb314 at hotmail dot com
2023-03-29  7:46 ` [Bug ipa/109318] csmith: -fipa-cp seems to cause trouble since r12-2523-g13586172d0b70c marxin at gcc dot gnu.org
2023-03-29  8:10 ` [Bug ipa/109318] [12/13 Regression] " marxin at gcc dot gnu.org
2023-03-29  8:13 ` rguenth at gcc dot gnu.org
2023-03-29  8:32 ` rguenth at gcc dot gnu.org
2023-03-29  8:37 ` jamborm at gcc dot gnu.org
2023-03-31 11:18 ` jamborm at gcc dot gnu.org
2023-04-06 17:01 ` jamborm at gcc dot gnu.org
2023-04-17 11:06 ` cvs-commit at gcc dot gnu.org
2023-04-17 14:16 ` [Bug ipa/109318] [12 " jamborm at gcc dot gnu.org
2023-04-26 16:45 ` cvs-commit at gcc dot gnu.org
2023-04-26 16:45 ` jamborm 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).