public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/47326] New: ICE in tsubst_copy (triggered by dependency of return type on parameter pack size)
@ 2011-01-17  8:02 schmidt-thieme at ismll dot de
  2011-01-17 11:31 ` [Bug c++/47326] " paolo.carlini at oracle dot com
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: schmidt-thieme at ismll dot de @ 2011-01-17  8:02 UTC (permalink / raw)
  To: gcc-bugs

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


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

end of thread, other threads:[~2011-02-16 21:08 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-17  8:02 [Bug c++/47326] New: ICE in tsubst_copy (triggered by dependency of return type on parameter pack size) schmidt-thieme at ismll dot de
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

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