[Bug fortran/59604] Constant comparisons with -fno-range-check and int(z'...')

tkoenig at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 27 19:53:00 GMT 2013


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

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |58003

--- Comment #4 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
(In reply to kargl from comment #2)
> (In reply to Thomas Koenig from comment #1)
> > TRANSFER gets this right.
> 
> It is unclear what you mean here.

What I mean is that

program test
  if (transfer(z'FFFFFFFF',1) /= -1) call abort
end program test

does not call abort.

Also setting this as blocking 58003, because an obvious
fix to that bug would replace an ICE with a wrong-code
bug for some corner cases (not preferable :-)



More information about the Gcc-bugs mailing list