https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83235

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kargl at gcc dot gnu.org

--- Comment #1 from kargl at gcc dot gnu.org ---
A modification of your code to print decimal shows

  x = 2806196910506780709
x*x = -5105260488395614887
  y = 9223372036854775807

The bit model specifically states that "The interpretation of a
negative integer as a sequence of bits is processor dependent."
The definition of the IAND intrinsic also states "The model for the
interpretation of an integer value as a sequence of bits is in
13.3". Unfortunately, Fortran does not have an unsigned integer
type.

Reply via email to