This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/47414] [4.6 Regression] wrong code with -O -freorder-blocks -fschedule-insns2 -fno-early-inlining -fstrict-aliasing -ftracer
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 24 Jan 2011 15:02:42 +0000
- Subject: [Bug rtl-optimization/47414] [4.6 Regression] wrong code with -O -freorder-blocks -fschedule-insns2 -fno-early-inlining -fstrict-aliasing -ftracer
- Auto-submitted: auto-generated
- References: <bug-47414-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47414
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-01-24 15:02:22 UTC ---
rtx_refs_may_alias_p (x=0x7ffff1969318, mem=0x7ffff1968360, tbaa_p=1 '\001')
for x
(mem/s/f:DI (reg/v/f:DI 2 cx [orig:59 nul ] [59]) [3 nul_23->D.2090.next+0 S8
A64])
and mem
(mem/s/f/c:DI (reg/f:DI 7 sp) [3 MEM[(struct A *)&s].next+0 S8 A64])
returns 0, although they clearly do alias.
*.alias says:
nul_23 = { NULL ESCAPED NONLOCAL s HEAP HEAP HEAP } same as nul_29