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]
Other format: [Raw text]

Re: target/5353: GCC/arm runs forever with -O on this file (mhz.c from lmbench)


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

From: Philip Blundell <pb@nexus.co.uk>
To: bjh21@netbsd.org
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: target/5353: GCC/arm runs forever with -O on this file (mhz.c 
 from lmbench)
Date: Thu, 10 Jan 2002 22:53:19 +0000

 >When compiling the attached code with -O, GCC (configured as above) seems to
 >run forever, eating CPU but not leaking memory.  The command line (run from
 >within the GCC source tree) was:
 >
 >./xgcc -da -B. -O -v ~/mhz.i
 >
 >The -da produces dumps up to mhz.i.30.mach.  A workaround is to compile 
 >without -O.  This bug has been present since at least egcs 1.1.2.
 
 Yes, this is something of an old favourite.  I'm surprised it isn't in GNATS
 already.  See, for example:
 
 http://gcc.gnu.org/ml/gcc-bugs/1999-09/msg00321.html
 
 p.
 


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