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
* [Bug target/105572] timeout with -march=bdver2 2022-05-11 19:44 [Bug c/105572] New: timeout with -march=bdver2 dcb314 at hotmail dot com @ 2022-05-11 19:51 ` 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 ` (4 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: dcb314 at hotmail dot com @ 2022-05-11 19:51 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105572 --- Comment #1 from David Binderman <dcb314 at hotmail dot com> --- The problem seems to exist before git revision 82a4c5c704433249, dated about a month ago. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/105572] [12/13 Regression] timeout with -march=bdver2 since r12-155-gd8e1f1d24179690f 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 ` marxin at gcc dot gnu.org 2022-05-12 9:32 ` pinskia at gcc dot gnu.org ` (3 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: marxin at gcc dot gnu.org @ 2022-05-12 8:43 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105572 Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marxin at gcc dot gnu.org Status|UNCONFIRMED |NEW Summary|timeout with -march=bdver2 |[12/13 Regression] timeout | |with -march=bdver2 since | |r12-155-gd8e1f1d24179690f Ever confirmed|0 |1 Last reconfirmed| |2022-05-12 --- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> --- Started with r12-155-gd8e1f1d24179690f. Apparently GAS takes ages in: 81.66% as [.] symbol_clone_if_forward_ref.part.0 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/105572] [12/13 Regression] timeout with -march=bdver2 since r12-155-gd8e1f1d24179690f 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 ` (2 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: pinskia at gcc dot gnu.org @ 2022-05-12 9:32 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105572 --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This should be reported to binutils and closed as moved since this is not a gcc bug. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/105572] [12/13 Regression] timeout with -march=bdver2 since r12-155-gd8e1f1d24179690f 2022-05-11 19:44 [Bug c/105572] New: timeout with -march=bdver2 dcb314 at hotmail dot com ` (2 preceding siblings ...) 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 5 siblings, 0 replies; 7+ messages in thread From: rguenth at gcc dot gnu.org @ 2022-05-12 11:31 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105572 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |12.2 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/105572] [12/13 Regression] timeout with -march=bdver2 since r12-155-gd8e1f1d24179690f 2022-05-11 19:44 [Bug c/105572] New: timeout with -march=bdver2 dcb314 at hotmail dot com ` (3 preceding siblings ...) 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 5 siblings, 0 replies; 7+ messages in thread From: marxin at gcc dot gnu.org @ 2022-05-12 11:33 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105572 --- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> --- I bisected that and it's fixed in master (not present in any release branch): commit fb0e49d8e05e61ca2af9b5f60b01ad5fb6d274ff Author: Alan Modra <amodra@gmail.com> Date: Tue Mar 8 22:48:51 2022 +1030 Constant fold view increment expressions The idea here is to replace expressions like v + 1 + 1 + 1 with v + 3. * dwarf2dbg.c (set_or_check_view): Remove useless assertion. Resolve multiple view increments. * testsuite/gas/elf/dwarf2-18.d: Don't xfail mep. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/105572] [12/13 Regression] timeout with -march=bdver2 since r12-155-gd8e1f1d24179690f 2022-05-11 19:44 [Bug c/105572] New: timeout with -march=bdver2 dcb314 at hotmail dot com ` (4 preceding siblings ...) 2022-05-12 11:33 ` marxin at gcc dot gnu.org @ 2022-05-12 11:34 ` marxin at gcc dot gnu.org 5 siblings, 0 replies; 7+ messages in thread From: marxin at gcc dot gnu.org @ 2022-05-12 11:34 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105572 Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> --- Fixed in binutils master. ^ 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).