On Fri, Jul 25, 2003 at 04:58:35 +0300, Juhana Sadeharju wrote: > >From: [EMAIL PROTECTED] (Ingo Oeser) > > > >For people like you gcc supports -fvolatile. > > > >Your code will be really slow, but you save typing 'volatile' where the > >C-Compiler needs it. > > So, there is no "do not optimize away apperent volatile variables"? > Volatile variables in shmclient are easily recognized -- at least > I recognized them. It is the array variable which content is only > read but never written.
Nothing about that means that its definatly volatile, its just a hint. - Steve