This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [committed] Make -fno-delayed-branch imply -Wa,-O1 on MIPS
- From: Richard Sandiford <rdsandiford at googlemail dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Toshi Morita <tm314159 at yahoo dot com>
- Date: Sun, 22 May 2011 22:49:58 +0100
- Subject: Re: [committed] Make -fno-delayed-branch imply -Wa,-O1 on MIPS
- References: <87ipt24dz4.fsf@firetop.home>
Richard Sandiford <rdsandiford@googlemail.com> writes:
> this patch makes -fno-delayed-branch imply -Wa,-O1. It also makes
> sure that we explicitly assemble with -O0 by default.
Um, I meant -O1. The point is that -Wa,-O0 vs -Wa,-O1 isn't really an
optimization decision; -O0 just inserts nops that weren't even implied
by the source code (at least, not unless you happen to know the GAS
internals).
Richard