This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/27567] [4.0/4.1/4.2 Regression] __builtin_memcpy generates redundant stores/moves.
- From: "pinskia 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 Aug 2006 19:00:30 -0000
- Subject: [Bug middle-end/27567] [4.0/4.1/4.2 Regression] __builtin_memcpy generates redundant stores/moves.
- References: <bug-27567-7667@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-08-27 19:00 -------
For PPC, we get:
stw 3,-16(1)
stw 3,48(1)
nop
nop
lfs 1,-16(1)
blr
Notice the extra store, that does not need to be there.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|rtl-optimization |middle-end
GCC build triplet|x86-*-linux |
GCC host triplet|x86-*-linux |
GCC target triplet|x86-*-linux |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27567