]> git.ipfire.org Git - thirdparty/gcc.git/commit
lto/109263 - lto-wrapper and -g0 -ggdb
authorRichard Biener <rguenther@suse.de>
Thu, 23 Mar 2023 15:56:53 +0000 (16:56 +0100)
committerRichard Biener <rguenther@suse.de>
Mon, 17 Apr 2023 09:13:17 +0000 (11:13 +0200)
commit42b3d387f7335a4bc8846e3b7a2a78fb47be68b2
treec7a64f95eac5aaae7b012ad0b3c51bebdb646521
parentc2ab46f377313da5336748eb4fdc20020c047445
lto/109263 - lto-wrapper and -g0 -ggdb

The following makes lto-wrapper deal with non-combined debug
disabling / enabling option combinations properly.  Interestingly
-gno-dwarf also enables debug.

PR lto/109263
* lto-wrapper.cc (run_gcc): Parse alternate debug options
as well, they always enable debug.

(cherry picked from commit 4cbd5ef0350d8ab04993eb4c48ab80999fb4f358)
gcc/lto-wrapper.cc