[Bug fortran/31201] Too large unit number generates wrong code
fxcoudert at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Mar 17 13:01:00 GMT 2007
------- Comment #4 from fxcoudert at gcc dot gnu dot org 2007-03-17 13:01 -------
(In reply to comment #3)
> The front end is converting the integer8 to integer4 and not checking the range
> of the number first.
Every time a unit number is used, there should be a check to be sure it's in
the integer4 range, and otherwise emit an error.
Thanks for taking it, Jerry.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31201
More information about the Gcc-bugs
mailing list