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

--- Comment #3 from anlauf at gcc dot gnu.org ---
Created attachment 53601
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53601&action=edit
Hackish patch

This patch fixes all ICE in comment#0 and comment#1.
However, it papers over the issue that we forget about
earlier errors: while

  print *,     [real :: -'1']

is diagnosed for the invalid unary "-",

  print *, 2 * [real :: -'1']

will throw a different error.
So I'm not really happy with the hack.

Reply via email to