https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125199
Drea Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|ice-on-valid-code |ice-on-invalid-code
--- Comment #6 from Drea Pinski <pinskia at gcc dot gnu.org> ---
I take that back about changing it to char* causes the ICE to stay. It goes
away and an error happens.
The warning:
<source>:81:117: warning: pointer of type 'void *' used in arithmetic
[-Wpointer-arith]
Which changes into an error with -pedantic-error.