From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31091 invoked by alias); 17 Jan 2011 06:19:35 -0000 Received: (qmail 31082 invoked by uid 22791); 17 Jan 2011 06:19:33 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 17 Jan 2011 06:19:29 +0000 From: "schmidt-thieme at ismll dot de" 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) X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schmidt-thieme at ismll dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Date: Mon, 17 Jan 2011 08:02:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-01/txt/msg01597.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D47326 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=20 compiling the attached file "bug-gcc-ICE-return_type_depends_on_variadic_size.ii" > g++ -std=3Dc++0x bug-gcc-ICE-return_type_depends_on_variadic_size.ii bug-gcc-ICE-return_type_depends_on_variadic_size.cpp: In function =E2=80=98= int main()=E2=80=99: bug-gcc-ICE-return_type_depends_on_variadic_size.cpp:12:8: internal compiler error: in tsubst_copy, at cp/pt.c:11242=20=20=20=20 This bug is similar, but not identical to=20=20 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D47289 reported a couple of days ago by me and meanwhile fixed by Jason=20 Merrill -- thank you a a lot ! (as gcc/testsuite/g++.dg/cpp0x/variadic105.C= =20 now does not throw an ICE anymore.) gcc was build from source and configured via > configure --prefix=3D/opt/prog/gcc/ -enable-languages=3Dc,c++,fortran --d= isable-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