public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/105572] New: timeout with -march=bdver2
@ 2022-05-11 19:44 dcb314 at hotmail dot com
  2022-05-11 19:51 ` [Bug target/105572] " dcb314 at hotmail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: dcb314 at hotmail dot com @ 2022-05-11 19:44 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 105572
           Summary: timeout with -march=bdver2
           Product: gcc
           Version: 12.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 52956
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52956&action=edit
C source code

For the attached C code, adding -march=bdver2 causes the compiler to 
spend a lot of time.

$ time /home/dcb/gcc/results/bin/gcc  -w -c -g -O3 bug810.c

real    0m3.344s
user    0m3.133s
sys     0m0.089s
$ (ulimit -t 300; time /home/dcb/gcc/results/bin/gcc  -w -c -g -O3
-march=bdver2  bug810.c)
gcc: fatal error: Killed signal terminated program as
compilation terminated.

real    5m20.276s
user    5m8.801s
sys     0m0.880s
$  /home/dcb/gcc/results/bin/gcc  -v 2>&1 | fgrep exp
gcc version 13.0.0 20220511 (experimental) (5b2a24ebfc0b2b4c) 
$

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

end of thread, other threads:[~2022-05-12 11:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-11 19:44 [Bug c/105572] New: timeout with -march=bdver2 dcb314 at hotmail dot com
2022-05-11 19:51 ` [Bug target/105572] " dcb314 at hotmail dot com
2022-05-12  8:43 ` [Bug target/105572] [12/13 Regression] timeout with -march=bdver2 since r12-155-gd8e1f1d24179690f marxin at gcc dot gnu.org
2022-05-12  9:32 ` pinskia at gcc dot gnu.org
2022-05-12 11:31 ` rguenth at gcc dot gnu.org
2022-05-12 11:33 ` marxin at gcc dot gnu.org
2022-05-12 11:34 ` marxin 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).