[gfortran,patch] Fix constant exponentiation with integer exponent

Jerry DeLisle jvdelisle@verizon.net
Fri Mar 23 04:39:00 GMT 2007


FX Coudert wrote:
>> Well I tried again and I get massive memory usage and runaway 
>> processes.  The culprit is f951 when trying to compile 
>> integer_exponentiation_3.F90.
>>
>> The patch went in clean and built fine, but it no worky here.  I must 
>> be missing something.
>>
>> X86-64-Gnu/Linux
> 
> Regtested fine on x86_64-linux, both with -m32 and -m64 (Scientific 
> Linux SL release 4.3 / glibc-2.3.4). Don't know what I can do. What 
> GMP/MPFR version do you have? Did you run "make check" on it? If you set 
> memory limits, what function is running when the limit is reached?
> 
> Thanks, and sorry we have to go through all this,
> FX
> 
Good news.  I bootstrapped all in a fresh clean directory and all passed fine.

+
+		/* Sill, we want to give the same value as the processor.  */
+		mpz_init (max);

Sill should be Still

OK for trunk.

Cheers,

Jerry



More information about the Gcc-patches mailing list