public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/65061] New: [4.8/4.9/5 Regression] Issue with using declaration and member class template
@ 2015-02-14  0:01 paolo.carlini at oracle dot com
  2015-02-14  0:03 ` [Bug c++/65061] " paolo.carlini at oracle dot com
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: paolo.carlini at oracle dot com @ 2015-02-14  0:01 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65061

            Bug ID: 65061
           Summary: [4.8/4.9/5 Regression] Issue with using declaration
                    and member class template
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: paolo.carlini at oracle dot com

Noticed while working on c++/60894. Between 4.6 and 4.7 we started rejecting
the below:

struct B
{
  template<typename T>
  struct S {};
};

struct D : B
{
  using B::S;

  template<typename T>
  void doIt(/*struct*/ S<T>&);
};


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug c++/65061] [4.8/4.9/5 Regression] Issue with using declaration and member class template
  2015-02-14  0:01 [Bug c++/65061] New: [4.8/4.9/5 Regression] Issue with using declaration and member class template paolo.carlini at oracle dot com
@ 2015-02-14  0:03 ` paolo.carlini at oracle dot com
  2015-02-16  9:42 ` rguenth at gcc dot gnu.org
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: paolo.carlini at oracle dot com @ 2015-02-14  0:03 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65061

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-02-14
                 CC|                            |jason at gcc dot gnu.org
      Known to work|                            |4.6.4
            Version|4.9.0                       |5.0
     Ever confirmed|0                           |1
      Known to fail|                            |4.9.2, 5.0


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug c++/65061] [4.8/4.9/5 Regression] Issue with using declaration and member class template
  2015-02-14  0:01 [Bug c++/65061] New: [4.8/4.9/5 Regression] Issue with using declaration and member class template paolo.carlini at oracle dot com
  2015-02-14  0:03 ` [Bug c++/65061] " paolo.carlini at oracle dot com
@ 2015-02-16  9:42 ` rguenth at gcc dot gnu.org
  2015-02-16  9:42 ` rguenth at gcc dot gnu.org
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-02-16  9:42 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65061

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
   Target Milestone|---                         |4.8.5


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug c++/65061] [4.8/4.9/5 Regression] Issue with using declaration and member class template
  2015-02-14  0:01 [Bug c++/65061] New: [4.8/4.9/5 Regression] Issue with using declaration and member class template paolo.carlini at oracle dot com
  2015-02-14  0:03 ` [Bug c++/65061] " paolo.carlini at oracle dot com
  2015-02-16  9:42 ` rguenth at gcc dot gnu.org
@ 2015-02-16  9:42 ` rguenth at gcc dot gnu.org
  2015-02-23 19:54 ` jakub at gcc dot gnu.org
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-02-16  9:42 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65061

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug c++/65061] [4.8/4.9/5 Regression] Issue with using declaration and member class template
  2015-02-14  0:01 [Bug c++/65061] New: [4.8/4.9/5 Regression] Issue with using declaration and member class template paolo.carlini at oracle dot com
                   ` (2 preceding siblings ...)
  2015-02-16  9:42 ` rguenth at gcc dot gnu.org
@ 2015-02-23 19:54 ` jakub at gcc dot gnu.org
  2015-02-26 22:15 ` paolo.carlini at oracle dot com
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-02-23 19:54 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65061

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
It started to be rejected with r181359.


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug c++/65061] [4.8/4.9/5 Regression] Issue with using declaration and member class template
  2015-02-14  0:01 [Bug c++/65061] New: [4.8/4.9/5 Regression] Issue with using declaration and member class template paolo.carlini at oracle dot com
                   ` (3 preceding siblings ...)
  2015-02-23 19:54 ` jakub at gcc dot gnu.org
@ 2015-02-26 22:15 ` paolo.carlini at oracle dot com
  2015-03-16 15:55 ` jason at gcc dot gnu.org
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: paolo.carlini at oracle dot com @ 2015-02-26 22:15 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65061

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fabien.chene at gmail dot com

--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Let's add Fabien in CC.


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug c++/65061] [4.8/4.9/5 Regression] Issue with using declaration and member class template
  2015-02-14  0:01 [Bug c++/65061] New: [4.8/4.9/5 Regression] Issue with using declaration and member class template paolo.carlini at oracle dot com
                   ` (4 preceding siblings ...)
  2015-02-26 22:15 ` paolo.carlini at oracle dot com
@ 2015-03-16 15:55 ` jason at gcc dot gnu.org
  2015-03-17 17:39 ` jason at gcc dot gnu.org
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: jason at gcc dot gnu.org @ 2015-03-16 15:55 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65061

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jason at gcc dot gnu.org


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug c++/65061] [4.8/4.9/5 Regression] Issue with using declaration and member class template
  2015-02-14  0:01 [Bug c++/65061] New: [4.8/4.9/5 Regression] Issue with using declaration and member class template paolo.carlini at oracle dot com
                   ` (5 preceding siblings ...)
  2015-03-16 15:55 ` jason at gcc dot gnu.org
