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

--- Comment #5 from Vladimir Terzi <vterzi1996 at gmail dot com> ---
After a fruitful discussion in Stack Overflow, I understand that the model set
of integers in Fortran is symmetric about zero according to the formula in
section 16.4 of https://j3-fortran.org/doc/year/24/24-007.pdf , and, therefore,
`gfortran` may reject the literal -2147483648 (although it is inconvenient and
there are no technical reasons to reject it).  But it was already known in 2006
that this change will cause "bogus bug reports" (like written in
https://gcc.gnu.org/legacy-ml/fortran/2006-09/msg00008.html) and there are
already multiple of such reports on this site.  Then why wasn't the error
message clarified?

Reply via email to