[PATCH] PR target/32803: Add -Oz option for improved clang compatibility.

2021-12-10 Thread Roger Sayle
This patch adds support for an -Oz command line option, aggressively optimizing for size at the expense of performance. GCC's current -Os provides a reasonable balance of size and performance, whereas -Oz is probably only useful for code size benchmarks such as CSiBE. Or so I thought until I rea

Re: [PATCH] PR target/32803: Add -Oz option for improved clang compatibility.

2021-12-13 Thread Joseph Myers
This is missing an invoke.texi update for the new option. -- Joseph S. Myers jos...@codesourcery.com

Re: [PATCH] PR target/32803: Add -Oz option for improved clang compatibility.

2021-12-14 Thread Jeff Law via Gcc-patches
On 12/13/2021 5:27 PM, Joseph Myers wrote: This is missing an invoke.texi update for the new option. And that update should probably note that -Oz turns on O2.  OK with that change. jeff

Re: [PATCH] PR target/32803: Add -Oz option for improved clang compatibility.

2021-12-21 Thread Eric Gallager via Gcc-patches
On Tue, Dec 14, 2021 at 6:33 PM Jeff Law via Gcc-patches wrote: > > > > On 12/13/2021 5:27 PM, Joseph Myers wrote: > > This is missing an invoke.texi update for the new option. > And that update should probably note that -Oz turns on O2. OK with that > change. > > jeff A news entry for the new o