[Bug fortran/95053] [11.0 regression] ICE in f951: gfc_divide()
anlauf at gmx dot de
gcc-bugzilla@gcc.gnu.org
Mon May 11 12:25:59 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95053
Harald Anlauf <anlauf at gmx dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |anlauf at gmx dot de
--- Comment #2 from Harald Anlauf <anlauf at gmx dot de> ---
(In reply to Jürgen Reuter from comment #1)
> I shrank the example even further:
> SUBROUTINE MNSTIN
> 132 FORMAT (' UNIT',I3,' ALREADY OPENED WITH NAME:',A/
> + ' NEW NAME IGNORED:',A)
> RETURN
> END
>
> It looks like it is the combination of integer format with this special form
> of character line continuation.
Indeed, I found an even shorter reproducer:
SUBROUTINE MNSTIN ()
* Adding a comma before or after the "/" avoids the ICE
132 FORMAT (A/
+ ' B')
END
I am responsible for the change in gfc_divide, but fail to see
where there is a division...
More information about the Gcc-bugs
mailing list