[Bug fortran/104848] ICE in simplify_intrinsic_op, at fortran/expr.cc:1305

anlauf at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 9 20:17:50 GMT 2022


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

--- Comment #4 from anlauf at gcc dot gnu.org ---
(In reply to anlauf from comment #3)
> But that may be just a band-aid.

Not even that.

The following example shows that bad overflow handling is a regression that
was likely introduced in 6.x:

program p
  integer, parameter :: b(0) = 1 + [ huge(1) ]
end


More information about the Gcc-bugs mailing list