[Bug fortran/77941] ICE in expand_expr_addr_expr_1, at expr.c:7805
jb at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 22 14:31:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77941
--- Comment #9 from Janne Blomqvist <jb at gcc dot gnu.org> ---
(In reply to Steve Kargl from comment #7)
> I suppose one could always check that a length type parameter
> less than some max integer based on 32-bit vs 64-bit system,
> but that would pessimize all uses of strings as this would
> need to be a runtime check.
IMHO we shouldn't do runtime checks for this. Particularly now that we support
64-bit string lengths on 64-bit targets (which is what more or less everybody
doing real work will be using), outside of artificial examples we're never
going to hit the limit.
More information about the Gcc-bugs
mailing list