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

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).