This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

[Bug c/20043] [4.0 Regression] transparent_union doesn't allow restrict qualifier removal


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-17 23:25 -------
What is werid is that 3.4.0 rejects the follow "legal" code though:
typedef union { int *__restrict i; long *__restrict l; } u __attribute__((transparent_union));

extern void foobar(u arg);
extern void foobar(int *__restrict);

Though 4.0.0 does compile it so we traded one bug for another.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20043


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