public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "schmidt-thieme at ismll dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/47326] New: ICE in tsubst_copy (triggered by dependency of return type on parameter pack size)
Date: Mon, 17 Jan 2011 08:02:00 -0000	[thread overview]
Message-ID: <bug-47326-4@http.gcc.gnu.org/bugzilla/> (raw)

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

           Summary: ICE in tsubst_copy (triggered by dependency of return
                    type on parameter pack size)
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: schmidt-thieme@ismll.de


gcc (snapshot gcc-4.6-20110115) throws an internal compiler error when 
compiling the attached file
"bug-gcc-ICE-return_type_depends_on_variadic_size.ii"

> g++ -std=c++0x bug-gcc-ICE-return_type_depends_on_variadic_size.ii
bug-gcc-ICE-return_type_depends_on_variadic_size.cpp: In function ‘int main()’:
bug-gcc-ICE-return_type_depends_on_variadic_size.cpp:12:8: internal compiler
error:
 in tsubst_copy, at cp/pt.c:11242    

This bug is similar, but not identical to  
  http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47289
reported a couple of days ago by me and meanwhile fixed by Jason 
Merrill -- thank you a a lot ! (as gcc/testsuite/g++.dg/cpp0x/variadic105.C 
now does not throw an ICE anymore.)

gcc was build from source and configured via
> configure --prefix=/opt/prog/gcc/ -enable-languages=c,c++,fortran --disable-multilib
on ubuntu
> uname -a
Linux lst-desktop 2.6.32-24-generic #39-Ubuntu SMP Wed Jul 28 05:14:15 UTC 2010
x86_64 GNU/Linux


             reply	other threads:[~2011-01-17  6:19 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-17  8:02 schmidt-thieme at ismll dot de [this message]
2011-01-17 11:31 ` [Bug c++/47326] " paolo.carlini at oracle dot com
2011-01-17 16:03 ` hjl.tools at gmail dot com
2011-01-17 22:34 ` schmidt-thieme at ismll dot de
2011-01-18 14:21 ` [Bug c++/47326] [4.4/4.5/4.6 Regression] " hjl.tools at gmail dot com
2011-02-08 14:16 ` rguenth at gcc dot gnu.org
2011-02-08 14:36 ` redi at gcc dot gnu.org
2011-02-16 13:39 ` [Bug c++/47326] [4.4/4.5/4.6 Regression][C++0x] " dodji at gcc dot gnu.org
2011-02-16 16:31 ` dodji at gcc dot gnu.org
2011-02-16 20:45 ` dodji at gcc dot gnu.org
2011-02-16 21:09 ` dodji at gcc dot gnu.org

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-47326-4@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).