Re: [committed] Make -fno-delayed-branch imply -Wa,-O1 on MIPS

2011-05-22 Thread Richard Sandiford
Richard Sandiford 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 t

[committed] Make -fno-delayed-branch imply -Wa,-O1 on MIPS

2011-05-22 Thread Richard Sandiford
Following the discussion here: http://gcc.gnu.org/ml/gcc/2011-05/msg00216.html this patch makes -fno-delayed-branch imply -Wa,-O1. It also makes sure that we explicitly assemble with -O0 by default. (Previously, we'd assemble with -O0 if the user specified -O0, but assemble with the default