[Bug c++/28363] Default template parameter causes compiler segfault
--- Comment #1 from wieseltux23 at gmail dot com 2006-07-13 15:08 --- Subject: Re: New: Default template parameter causes compiler segfault http://earth.google.com/download-earth.html On 7/13/06, DebianTux23 <[EMAIL PROTECTED]> wrote: > http://earth.google.com/download-earth.html > > > On 12 Jul 2006 21:18:46 -, eric dot lemings at roguewave dot com > <[EMAIL PROTECTED]> wrote: > > [EMAIL PROTECTED] tests]$ gcc --version > > gcc (GCC) 4.1.0 > > Copyright (C) 2006 Free Software Foundation, Inc. > > This is free software; see the source for copying conditions. There is NO > > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR > PURPOSE. > > > > [EMAIL PROTECTED] tests]$ cat test01.cpp > > > > template > > < > > class T1, class T2, > > template < int > class T0 = T1, > > > > > struct A { > > }; > > > > [EMAIL PROTECTED] tests]$ g++ -Wall -g test01.cpp -o test01 > > test01.cpp:5: internal compiler error: Segmentation fault > > Please submit a full bug report, > > with preprocessed source if appropriate. > > See http://gcc.gnu.org/bugs.html > for instructions. > > [EMAIL PROTECTED] tests]$ > > > > > > -- > >Summary: Default template parameter causes compiler segfault > >Product: gcc > >Version: 4.1.0 > > Status: UNCONFIRMED > > Severity: major > > Priority: P3 > > Component: c++ > > AssignedTo: unassigned at gcc dot gnu dot org > > ReportedBy: eric dot lemings at roguewave dot com > > > > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28363 > > > > > > -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28363
[Bug c++/28363] Default template parameter causes compiler segfault
--- Comment #2 from wieseltux23 at gmail dot com 2006-07-13 15:09 --- Subject: Re: New: Default template parameter causes compiler segfault http://earth.google.com/download-earth.html https://www.google.com/accounts/ServiceLogin?service=pages&continue=http%3A%2F%2Fpages.google.com%3A80%2F On 7/13/06, DebianTux23 <[EMAIL PROTECTED]> wrote: > http://earth.google.com/download-earth.html > > > On 12 Jul 2006 21:18:46 -, eric dot lemings at roguewave dot com > <[EMAIL PROTECTED]> wrote: > > [EMAIL PROTECTED] tests]$ gcc --version > > gcc (GCC) 4.1.0 > > Copyright (C) 2006 Free Software Foundation, Inc. > > This is free software; see the source for copying conditions. There is NO > > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR > PURPOSE. > > > > [EMAIL PROTECTED] tests]$ cat test01.cpp > > > > template > > < > > class T1, class T2, > > template < int > class T0 = T1, > > > > > struct A { > > }; > > > > [EMAIL PROTECTED] tests]$ g++ -Wall -g test01.cpp -o test01 > > test01.cpp:5: internal compiler error: Segmentation fault > > Please submit a full bug report, > > with preprocessed source if appropriate. > > See http://gcc.gnu.org/bugs.html > for instructions. > > [EMAIL PROTECTED] tests]$ > > > > > > -- > >Summary: Default template parameter causes compiler segfault > >Product: gcc > >Version: 4.1.0 > > Status: UNCONFIRMED > > Severity: major > > Priority: P3 > > Component: c++ > > AssignedTo: unassigned at gcc dot gnu dot org > > ReportedBy: eric dot lemings at roguewave dot com > > > > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28363 > > > > > > -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28363
[Bug target/28102] [4.2 Regression] GNU Hurd bootstrap error: 'OPTION_GLIBC' undeclared
--- Comment #15 from wieseltux23 at gmail dot com 2006-07-15 18:00 --- Subject: Re: [4.2 Regression] GNU Hurd bootstrap error: 'OPTION_GLIBC' undeclared http://en.fon.com/ On 15 Jul 2006 16:14:34 - "pinskia at physics dot uc dot edu" <[EMAIL PROTECTED]> wrote: > > > --- Comment #10 from pinskia at physics dot uc dot edu 2006-07-15 16:14 > --- > Subject: Re: [4.2 Regression] GNU Hurd bootstrap error: 'OPTION_GLIBC' > undeclared > > > On Jul 16, 2006, at 1:10 AM, Andrew Pinski wrote: > > > > Why it is not obvious and I say the patch is incorrect. > > Oh did I forget (again) to say you really should be posting > patches to the gcc-patches mailing list. If you want them > be included. And I still say the patch is incorrect. I already > explained why I thought it was incorrect as linux.h should not > be included. Also the comment in your patch is incorrect > as the definition comes from config/linux.h and not from > config/i386/linux.h. > > -- Pinski > > > -- > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28102 > -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28102
[Bug target/28102] [4.2 Regression] GNU Hurd bootstrap error: 'OPTION_GLIBC' undeclared
--- Comment #16 from wieseltux23 at gmail dot com 2006-07-15 18:01 --- Subject: Re: [4.2 Regression] GNU Hurd bootstrap error: 'OPTION_GLIBC' undeclared http://en.fon.com/ On 15 Jul 2006 16:25:10 - "ams at gnu dot org" <[EMAIL PROTECTED]> wrote: > > > --- Comment #11 from ams at gnu dot org 2006-07-15 16:25 --- > Subject: Re: [4.2 Regression] GNU Hurd bootstrap error: 'OPTION_GLIBC' > undeclared > >> Can you please just apply the patch and close the bug? > >Why it is not obvious and I say the patch is incorrect. > > The patch is correct, that you think that the code we use from > */linux.h should be in */gnu.h is not related to this bug. This is > the setup we have used for almost 10 years, and I see no reason to > change it. The setup works, it minimises the workload on both > parties, and it is clean. > > If you don't want to commit the patch then that is fine, it isn't like > GCC can even compile on the GNU system due to the other bugs with > patches being neglected (mostly by me). > > Happy hacking. > > > -- > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28102 > -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28102