https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92896
--- Comment #3 from MarkEggleston <mark.eggleston at codethink dot com> ---
The value 'A' is padded out with spaces giving a value 2314885530818453554.
Avoiding the conversion and using the value directly:
program p
print *, [integer :: 1, [integer(8) :: 2314885530818453554]]
end
results in:
2 | print *, [integer :: 1, [integer(8) :: 2314885530818453554]]
| 1
Error: Integer too big for its kind at (1). This check can be disabled with the
option '-fno-range-check'