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

--- Comment #18 from Christopher Albert <albert at tugraz dot at> ---
Created attachment 65181
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=65181&action=edit
0001-fortran-Preserve-overflow-diagnostics-during-matchin.patch

Emit range-checked overflow diagnostics immediately outside unsigned mode so
a successful statement match cannot discard the error while retaining the
invalid constant. This is narrower than deferring all matching arithmetic.
A diagnostic test covers multiplication and addition. check-fortran and the
libgomp Fortran suites are clean.

Reply via email to