On Dec 1, 2022, Jason Merrill <ja...@redhat.com> wrote: > Once we see g*, starred is set. Then we see %:, and it sees that as a > zero-length switch, which because starred is still set, matches any and all > command-line options. So targets that use such a spec accept all options in > the driver, while ones that don't reject some, such as the recent > -nostdlib++.
Woo, nice catch, thanks! I don't have authority to approve the patch, but it's ok as far as I'm concerned. -- Alexandre Oliva, happy hacker https://FSFLA.org/blogs/lxo/ Free Software Activist GNU Toolchain Engineer Disinformation flourishes because many people care deeply about injustice but very few check the facts. Ask me about <https://stallmansupport.org>