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

--- Comment #12 from Jonathan Wakely <redi at gcc dot gnu.org> ---
PR 71219 requests a new warning for:

  struct S* p = (struct S*)malloc(sizeof(p));

which would solve some of the other bugs shown in comment 3.

Reply via email to