public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/42778]  New: Superfluous stack management code is generated
@ 2010-01-17 20:06 piotr dot wyderski at gmail dot com
  2010-02-07 20:09 ` [Bug target/42778] " pinskia at gcc dot gnu dot org
  2010-05-05 15:44 ` hjl dot tools at gmail dot com
  0 siblings, 2 replies; 4+ messages in thread
From: piotr dot wyderski at gmail dot com @ 2010-01-17 20:06 UTC (permalink / raw)
  To: gcc-bugs

#include <x86intrin.h>

int test1(__m128i v) {

   return _mm_cvtsi128_si32(v);
}

compiled with

g++ -std=gnu++0x -O2 -m32 -march=native -msse -msse2 -msse3 -Wall
-Werror -Wno-unused -Wno-strict-aliasing -march=native
-fomit-frame-pointer -Wno-pmf-conversions -g main.cpp

emits:

004012e0 <__Z5test1U8__vectorx>:
 4012e0:       83 ec 0c                sub    $0xc,%esp
 4012e3:       66 0f 7e c0             movd   %xmm0,%eax
 4012e7:       83 c4 0c                add    $0xc,%esp
 4012ea:       c3                      ret

which shows that the stack pointer is being updated
without any purpose.


-- 
           Summary: Superfluous stack management code is generated
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: piotr dot wyderski at gmail dot com
  GCC host triplet: GCC-trunk(20100107)/Cygwin/WinXP32


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/42778] Superfluous stack management code is generated
  2010-01-17 20:06 [Bug tree-optimization/42778] New: Superfluous stack management code is generated piotr dot wyderski at gmail dot com
@ 2010-02-07 20:09 ` pinskia at gcc dot gnu dot org
  2010-05-05 15:44 ` hjl dot tools at gmail dot com
  1 sibling, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-02-07 20:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2010-02-07 20:09 -------
Confirmed, a target bug.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|tree-optimization           |target
     Ever Confirmed|0                           |1
   GCC host triplet|GCC-                        |
                   |trunk(20100107)/Cygwin/WinXP|
                   |32                          |
 GCC target triplet|                            |i?86-*-*
           Keywords|                            |missed-optimization
      Known to fail|                            |4.3.2 4.5.0
   Last reconfirmed|0000-00-00 00:00:00         |2010-02-07 20:09:31
               date|                            |


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/42778] Superfluous stack management code is generated
  2010-01-17 20:06 [Bug tree-optimization/42778] New: Superfluous stack management code is generated piotr dot wyderski at gmail dot com
  2010-02-07 20:09 ` [Bug target/42778] " pinskia at gcc dot gnu dot org
@ 2010-05-05 15:44 ` hjl dot tools at gmail dot com
  1 sibling, 0 replies; 4+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-05-05 15:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from hjl dot tools at gmail dot com  2010-05-05 15:44 -------
*** Bug 43992 has been marked as a duplicate of this bug. ***


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hv at crypt dot org


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/42778] Superfluous stack management code is generated
       [not found] <bug-42778-4@http.gcc.gnu.org/bugzilla/>
@ 2012-09-15 16:03 ` sgunderson at bigfoot dot com
  0 siblings, 0 replies; 4+ messages in thread
From: sgunderson at bigfoot dot com @ 2012-09-15 16:03 UTC (permalink / raw)
  To: gcc-bugs

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

sgunderson at bigfoot dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sgunderson at bigfoot dot
                   |                            |com

--- Comment #3 from sgunderson at bigfoot dot com 2012-09-15 16:02:37 UTC ---
This seems to be no longer wrong in 4.8.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-09-15 16:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-17 20:06 [Bug tree-optimization/42778] New: Superfluous stack management code is generated piotr dot wyderski at gmail dot com
2010-02-07 20:09 ` [Bug target/42778] " pinskia at gcc dot gnu dot org
2010-05-05 15:44 ` hjl dot tools at gmail dot com
     [not found] <bug-42778-4@http.gcc.gnu.org/bugzilla/>
2012-09-15 16:03 ` sgunderson at bigfoot dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).