------- Additional Comments From tobi at gcc dot gnu dot org 2004-12-16 14:30
-------
The second result is correct, the first wrong.
The difference results from the fact that the first statement is evaluated by
gfortran's constant folding pass, whereas the second is evaluated in generated
code.
In other words, the code generation for modulo is wrong.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-12-16 14:30:16
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19032