[Bug c++/60894] [4.8/4.9/5 Regression] Use of redundant struct keyword in function prototype combined with using statement causes compilation error

2015-02-13 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60894

--- Comment #13 from paolo at gcc dot gnu.org paolo at gcc dot gnu.org ---
Author: paolo
Date: Fri Feb 13 23:57:10 2015
New Revision: 220702

URL: https://gcc.gnu.org/viewcvs?rev=220702root=gccview=rev
Log:
/cp
2015-02-13  Paolo Carlini  paolo.carl...@oracle.com

PR c++/60894
* decl.c (lookup_and_check_tag): Use strip_using_decl.

/testsuite
2015-02-13  Paolo Carlini  paolo.carl...@oracle.com

PR c++/60894
* g++.dg/lookup/using54.C: New.

Added:
trunk/gcc/testsuite/g++.dg/lookup/using54.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/testsuite/ChangeLog


[Bug c++/60894] [4.8/4.9/5 Regression] Use of redundant struct keyword in function prototype combined with using statement causes compilation error

2014-12-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60894

Jakub Jelinek jakub at gcc dot gnu.org changed:

   What|Removed |Added

   Target Milestone|4.8.4   |4.8.5

--- Comment #12 from Jakub Jelinek jakub at gcc dot gnu.org ---
GCC 4.8.4 has been released.


[Bug c++/60894] [4.8/4.9/5 Regression] Use of redundant struct keyword in function prototype combined with using statement causes compilation error

2014-12-01 Thread fabien at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60894

--- Comment #11 from fabien at gcc dot gnu.org ---
I posted a patch here:
https://gcc.gnu.org/ml/gcc-patches/2014-09/msg02190.html


[Bug c++/60894] [4.8/4.9/5 Regression] Use of redundant struct keyword in function prototype combined with using statement causes compilation error

2014-11-26 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60894

--- Comment #10 from Paolo Carlini paolo.carlini at oracle dot com ---
Fabien?


[Bug c++/60894] [4.8/4.9/5 Regression] Use of redundant struct keyword in function prototype combined with using statement causes compilation error

2014-09-14 Thread fabien at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60894

--- Comment #9 from fabien at gcc dot gnu.org ---
(In reply to Jason Merrill from comment #8)
 (In reply to fabien from comment #6)
  I looked into it but did not manage to get it fixed. I will have another try
  this week. Thanks for the reminder.
 
 Ping?

I have a patch for it, but not perfect as it triggers a minor diagnostic
regression about class-type redefinition in presence of using decl at class
scope. The using decl is no longer mentioned in the diagnostic... I'll try to
make it work, otherwise I would ask you some help...


[Bug c++/60894] [4.8/4.9/5 Regression] Use of redundant struct keyword in function prototype combined with using statement causes compilation error

2014-09-12 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60894

Jason Merrill jason at gcc dot gnu.org changed:

   What|Removed |Added

  Known to fail|4.10.0  |5.0

--- Comment #8 from Jason Merrill jason at gcc dot gnu.org ---
(In reply to fabien from comment #6)
 I looked into it but did not manage to get it fixed. I will have another try
 this week. Thanks for the reminder.

Ping?