optimization/8541: Alpha architecture: Wrong code with -O1 and higher (Regression from 2.95)

Christian Cornelssen ccorn@cs.tu-berlin.de
Tue Nov 19 15:07:00 GMT 2002


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

From: Christian Cornelssen <ccorn@cs.tu-berlin.de>
To: Christoph Ludwig <cludwig@cdc.informatik.tu-darmstadt.de>
Cc: Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>,
	<gcc-gnats@gcc.gnu.org>
Subject: Re: optimization/8541: Alpha architecture: Wrong code with -O1 and
 higher (Regression from 2.95)
Date: Tue, 12 Nov 2002 15:11:39 +0100 (CET)

 Hello,
 
 On Tue, 12 Nov 2002, Christoph Ludwig wrote:
 
 > On Tue, Nov 12, 2002 at 01:01:25PM +0100, Falk Hueffner wrote:
 > >
 > >   // a1 * RADIX + a0 = quot * b + RV
 > >   inline udigit
 > >   divide (udigit & quot, udigit a1, udigit a0, udigit b)
 > >   {
 > >     udigit a[2] = { a0, a1 };
 > >     return mpn_divrem_1(&quot, 0, a, 2, b);
 > >   }
 
 That is, we need to replace 2 -> 2*sizeof(udigit)/sizeof(mp_limb_t).
 But that does not explain the "random behavior of comparisons"...
 
 Regards,
 
 Christian Cornelssen
 



More information about the Gcc-prs mailing list