When did 'pragma optimize' become available?
Apparently in 4.4 (https://gcc.gnu.org/gcc-4.4/changes.html). dw