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

Alexandre Oliva oliva@dcc.unicamp.br
Mon Oct 26 21:03:00 GMT 1998


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.

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:oliva@gnu.org mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil




More information about the Gcc-bugs mailing list