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 optimization/11635] [3.3/3.4 regression] Unnecessary store onto stack


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11635


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |pessimizes-code
   Last reconfirmed|0000-00-00 00:00:00         |2003-07-22 22:58:21
               date|                            |


------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-22 22:58 -------
I can confirm this on 3.0.4, 3.2.3 (those both which produces worse code than 3.3.1 and the 
mainline), and 3.3.1 (20030707) and the mainline (20030719).
gcc 3.3.1 and the mainline  produces better code for after the call to getpeername.  Also before 
the call, there are the same number of instructions.
Note the store also happens when -march=i686.
It also happens on powerpc.  

Looks like the ABI changed!!


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