This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/42500] Unnecessary call to memset to initialize array at Os



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]