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/20519] [4.0/4.1 regression] completed type not selected properly with typeof


------- Additional Comments From rth at gcc dot gnu dot org  2005-03-17 14:53 -------
Smaller test case with 

const char foo[] = "libc";
__typeof (foo) bar;

though this gives a different diagnostic:

z.c:2: warning: array ?bar? assumed to have one element


-- 


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


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