This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: g++ dies on volatile structs
- To: Bill Currie <bcurrie at tssc dot co dot nz>
- Subject: Re: g++ dies on volatile structs
- From: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Date: 11 Jun 1998 21:24:41 -0300
- Cc: egcs-bugs at cygnus dot com
- References: <357F12DB.4F83@tssc.co.nz>
Bill Currie <bcurrie@tssc.co.nz> writes:
> typedef volatile struct { long x; } X;
> void foo(int i) { X x; x.x=1; }
The latest snapshot of egcs compiles your code sucessfully.
--
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil