public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/58599] [c++11] Trouble with non-static data member initializers in templates
Date: Fri, 04 Oct 2013 07:57:00 -0000	[thread overview]
Message-ID: <bug-58599-4-jO077li6bX@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-58599-4@http.gcc.gnu.org/bugzilla/>

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58599

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Gah, sorry, you're right.  In fact, started with r179156:

$ ./cc1plus-179156 -quiet -std=c++0x ~/x.C
/home/polacek/x.C: In substitution of ‘template<class, class ...>
template<class> int A<0>::B::foo() [with <template-parameter-2-1> = <missing>,
<template-parameter-1-1> = int, <template-parameter-1-2> = <missing>]’:
/home/polacek/x.C:9:22:   required from here
/home/polacek/x.C:7:28: internal compiler error: tree check: accessed elt 2 of
tree_vec with 1 elts in tsubst_pack_expansion, at cp/pt.c:9153
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
>From gcc-bugs-return-431064-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Oct 04 08:08:24 2013
Return-Path: <gcc-bugs-return-431064-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 19180 invoked by alias); 4 Oct 2013 08:08: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 19132 invoked by uid 48); 4 Oct 2013 08:08:19 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/58597] [c++11] ICE with lambda in default argument of template function
Date: Fri, 04 Oct 2013 08:08: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: 4.9.0
X-Bugzilla-Keywords: ice-on-valid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: NEW
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-58597-4-zwez35vVcG@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-58597-4@http.gcc.gnu.org/bugzilla/>
References: <bug-58597-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: 2013-10/txt/msg00208.txt.bz2
Content-length: 221

http://gcc.gnu.org/bugzilla/show_bug.cgi?idX597

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Yeah, indeed :(.  As it's too old, I don't have enough cc1plus binaries to
really bisect it.  Sorry.


  parent reply	other threads:[~2013-10-04  7:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-02 20:51 [Bug c++/58599] New: " reichelt at gcc dot gnu.org
2013-10-03 10:21 ` [Bug c++/58599] " mpolacek at gcc dot gnu.org
2013-10-03 23:55 ` paolo.carlini at oracle dot com
2013-10-04  7:57 ` mpolacek at gcc dot gnu.org [this message]
2013-11-15 20:32 ` reichelt at gcc dot gnu.org
2013-11-15 20:36 ` paolo.carlini at oracle dot com
2013-11-15 23:17 ` paolo at gcc dot gnu.org
2013-11-15 23:19 ` paolo.carlini at oracle dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-58599-4-jO077li6bX@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).