This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/36201] [4.4 Regression] NVR in the front-end causes missed optimization later on (<retval> thought to alias arguments)
- 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: 5 Jan 2009 11:19:36 -0000
- Subject: [Bug middle-end/36201] [4.4 Regression] NVR in the front-end causes missed optimization later on (<retval> thought to alias arguments)
- References: <bug-36201-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from rguenth at gcc dot gnu dot org 2009-01-05 11:19 -------
Fixed on the alias-improvements branch:
a f(a&, a&) (struct a & g, struct a & h)
{
long long int pretmp.24;
<bb 2>:
# .MEM_12 = VDEF <.MEM_11(D)>
<retval> = *g;
# VUSE <.MEM_12>
pretmp.24 = h->b;
# .MEM_7 = VDEF <.MEM_12>
<retval>.b = [plus_expr] (pretmp.24 + <retval>.b) + pretmp.24 * 1023;
# VUSE <.MEM_7>
return <retval>;
}
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |37696
Priority|P3 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36201