public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: optimization/4238
@ 2001-09-05 11:46 Reichelt
  0 siblings, 0 replies; only message in thread
From: Reichelt @ 2001-09-05 11:46 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR optimization/4238; it has been noted by GNATS.

From: Reichelt <reichelt@igpm.rwth-aachen.de>
To: gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org, artem@zavtra.ru
Cc:  
Subject: Re: optimization/4238
Date: Wed, 5 Sep 2001 20:47:44 +0200

 Hi,
 
 a smaller test case for this bug is the following piece of code:
 
 template<class T> struct A
 {
     void f()
     {
         struct B { B(int){} };
         B b(0);
     }
 };
 
 
 void g()
 {
     A<void> a;
     a.f();
 }
 
 
 It crashes gcc 3.0 on a LINUX box as well as gcc 3.0 and the 20010903
 snapshot of gcc 3.0.2 (prerelease) on an IRIX box.
 And you only need -O to get the crash. ;-)
 
 Greetings,
 Volker Reichelt
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4238&database=gcc
 
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-09-05 11:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-05 11:46 optimization/4238 Reichelt

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