This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: c++ & c differ on 'volatile' interpretations



Hi, Mark.

Mark Mitchell wrote:

>   Here's the fix.

With that fix installed, I can confirm that not only does the error
message go away, but quick inspection of the generated code looks sane.

I can now build and boot one of my embedded mips systems if compiled
(fully) with EGCS with -O3.  If 'volatile' were very broken, the dma
controllers on this thing would have trampled the thing to death within
microseconds. :-)


Thanx, Mark!
RJL




> 1998-11-04  Mark Mitchell  <mark@markmitchell.com>
> 
> 	* cp-tree.h (CP_TYPE_CONST_P): Make {0,1}-valued.
> 	(CP_TYPE_VOLATILE_P): Likewise.
> 	(CP_TYPE_RESTRICT_P): Likewise.
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]