c/4374: rejects repetition of compatible typedefs

pekof@playgate.rasip.fer.hr pekof@playgate.rasip.fer.hr
Fri Sep 21 12:06:00 GMT 2001


>Number:         4374
>Category:       c
>Synopsis:       rejects repetition of compatible typedefs
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          rejects-legal
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 21 12:06:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     pekof@playgate.rasip.fer.hr
>Release:        unknown-1.0
>Organization:
>Environment:

>Description:
rejects repetition of compatible typedefs
which by standard should not do 
this is legal acording to my references
typedef int I;
typedef int I;
typedef I I; /*even this but I could live with out it*/
>How-To-Repeat:
typedef unsigned char BYTE;
typedef unsigned char BYTE;
>Fix:
something within cp/semantics.c
more verificaation or so
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list