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: redefinition of typedef


Dai ARAKI <araki@ics.uci.edu> writes:

> Redefinition of "typedef" (the definitions are the same) in my source code 
> causes compile error on egcs-1.1

Yup, this is a bug in the way egcs handles redefinition of complex
typedefs.  For simple types, it appears to work, but it fails for
redefinition of typedefs that depend on other redefined typedefs.

typedef int t;
typedef t* u;
typedef int t;
typedef t* u;

Jason, may I install this in the testsuite?

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



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