[Bug middle-end/92478] [8 Regression] ICE on strcpy referencing an element of a static local constant array

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 4 21:22:00 GMT 2020


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

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[8 Regression] ICE:         |[8 Regression] ICE on
                   |Segmentation fault          |strcpy referencing an
                   |                            |element of a static local
                   |                            |constant array

--- Comment #5 from Martin Sebor <msebor at gcc dot gnu.org> ---
(In reply to John X from comment #3)
> Would the ICE in gcc-8 be fixed?

The fix looks simple enough to me to backport to GCC 8.5.


More information about the Gcc-bugs mailing list