This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/22556] extern array: compatible declaration at function scope refused
- From: "paolo at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 09 Jun 2014 19:29:09 +0000
- Subject: [Bug c++/22556] extern array: compatible declaration at function scope refused
- Auto-submitted: auto-generated
- References: <bug-22556-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22556
--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Mon Jun 9 19:28:37 2014
New Revision: 211385
URL: http://gcc.gnu.org/viewcvs?rev=211385&root=gcc&view=rev
Log:
/cp
2014-06-09 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/22556
* name-lookup.c (pushdecl_maybe_friend_1): Use comptypes.
/testsuite
2014-06-09 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/22556
* g++.dg/other/redecl3.C: New.
Added:
trunk/gcc/testsuite/g++.dg/other/redecl3.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/name-lookup.c
trunk/gcc/testsuite/ChangeLog