[patch, libfortran] Fix PR 21797

Thomas Koenig Thomas.Koenig@online.de
Tue May 31 20:48:00 GMT 2005


Steve Kargl wrote:

> So, if someone who knows what they're doing wants to apply my 
> cexp.m4 patch and test it.  I won't object if you commit the
> change.

I have applied your patch and regenerated the exp_*.c intrinsics.
exp_c8.c is unchanged by this (as it should).

The resulting patch (including the generated files) is applied.
Bubblestrapped and regtested with 4.0 and mainline on
i386-pc-linux-gnu.

OK to commit?

As an aside, the m4 style in cexp.m4 is dangerous - most of the
C code is unquoted, which means that random macro definitions could
get expanded.

2005-05-31  Steven G. Kargl  <kargls@comcast.net>
	    Thomas Koenig  <Thomas.Koenig@online.de>

	PR libfortran/21797
	* m4/cexp.m4 (csqrt`'q):  Adjust sqrt to correct floating
	point type.
	* m4/exp_c4.c:  Regenerated.



More information about the Gcc-patches mailing list