http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47239
Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2011.01.11 12:53:34 AssignedTo|unassigned at gcc dot |rguenth at gcc dot gnu.org |gnu.org | Target Milestone|--- |4.6.0 Summary|(int)&func & 3 is always |[4.6 Regression] (int)&func |optimized to 0 on some |& 3 is always optimized to |targets |0 on some targets Ever Confirmed|0 |1 --- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-01-11 12:53:34 UTC --- Confirmed, mine. The fix for PR35705 only extracts alignment information from function decls for the single case &fn & 1. That's odd. I'm going to simply punt for function-decls for now.