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

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |INVALID

--- Comment #5 from anlauf at gcc dot gnu.org ---
(In reply to kargl from comment #2)
>     5 |   INTEGER(INT64), dimension(2), parameter:: arr1 = [integer(int64)::
> -3300711175878204139, 8258803693257250632]
>       |                                                                     
> 1
> Error: Integer too big for its kind at (1). This check can be disabled with
> the option '-fno-range-check'
> 
> This is the correct behavior.  -3300711175878204139 and 8258803693257250632
> are default integer kind, which is 32 bit and both numbers are outside the
> range of [-huge(1)-1:huge(1)].

Indeed, and this is confirmed by other compilers, which either give an
error (e.g. Nvidia) or at least a warning (Intel) in standard conformance
mode.

This PR should have been closed as invalid.

Reply via email to