public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/65333] New: [5 Regression] error: incomplete type used in nested name specifier
@ 2015-03-06 13:56 trippels at gcc dot gnu.org
  2015-03-06 13:58 ` [Bug c++/65333] " rguenth at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-03-06 13:56 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 65333
           Summary: [5 Regression] error: incomplete type used in nested
                    name specifier
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: trippels at gcc dot gnu.org
                CC: jason at gcc dot gnu.org

The testcase from PR65328 shows:

markus@x4 fatal % cat sequence.ii
template <typename T, T... Values> struct A
{
  using type = int;
  template <type... Suffix> using array = A<type, Values..., Suffix...>;
  void
  m_fn1 ()
  {
    array<>::data;
  }
};
markus@x4 fatal % g++ -std=c++11 -c sequence.ii
sequence.ii: In member function ‘void A<T, Values>::m_fn1()’:
sequence.ii:8:5: error: incomplete type ‘A<T, Values>::array<> {aka A<int,
Values ...>}’ used in nested name specifier
     array<>::data;
     ^

4.8, 4.9, EDG and clang accept the code.
>From gcc-bugs-return-479577-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Mar 06 13:58:18 2015
Return-Path: <gcc-bugs-return-479577-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42364 invoked by alias); 6 Mar 2015 13:58:18 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 42026 invoked by uid 48); 6 Mar 2015 13:58:14 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/65332] [5 Regression] error:=?UTF-8?Q? expected template-name before ‘?=<=?UTF-8?Q?’ token?Date: Fri, 06 Mar 2015 13:58:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-65332-4-osIBykiWVK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65332-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65332-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-03/txt/msg00721.txt.bz2
Content-length: 292

https://gcc.gnu.org/bugzilla/show_bug.cgi?ide332

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |5.0


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

* [Bug c++/65333] [5 Regression] error: incomplete type used in nested name specifier
  2015-03-06 13:56 [Bug c++/65333] New: [5 Regression] error: incomplete type used in nested name specifier trippels at gcc dot gnu.org
@ 2015-03-06 13:58 ` rguenth at gcc dot gnu.org
  2015-03-07 12:55 ` jakub at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-03-06 13:58 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |5.0


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

* [Bug c++/65333] [5 Regression] error: incomplete type used in nested name specifier
  2015-03-06 13:56 [Bug c++/65333] New: [5 Regression] error: incomplete type used in nested name specifier trippels at gcc dot gnu.org
  2015-03-06 13:58 ` [Bug c++/65333] " rguenth at gcc dot gnu.org
@ 2015-03-07 12:55 ` jakub at gcc dot gnu.org
  2015-03-10 16:42 ` jason at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-03-07 12:55 UTC (permalink / raw)
  To: gcc-bugs

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

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> ---
Started with r217250 aka DR 1558.


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

* [Bug c++/65333] [5 Regression] error: incomplete type used in nested name specifier
  2015-03-06 13:56 [Bug c++/65333] New: [5 Regression] error: incomplete type used in nested name specifier trippels at gcc dot gnu.org
  2015-03-06 13:58 ` [Bug c++/65333] " rguenth at gcc dot gnu.org
  2015-03-07 12:55 ` jakub at gcc dot gnu.org
@ 2015-03-10 16:42 ` jason at gcc dot gnu.org
  2015-03-10 16:44 ` jason at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu.org @ 2015-03-10 16:42 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2015-03-10
           Assignee|unassigned at gcc dot gnu.org      |jason at gcc dot gnu.org
     Ever confirmed|0                           |1


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

* [Bug c++/65333] [5 Regression] error: incomplete type used in nested name specifier
  2015-03-06 13:56 [Bug c++/65333] New: [5 Regression] error: incomplete type used in nested name specifier trippels at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2015-03-10 16:42 ` jason at gcc dot gnu.org
@ 2015-03-10 16:44 ` jason at gcc dot gnu.org
  2015-03-10 17:45 ` jason at gcc dot gnu.org
  2015-03-10 18:04 ` jason at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu.org @ 2015-03-10 16:44 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
*** Bug 65332 has been marked as a duplicate of this bug. ***


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

* [Bug c++/65333] [5 Regression] error: incomplete type used in nested name specifier
  2015-03-06 13:56 [Bug c++/65333] New: [5 Regression] error: incomplete type used in nested name specifier trippels at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2015-03-10 16:44 ` jason at gcc dot gnu.org
@ 2015-03-10 17:45 ` jason at gcc dot gnu.org
  2015-03-10 18:04 ` jason at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu.org @ 2015-03-10 17:45 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Mar 10 17:44:48 2015
New Revision: 221328

URL: https://gcc.gnu.org/viewcvs?rev=221328&root=gcc&view=rev
Log:
    PR c++/65333
    DR 1558
    * pt.c (dependent_type_p_r): Check both class and alias template args.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/alias-decl-47.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c


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

* [Bug c++/65333] [5 Regression] error: incomplete type used in nested name specifier
  2015-03-06 13:56 [Bug c++/65333] New: [5 Regression] error: incomplete type used in nested name specifier trippels at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2015-03-10 17:45 ` jason at gcc dot gnu.org
@ 2015-03-10 18:04 ` jason at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu.org @ 2015-03-10 18:04 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed.


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

end of thread, other threads:[~2015-03-10 18:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-06 13:56 [Bug c++/65333] New: [5 Regression] error: incomplete type used in nested name specifier trippels at gcc dot gnu.org
2015-03-06 13:58 ` [Bug c++/65333] " rguenth at gcc dot gnu.org
2015-03-07 12:55 ` jakub at gcc dot gnu.org
2015-03-10 16:42 ` jason at gcc dot gnu.org
2015-03-10 16:44 ` jason at gcc dot gnu.org
2015-03-10 17:45 ` jason at gcc dot gnu.org
2015-03-10 18:04 ` jason 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).