This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: c++/4373


The following reply was made to PR c++/4373; it has been noted by GNATS.

From: Reichelt <reichelt@igpm.rwth-aachen.de>
To: gin@mo.msk.ru, gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org,
        rodrigc@gcc.gnu.org
Cc:  
Subject: Re: c++/4373
Date: Fri, 28 Sep 2001 09:58:04 +0200

 Hi,
 
 here's a smaller testcase that crashes with gcc 3.0:
 
 int f(int);
 
 void g(int i)
 {
   for (;;) {
     if (f(i)) break;
     int j = 0;
   }
 }
 
 void h()
 {
   g(0);
 }
 
 Just compile with g++ -O3 -gdwarf-2 -c <filename>.
 
 Greetings,
 Volker Reichelt
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4373&database=gcc
 
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]