public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/114655] New: -flto=4 at link time does not override -flto=auto from compile time
@ 2024-04-09 12:24 rguenth at gcc dot gnu.org
2024-04-09 12:24 ` [Bug lto/114655] " rguenth at gcc dot gnu.org
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-04-09 12:24 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114655
Bug ID: 114655
Summary: -flto=4 at link time does not override -flto=auto from
compile time
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
Assignee: unassigned at gcc dot gnu.org
Reporter: rguenth at gcc dot gnu.org
Target Milestone: ---
It looks like we now cleverly "merge" IL and link-time -flto, prefering
=auto or larger =N. That makes it no longer possible to debug with less
jobs active.
IMO link time -flto should override any compile-time setting.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug lto/114655] -flto=4 at link time does not override -flto=auto from compile time
2024-04-09 12:24 [Bug lto/114655] New: -flto=4 at link time does not override -flto=auto from compile time rguenth at gcc dot gnu.org
@ 2024-04-09 12:24 ` rguenth at gcc dot gnu.org
2024-04-09 12:52 ` rguenth at gcc dot gnu.org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-04-09 12:24 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114655
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2024-04-09
Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org
Ever confirmed|0 |1
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug lto/114655] -flto=4 at link time does not override -flto=auto from compile time
2024-04-09 12:24 [Bug lto/114655] New: -flto=4 at link time does not override -flto=auto from compile time rguenth at gcc dot gnu.org
2024-04-09 12:24 ` [Bug lto/114655] " rguenth at gcc dot gnu.org
@ 2024-04-09 12:52 ` rguenth at gcc dot gnu.org
2024-04-09 13:30 ` cvs-commit at gcc dot gnu.org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-04-09 12:52 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114655
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |11.4.0
Known to fail| |12.1.0
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
This changed in r12-824-g3cbcb5d0cfcd17, GCC 11 still "works".
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug lto/114655] -flto=4 at link time does not override -flto=auto from compile time
2024-04-09 12:24 [Bug lto/114655] New: -flto=4 at link time does not override -flto=auto from compile time rguenth at gcc dot gnu.org
2024-04-09 12:24 ` [Bug lto/114655] " rguenth at gcc dot gnu.org
2024-04-09 12:52 ` rguenth at gcc dot gnu.org
@ 2024-04-09 13:30 ` cvs-commit at gcc dot gnu.org
2024-04-09 13:31 ` [Bug lto/114655] [12/13 Regression] " rguenth at gcc dot gnu.org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-04-09 13:30 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114655
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rguenth@gcc.gnu.org>:
https://gcc.gnu.org/g:32fb04adae90a0ea68e64e8fc3cb04b613b2e9f3
commit r14-9872-g32fb04adae90a0ea68e64e8fc3cb04b613b2e9f3
Author: Richard Biener <rguenther@suse.de>
Date: Tue Apr 9 14:25:57 2024 +0200
lto/114655 - -flto=4 at link time doesn't override -flto=auto at compile
time
The following adjusts -flto option processing in lto-wrapper to have
link-time -flto override any compile time setting.
PR lto/114655
* lto-wrapper.cc (merge_flto_options): Add force argument.
(merge_and_complain): Do not force here.
(run_gcc): But here to make the link-time -flto option override
any compile-time one.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug lto/114655] [12/13 Regression] -flto=4 at link time does not override -flto=auto from compile time
2024-04-09 12:24 [Bug lto/114655] New: -flto=4 at link time does not override -flto=auto from compile time rguenth at gcc dot gnu.org
` (2 preceding siblings ...)
2024-04-09 13:30 ` cvs-commit at gcc dot gnu.org
@ 2024-04-09 13:31 ` rguenth at gcc dot gnu.org
2024-05-03 13:55 ` cvs-commit at gcc dot gnu.org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-04-09 13:31 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114655
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|-flto=4 at link time does |[12/13 Regression] -flto=4
|not override -flto=auto |at link time does not
|from compile time |override -flto=auto from
| |compile time
Priority|P3 |P2
Known to work| |14.0
Target Milestone|--- |12.4
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed on trunk sofar, queued for backporting.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug lto/114655] [12/13 Regression] -flto=4 at link time does not override -flto=auto from compile time
2024-04-09 12:24 [Bug lto/114655] New: -flto=4 at link time does not override -flto=auto from compile time rguenth at gcc dot gnu.org
` (3 preceding siblings ...)
2024-04-09 13:31 ` [Bug lto/114655] [12/13 Regression] " rguenth at gcc dot gnu.org
@ 2024-05-03 13:55 ` cvs-commit at gcc dot gnu.org
2024-05-16 9:56 ` [Bug lto/114655] [12 " cvs-commit at gcc dot gnu.org
2024-05-16 10:40 ` rguenth at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-05-03 13:55 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114655
--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Richard Biener
<rguenth@gcc.gnu.org>:
https://gcc.gnu.org/g:d040606257a579f120271dcd2af62a3458a7856e
commit r13-8681-gd040606257a579f120271dcd2af62a3458a7856e
Author: Richard Biener <rguenther@suse.de>
Date: Tue Apr 9 14:25:57 2024 +0200
lto/114655 - -flto=4 at link time doesn't override -flto=auto at compile
time
The following adjusts -flto option processing in lto-wrapper to have
link-time -flto override any compile time setting.
PR lto/114655
* lto-wrapper.cc (merge_flto_options): Add force argument.
(merge_and_complain): Do not force here.
(run_gcc): But here to make the link-time -flto option override
any compile-time one.
(cherry picked from commit 32fb04adae90a0ea68e64e8fc3cb04b613b2e9f3)
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug lto/114655] [12 Regression] -flto=4 at link time does not override -flto=auto from compile time
2024-04-09 12:24 [Bug lto/114655] New: -flto=4 at link time does not override -flto=auto from compile time rguenth at gcc dot gnu.org
` (4 preceding siblings ...)
2024-05-03 13:55 ` cvs-commit at gcc dot gnu.org
@ 2024-05-16 9:56 ` cvs-commit at gcc dot gnu.org
2024-05-16 10:40 ` rguenth at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-05-16 9:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114655
--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-12 branch has been updated by Richard Biener
<rguenth@gcc.gnu.org>:
https://gcc.gnu.org/g:42a0393655d8e4662ba001c3759cf00b639eddb9
commit r12-10446-g42a0393655d8e4662ba001c3759cf00b639eddb9
Author: Richard Biener <rguenther@suse.de>
Date: Tue Apr 9 14:25:57 2024 +0200
lto/114655 - -flto=4 at link time doesn't override -flto=auto at compile
time
The following adjusts -flto option processing in lto-wrapper to have
link-time -flto override any compile time setting.
PR lto/114655
* lto-wrapper.cc (merge_flto_options): Add force argument.
(merge_and_complain): Do not force here.
(run_gcc): But here to make the link-time -flto option override
any compile-time one.
(cherry picked from commit 32fb04adae90a0ea68e64e8fc3cb04b613b2e9f3)
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug lto/114655] [12 Regression] -flto=4 at link time does not override -flto=auto from compile time
2024-04-09 12:24 [Bug lto/114655] New: -flto=4 at link time does not override -flto=auto from compile time rguenth at gcc dot gnu.org
` (5 preceding siblings ...)
2024-05-16 9:56 ` [Bug lto/114655] [12 " cvs-commit at gcc dot gnu.org
@ 2024-05-16 10:40 ` rguenth at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-05-16 10:40 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114655
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Known to work| |12.3.1
Resolution|--- |FIXED
Known to fail| |12.3.0
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2024-05-16 10:40 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-09 12:24 [Bug lto/114655] New: -flto=4 at link time does not override -flto=auto from compile time rguenth at gcc dot gnu.org
2024-04-09 12:24 ` [Bug lto/114655] " rguenth at gcc dot gnu.org
2024-04-09 12:52 ` rguenth at gcc dot gnu.org
2024-04-09 13:30 ` cvs-commit at gcc dot gnu.org
2024-04-09 13:31 ` [Bug lto/114655] [12/13 Regression] " rguenth at gcc dot gnu.org
2024-05-03 13:55 ` cvs-commit at gcc dot gnu.org
2024-05-16 9:56 ` [Bug lto/114655] [12 " cvs-commit at gcc dot gnu.org
2024-05-16 10:40 ` 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).