https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104424
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|VERIFIED |RESOLVED --- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- The flag does not exist (and cannot be used) in the official GCC releases. Maybe you are using a modified GCC provided by a third party, so that the switch is silently ignored and doesn't give an error. In that case, you should ask whoever provided you with that build. The documentation on gcc.gnu.org applies to official releases, and -fvolatile gives an error for those: $ /home/jwakely/gcc/4.1.2/bin/gcc -x c /dev/null -fvolatile cc1: error: unrecognized command line option "-fvolatile" $ /home/jwakely/gcc/4.3.6/bin/gcc -x c /dev/null -fvolatile cc1: error: unrecognized command line option "-fvolatile"