public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/63730] New: C++11 ICE REGRESSION mangling template alias into function template
@ 2014-11-04  4:29 eric.niebler at gmail dot com
  2014-11-04 20:13 ` [Bug c++/63730] " daniel.kruegler at googlemail dot com
  2014-11-25 22:24 ` jason at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: eric.niebler at gmail dot com @ 2014-11-04  4:29 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 63730
           Summary: C++11 ICE REGRESSION mangling template alias into
                    function template
           Product: gcc
           Version: 4.9.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: eric.niebler at gmail dot com

Compile this:

  template <class T>
  using identity_t = T;

  template <template <class> class It>
  void test() {
  }

  int main() {
    test<identity_t>();
  }

For me, with gcc 4.9.2, command-line "g++ -std=gnu++11 -c test.cpp", I get:

test.cpp: In instantiation of ‘void test() [with It = identity_t]’:
test.cpp:12:22:   required from here
test.cpp:6:6: internal compiler error: in write_name, at cp/mangle.c:800
 void test()
      ^

test.cpp:6:6: internal compiler error: Aborted
g++: internal compiler error: Aborted (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


It worked on gcc 4.9.0, but started failing in 4.9.1.
>From gcc-bugs-return-465690-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 04 07:49:24 2014
Return-Path: <gcc-bugs-return-465690-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8419 invoked by alias); 4 Nov 2014 07:49:23 -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 8399 invoked by uid 48); 4 Nov 2014 07:49:18 -0000
From: "simon at pushface dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/42618] Problem reading discriminated values from streams
Date: Tue, 04 Nov 2014 07:49:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: ada
X-Bugzilla-Version: 4.4.2
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: simon at pushface dot org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-42618-4-oJDuQSHrmG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-42618-4@http.gcc.gnu.org/bugzilla/>
References: <bug-42618-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: 2014-11/txt/msg00162.txt.bz2
Content-length: 158

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

--- Comment #3 from simon at pushface dot org ---
This is fixed in 4.9.1 (x86_64-apple-darwin13). Close?


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

end of thread, other threads:[~2014-11-25 22:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-04  4:29 [Bug c++/63730] New: C++11 ICE REGRESSION mangling template alias into function template eric.niebler at gmail dot com
2014-11-04 20:13 ` [Bug c++/63730] " daniel.kruegler at googlemail dot com
2014-11-25 22:24 ` 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).