------- Comment #4 from pinskia at gcc dot gnu dot org 2008-12-29 21:09 -------
Yes I agree, the code is wrong but we should warn about it, like we do in the
may_alias case.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|critical |enhancement
Keywords|wrong-code |diagnostic
Summary|[4.2/4.3/4.4 Regression] |alignof does not always
|alignof is broken for user |apply to typedef
|aligned types in templates |
Target Milestone|4.2.5 |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38611