egcs-1.1b BUG ? typeof() not working inside union or struct without tag

Mumit Khan khan@xraylith.wisc.edu
Mon Oct 26 22:44:00 GMT 1998


Alexandre Oliva <oliva@dcc.unicamp.br> writes:
> Martin Cornelius <Elke.Hadtstein@t-online.de> writes:
> 
> >   union  {
> >     typeof (y) a;
> >     int b;
> >   } a;
> 
> > however, if you give the union a tag, it compiles !
> 
> I believe Jason Merrill has installed a fix for this problem in the
> last few days.

Martin,

In case you're not on egcs-patches list, Alexandre is referring to
<URL: http://www.cygnus.com/ml/egcs-patches/1998-Oct/0586.html >.

It should cleanly patch into egcs-1.1b ...

Regards,
Mumit




More information about the Gcc-bugs mailing list