[Bug fortran/17175] set_exponent breaks with integer*8 exponent

Tobias dot Schlueter at physik dot uni-muenchen dot de gcc-bugzilla@gcc.gnu.org
Fri Dec 10 13:48:00 GMT 2004


------- Additional Comments From Tobias dot Schlueter at physik dot uni-muenchen dot de  2004-12-10 13:48 -------
Subject: Re:  set_exponent breaks with integer*8 exponent

paulthomas2 at wanadoo dot fr wrote:
> ------- Additional Comments From paulthomas2 at wanadoo dot fr  2004-12-10 13:35 -------
> You have fixed this one, haven't you? cvs 20041205 runs it fine.

I don't think so, maybe it's got hidden by another change.

> However, in testing, I found another nasty:
> 
> y = 1/2 + 1/8
> !y= 0.125 + 0.5                     !!works OK

1/2 .EQ. 0 in Fortran, same for 1/8, this is integer division :-)

- Tobi


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17175



More information about the Gcc-bugs mailing list