This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/38985] [4.2/4.3/4.4 Regression] missing constraints for pointers accessed directly via their address
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Jan 2009 12:09:13 -0000
- Subject: [Bug tree-optimization/38985] [4.2/4.3/4.4 Regression] missing constraints for pointers accessed directly via their address
- References: <bug-38985-7849@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from rguenth at gcc dot gnu dot org 2009-01-27 12:09 -------
The bad thing is that this is really bad. We would need to add the SMT for
the type here, but we have no way of looking that up. So the only way to fix
this in a reasonable way is to simply not CCP constant addresses into
dereferences.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38985