This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: c++ & c differ on 'volatile' interpretations
- To: mark at markmitchell dot com
- Subject: Re: c++ & c differ on 'volatile' interpretations
- From: Robert Lipe <robertl at dgii dot com>
- Date: Thu, 5 Nov 1998 01:04:10 -0600
- Cc: egcs-patches at cygnus dot com
- References: <19981104132339.A25191@dgii.com> <199811050557.VAA08071@smtp.earthlink.net>
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.
>