https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32023
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2008-11-14 23:41:14 |2021-9-28 --- Comment #12 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Clang gives a decent error message: <source>:7:3: error: assignment to cast is illegal, lvalue casts are not supported *((void **)a)++; /* gives error */ ~^~~~~~~~~~~~~