I am using cc (GCC) 3.4.2 [FreeBSD] 20040728 and find that the -fvolatile switch has gone away. I used this in previous versions as my code accessed a shared memory segment indirectly (and not so indirectly).
http://gcc.gnu.org/ml/gcc-patches/2003-01/msg01447.html I see that this has been removed on the 1st of Jan 2003 .
This was in response to PR 6059 , can be found at http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6059
cheers Ramana