------- Comment #3 from simon dot fenney at imgtec dot com 2010-03-23 12:20
-------
(In reply to comment #2)
> duplicate of PR43405.
>
It's doesn't seem to be the same. I just tried the test source from 43405 and
on the old system (gcc 3.4.6) (which I assumed was working) got:
double precision: sin(1e22) = -0.8522008497671888
quad precison: sin(1e22)=0.4626130407646018
while on the systems I was worried about, got
double precision: sin(1e22) = 0.4626130407646017
quad precison: sin(1e22)=0.4626130407646018
Using maple and computing the result to 30 decimal places, I get
-.852200849767188801772705893753
so it looks like there is an additional problem.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43490