[Bug c++/42500] Unnecessary call to memset to initialize array at Os
ramana at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Dec 30 19:15:00 GMT 2009
------- Comment #4 from ramana at gcc dot gnu dot org 2009-12-30 19:14 -------
Ok (In reply to comment #3)
> My complete command line:
>
> "/home/carrot/compiler/armobj/gcc/cc1plus" "-fpreprocessed" "testH.ii" "-quiet"
> "-dumpbase" "testH.cpp" "-auxbase-strip" "obj/./testH.o" "-Os" "-o" "testH.s"
>
> Please compile it as C++ program. When I compiled it as C program, I got the
> same result as yours.
Ok that is a subject of a separate bug report that has been filed at PR42556.
Let this remain about just the redundant move of sp into r4.
Ramana
--
ramana at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|target |c++
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-12-30 19:14:49
date| |
Summary|unnecessary register move |Unnecessary call to memset
| |to initialize array at Os
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42500
More information about the Gcc-bugs
mailing list