Arduino 1.0 modify compiler optimization string?

If you want to drop back to 0022 you could use this modified IDE:
http://arduino.cc/forum/index.php/topic,54456.0.html
which allows you specify the options in a preferences file.

As an alternative you could use the mpide IDE which works for both AVR and pic32 based
arduino boards.
It isn't 1.0 either. It has some 1.0 like IDE capabilities but the core is based on 0023.
It allows modifying the compiler and linker options on a per board basis.

https://github.com/chipKIT32/chipKIT32-MAX/downloads

--- bill