http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52053
kargl at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
CC|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52053
--- Comment #3 from Tobias Burnus 2012-01-30
14:48:09 UTC ---
(In reply to comment #0)
> REAL(KIND=4) :: a(20,1000,1000)
If you want to reduce problems due to the accumulation of rounds, you should
increase the precision. Try kind=8, 10 or 16 (i
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52053
--- Comment #2 from François Willot
2012-01-30 14:41:58 UTC ---
(In reply to comment #1)
> This is not a bug: 16777216. == 2.0**24, then you can add 1.0 as much as you
> like without changing the result.
>
> If one want a bug here, it is a misse
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52053
--- Comment #1 from Dominique d'Humieres 2012-01-30
14:28:13 UTC ---
This is not a bug: 16777216. == 2.0**24, then you can add 1.0 as much as you
like without changing the result.
If one want a bug here, it is a missed optimization as SUM does n