public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/109237] New: csmith: another timeout with -g -O3 this time
@ 2023-03-21 17:04 dcb314 at hotmail dot com
  2023-03-21 18:00 ` [Bug middle-end/109237] " dcb314 at hotmail dot com
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: dcb314 at hotmail dot com @ 2023-03-21 17:04 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 109237
           Summary: csmith: another timeout with -g -O3 this time
           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 54722
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54722&action=edit
C source code

The attached C code, when compiled by -O3, seems to take a reasonable time:

$ time ~/gcc/results/bin/gcc -c -w -O3 bug901.c

real    0m0.619s
user    0m0.597s
sys     0m0.012s

But adding -g seems to cause trouble:

$ (ulimit -t 120; time ~/gcc/results/bin/gcc -c -w -g -O3 bug901.c)
gcc: fatal error: Killed signal terminated program cc1
compilation terminated.

real    2m1.255s
user    1m58.650s
sys     0m1.593s

$ ~/gcc/results/bin/gcc -v 2>&1 | fgrep exp
gcc version 13.0.1 20230321 (experimental) (0963cb5fde158cce) 

So the version I used seems to include today's patch from Andrew Macleod
for timing reduction.

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

end of thread, other threads:[~2023-07-10  8:53 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-21 17:04 [Bug c/109237] New: csmith: another timeout with -g -O3 this time dcb314 at hotmail dot com
2023-03-21 18:00 ` [Bug middle-end/109237] " dcb314 at hotmail dot com
2023-03-21 20:04 ` pinskia at gcc dot gnu.org
2023-03-21 20:12 ` pinskia at gcc dot gnu.org
2023-03-21 20:26 ` [Bug debug/109237] " pinskia at gcc dot gnu.org
2023-03-22  7:36 ` rguenth at gcc dot gnu.org
2023-03-22  7:52 ` rguenth at gcc dot gnu.org
2023-03-22  8:34 ` rguenth at gcc dot gnu.org
2023-03-22  9:02 ` [Bug debug/109237] csmith: another timeout with -g -O3 this time since r12-156-g8d4c374c4419a875 marxin at gcc dot gnu.org
2023-03-22  9:11 ` rguenth at gcc dot gnu.org
2023-03-22  9:59 ` rguenth at gcc dot gnu.org
2023-03-27  6:57 ` cvs-commit at gcc dot gnu.org
2023-03-27  6:59 ` rguenth at gcc dot gnu.org
2023-04-19  8:30 ` cvs-commit at gcc dot gnu.org
2023-04-19  9:21 ` rguenth at gcc dot gnu.org
2023-07-10  8:53 ` 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).