[Bug c/78666] conflicting attribute alloc_size accepted
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Dec 5 18:00:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78666
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2016-12-05
CC| |mpolacek at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
diagnose_mismatched_attributes should diagnose this -- it needs to look at
TYPE_ATTRIBUTES, too. At least assume_aligned and alloc_align should be
diagnosed, too.
More information about the Gcc-bugs
mailing list