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

2021-05-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92478

Jakub Jelinek  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
   Target Milestone|8.5 |9.0
 Resolution|--- |FIXED

--- Comment #6 from Jakub Jelinek  ---
The GCC 8 branch is being closed, fixed in GCC 9.1.

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

2020-03-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92478

Martin Sebor  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  ---
(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.