[Bug c/20519] [4.0/4.1 regression] completed type not selected properly with typeof

rth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Mar 17 14:56:00 GMT 2005


------- 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



More information about the Gcc-bugs mailing list