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/5505: Doubts about a patch for OSF


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

From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
To: Richard.Kreckel@Uni-Mainz.DE
Cc: gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Subject: Re: target/5505: Doubts about a patch for OSF
Date: Mon, 25 Feb 2002 17:25:52 +0100 (MET)

 Richard B. Kreckel writes:
 
 > Sorry, silly me.  I've attached an old case and that index out of bound
 > has been fixed in the real sources ages ago.  However, the crash I see
 > seems to have nothing to do with this line!  Modifying the condition such
 > that j==0 does not happen still results in a crashing program when
 > compiled with -O2 -fno-exceptions and a working program when compiled with
 > -O2 alone.  There is an example modified accordingly attached to this
 > email and this time I have made sure it also runs with -lefence and stuff.
 
 ok, thanks.
 
 > If you have some time, it would be nice if you could confirm the
 > dependence on -fno-exceptions before I start stripping that down.  Thanks!
 
 Indeed: the test program works (i.e. doesn't crash) at -O2 and -O1
 -fno-exceptions, but SEGVs at -O2 -fno-exceptions.
 
 	Rainer
 


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