------- Comment #2 from pinskia at gcc dot gnu dot org 2009-05-07 13:15 ------- Actually a cast to a lower alignment is valid (to an bigger alignment is questionable if the pointer is not already aligned). And this is a regression from the 4.4 as these testcases passed. Really expand should look through NOPs.
-- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |normal Component|c |middle-end Summary|casts loose alignment info |[4.5 Regression] casts loose | |alignment info Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40060