This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/20519] [4.0/4.1 regression] completed type not selected properly with typeof
- From: "rth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Mar 2005 14:53:10 -0000
- Subject: [Bug c/20519] [4.0/4.1 regression] completed type not selected properly with typeof
- References: <20050317143716.20519.rth@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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