This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFA] Optimize a/CONST with -Os too
- From: Denys Vlasenko <dvlasenk at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Vladimir Makarov <vmakarov at redhat dot com>, ubizjak at gmail dot com
- Date: Fri, 1 Aug 2008 13:52:19 +0200
- Subject: Re: [RFA] Optimize a/CONST with -Os too
- References: <488F34B2.80502@redhat.com> <489200B1.5090808@redhat.com> <200808011347.14499.dvlasenk@redhat.com>
On Friday 01 August 2008 01:47:14 pm Denys Vlasenko wrote:
> gcc -O2 usually optimizes a/CONST. In many cases code is not only significantly
> faster, but also smaller:
>
> Unfortunately, gcc -S never uses this optimization.
Awww no. I meant "gcc -Os".
--
vda