--- Comment #6 from janis at gcc dot gnu dot org 2009-02-25 22:09 ---
Subject: Bug 36578
Author: janis
Date: Wed Feb 25 22:08:55 2009
New Revision: 144436
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=144436
Log:
2009-02-25 Janis Johnson janis...@us.ibm.com
gcc/
--- Comment #4 from jsm28 at gcc dot gnu dot org 2008-10-29 17:06 ---
Subject: Bug 36578
Author: jsm28
Date: Wed Oct 29 17:05:42 2008
New Revision: 141432
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=141432
Log:
PR middle-end/36578
* convert.c (convert_to_real):
--- Comment #5 from jsm28 at gcc dot gnu dot org 2008-10-29 17:12 ---
Fixed for 4.4.
--
jsm28 at gcc dot gnu dot org changed:
What|Removed |Added
Status|NEW
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-06-21 16:41 ---
Testcase
double foo (double x, double y)
{
return (long double)x * (long double)y;
}
where we fold the multiplication to x * y. This is only ok with
-funsafe-math-optimizations (like any other conversions
--- Comment #3 from joseph at codesourcery dot com 2008-06-21 16:58 ---
Subject: Re: cast to long double not taken into account
when result stored to a double
On Sat, 21 Jun 2008, rguenth at gcc dot gnu dot org wrote:
It is convert_to_real doing this optimization.
convert_to_real
--- Comment #1 from vincent at vinc17 dot org 2008-06-19 14:37 ---
To make things clear, perhaps I should have added:
#if __STDC__ == 1 __STDC_VERSION__ = 199901 defined(__STDC_IEC_559__)
#pragma STDC FP_CONTRACT OFF
printf (__STDC_IEC_559__ defined:\n
The implementation