@ 2015-03-17 17:39 ` jason at gcc dot gnu.org
  2015-05-22  9:51 ` [Bug c++/65061] [4.8/4.9 " paolo.carlini at oracle dot com
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: jason at gcc dot gnu.org @ 2015-03-17 17:39 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65061

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Mar 17 17:38:25 2015
New Revision: 221478

URL: https://gcc.gnu.org/viewcvs?rev=221478&root=gcc&view=rev
Log:
    PR c++/65061
    * parser.c (cp_parser_template_name): Call strip_using_decl.

Added:
    trunk/gcc/testsuite/g++.dg/inherit/using8.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug c++/65061] [4.8/4.9 Regression] Issue with using declaration and member class template
  2015-02-14  0:01 [Bug c++/65061] New: [4.8/4.9/5 Regression] Issue with using declaration and member class template paolo.carlini at oracle dot com
                   ` (6 preceding siblings ...)
  2015-03-17 17:39 ` jason at gcc dot gnu.org
@ 2015-05-22  9:51 ` paolo.carlini at oracle dot com
  2015-05-22  9:54 ` paolo.carlini at oracle dot com
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: paolo.carlini at oracle dot com @ 2015-05-22  9:51 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65061

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rs2740 at gmail dot com

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> ---
*** Bug 65415 has been marked as a duplicate of this bug. ***


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug c++/65061] [4.8/4.9 Regression] Issue with using declaration and member class template
  2015-02-14  0:01 [Bug c++/65061] New: [4.8/4.9/5 Regression] Issue with using declaration and member class template paolo.carlini at oracle dot com
                   ` (7 preceding siblings ...)
  2015-05-22  9:51 ` [Bug c++/65061] [4.8/4.9 " paolo.carlini at oracle dot com
@ 2015-05-22  9:54 ` paolo.carlini at oracle dot com
  2015-06-23  8:20 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: paolo.carlini at oracle dot com @ 2015-05-22  9:54 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65061

--- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Jason, shall we just close this as fixed in 5.1, or we want to try backporting
the simple fix to 4_9-branch?


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug c++/65061] [4.8/4.9 Regression] Issue with using declaration and member class template
  2015-02-14  0:01 [Bug c++/65061] New: [4.8/4.9/5 Regression] Issue with using declaration and member class template paolo.carlini at oracle dot com
                   ` (8 preceding siblings ...)
  2015-05-22  9:54 ` paolo.carlini at oracle dot com
@ 2015-06-23  8:20 ` rguenth at gcc dot gnu.org
  2015-06-26 19:57 ` [Bug c++/65061] [4.9 " jakub at gcc dot gnu.org
  2015-06-26 20:28 ` jakub at gcc dot gnu.org
  11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-06-23  8:20 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65061

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.8.5                       |4.9.3

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
The gcc-4_8-branch is being closed, re-targeting regressions to 4.9.3.


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug c++/65061] [4.9 Regression] Issue with using declaration and member class template
  2015-02-14  0:01 [Bug c++/65061] New: [4.8/4.9/5 Regression] Issue with using declaration and member class template paolo.carlini at oracle dot com
                   ` (9 preceding siblings ...)
  2015-06-23  8:20 ` rguenth at gcc dot gnu.org
@ 2015-06-26 19:57 ` jakub at gcc dot gnu.org
  2015-06-26 20:28 ` jakub at gcc dot gnu.org
  11 siblings, 0 replies; 13+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-06-26 19:57 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65061

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 4.9.3 has been released.


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug c++/65061] [4.9 Regression] Issue with using declaration and member class template
  2015-02-14  0:01 [Bug c++/65061] New: [4.8/4.9/5 Regression] Issue with using declaration and member class template paolo.carlini at oracle dot com
                   ` (10 preceding siblings ...)
  2015-06-26 19:57 ` [Bug c++/65061] [4.9 " jakub at gcc dot gnu.org
@ 2015-06-26 20:28 ` jakub at gcc dot gnu.org
  11 siblings, 0 replies; 13+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-06-26 20:28 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65061

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.9.3                       |4.9.4


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2015-06-26 20:28 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-14  0:01 [Bug c++/65061] New: [4.8/4.9/5 Regression] Issue with using declaration and member class template paolo.carlini at oracle dot com
2015-02-14  0:03 ` [Bug c++/65061] " paolo.carlini at oracle dot com
2015-02-16  9:42 ` rguenth at gcc dot gnu.org
2015-02-16  9:42 ` rguenth at gcc dot gnu.org
2015-02-23 19:54 ` jakub at gcc dot gnu.org
2015-02-26 22:15 ` paolo.carlini at oracle dot com
2015-03-16 15:55 ` jason at gcc dot gnu.org
2015-03-17 17:39 ` jason at gcc dot gnu.org
2015-05-22  9:51 ` [Bug c++/65061] [4.8/4.9 " paolo.carlini at oracle dot com
2015-05-22  9:54 ` paolo.carlini at oracle dot com
2015-06-23  8:20 ` rguenth at gcc dot gnu.org
2015-06-26 19:57 ` [Bug c++/65061] [4.9 " jakub at gcc dot gnu.org
2015-06-26 20:28 ` jakub at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).