This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/47239] [4.6 Regression] (int)&func & 3 is always optimized to 0 on some targets
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 11 Jan 2011 12:53:49 +0000
- Subject: [Bug tree-optimization/47239] [4.6 Regression] (int)&func & 3 is always optimized to 0 on some targets
- Auto-submitted: auto-generated
- References: <bug-47239-4@http.gcc.gnu.org/bugzilla/>
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.