public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jojelino at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/50725] [4.7 regression] -O3 -mstackrealign -march=core2 generates invalid prologue code in callee procedure
Date: Fri, 04 Nov 2011 16:16:00 -0000	[thread overview]
Message-ID: <bug-50725-4-CYd1qGSxn8@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-50725-4@http.gcc.gnu.org/bugzilla/>

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

gee <jojelino at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #25493|0                           |1
        is obsolete|                            |
  Attachment #25502|0                           |1
        is obsolete|                            |
  Attachment #25503|0                           |1
        is obsolete|                            |

--- Comment #11 from gee <jojelino at gmail dot com> 2011-11-04 16:15:43 UTC ---
Created attachment 25718
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25718
reduced source code

Reduced.

$ g++ -fverbose-asm -c -O1 -finline-small-functions -fenable-ipa-inline
-ftree-vectorize -finline-functions -mstackrealign -march=core2  r.c
-save-temps -fdump-rtl-expand -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i686-pc-cygwin/4.7.0/lto-wrapper.exe
Target: i686-pc-cygwin
Configured with: ./configure --config-cache --prefix=/usr
--disable-win32-registry --enable-threads=win32
--enable-languages=c,c++,lto,fortran --with-win32-nlsapi=unicode --enable-tls
--disable-bootstrap --enable-shared --disable-sjlj-exceptions --enable-gomp
--enable-cloog-backend=isl
Thread model: win32
gcc version 4.7.0 20111025 (experimental) (GCC)
COLLECT_GCC_OPTIONS='-fverbose-asm' '-c' '-O1' '-finline-small-functions'
'-fenable-ipa-inline' '-ftree-vectorize' '-finline-functions' '-mstackrealign'
'-march=core2' '-save-temps' '-fdump-rtl-expand' '-v' '-shared-libgcc'
 /usr/libexec/gcc/i686-pc-cygwin/4.7.0/cc1plus.exe -E -quiet -v -D__CYGWIN32__
-D__CYGWIN__ -Dunix -D__unix__ -D__unix -idirafter
/usr/lib/gcc/i686-pc-cygwin/4.7.0/../../../../i686-pc-cygwin/lib/../include/w32api
-idirafter
/usr/lib/gcc/i686-pc-cygwin/4.7.0/../../../../i686-pc-cygwin/lib/../../include/w32api
r.c -mstackrealign -march=core2 -fverbose-asm -finline-small-functions
-fenable-ipa-inline -ftree-vectorize -finline-functions -fdump-rtl-expand -O1
-fpch-preprocess -o r.ii
cc1plus: note: enable pass ipa-inline for functions in the range of [0,
4294967295]
ignoring duplicate directory "/usr/include"
ignoring duplicate directory
"/usr/lib/gcc/i686-pc-cygwin/4.7.0/../../../../i686-pc-cygwin/lib/../../include/w32api"
#include "..." search starts here:
#include <...> search starts here:
 /usr/lib/gcc/i686-pc-cygwin/4.7.0/../../../../include/c++/4.7.0
 /usr/lib/gcc/i686-pc-cygwin/4.7.0/../../../../include/c++/4.7.0/i686-pc-cygwin
 /usr/lib/gcc/i686-pc-cygwin/4.7.0/../../../../include/c++/4.7.0/backward
 /usr/lib/gcc/i686-pc-cygwin/4.7.0/include
 /usr/local/include
 /usr/lib/gcc/i686-pc-cygwin/4.7.0/include-fixed
 /usr/lib/gcc/i686-pc-cygwin/4.7.0/../../../../i686-pc-cygwin/include

/usr/lib/gcc/i686-pc-cygwin/4.7.0/../../../../i686-pc-cygwin/lib/../include/w32api
End of search list.
COLLECT_GCC_OPTIONS='-fverbose-asm' '-c' '-O1' '-finline-small-functions'
'-fenable-ipa-inline' '-ftree-vectorize' '-finline-functions' '-mstackrealign'
'-march=core2' '-save-temps' '-fdump-rtl-expand' '-v' '-shared-libgcc'
 /usr/libexec/gcc/i686-pc-cygwin/4.7.0/cc1plus.exe -fpreprocessed r.ii -quiet
-dumpbase r.c -mstackrealign -march=core2 -auxbase r -O1 -version -fverbose-asm
-finline-small-functions -fenable-ipa-inline -ftree-vectorize
-finline-functions -fdump-rtl-expand -o r.s
cc1plus: note: enable pass ipa-inline for functions in the range of [0,
4294967295]
GNU C++ (GCC) version 4.7.0 20111025 (experimental) (i686-pc-cygwin)
        compiled by GNU C version 4.7.0 20111020 (experimental), GMP version
5.0.2, MPFR version 3.2.0-dev, MPC version 0.9
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU C++ (GCC) version 4.7.0 20111025 (experimental) (i686-pc-cygwin)
        compiled by GNU C version 4.7.0 20111020 (experimental), GMP version
5.0.2, MPFR version 3.2.0-dev, MPC version 0.9
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: cf86ba87ee966d84e06e2ba1fe53e4c2
COLLECT_GCC_OPTIONS='-fverbose-asm' '-c' '-O1' '-finline-small-functions'
'-fenable-ipa-inline' '-ftree-vectorize' '-finline-functions' '-mstackrealign'
'-march=core2' '-save-temps' '-fdump-rtl-expand' '-v' '-shared-libgcc'
 /usr/lib/gcc/i686-pc-cygwin/4.7.0/../../../../i686-pc-cygwin/bin/as.exe -o r.o
r.s
COMPILER_PATH=/usr/libexec/gcc/i686-pc-cygwin/4.7.0/:/usr/libexec/gcc/i686-pc-cygwin/4.7.0/:/usr/libexec/gcc/i686-pc-cygwin/:/usr/lib/gcc/i686-pc-cygwin/4.7.0/:/usr/lib/gcc/i686-pc-cygwin/:/usr/lib/gcc/i686-pc-cygwin/4.7.0/../../../../i686-pc-cygwin/bin/
LIBRARY_PATH=/usr/lib/gcc/i686-pc-cygwin/4.7.0/:/usr/lib/gcc/i686-pc-cygwin/4.7.0/../../../../i686-pc-cygwin/lib/:/usr/lib/gcc/i686-pc-cygwin/4.7.0/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-fverbose-asm' '-c' '-O1' '-finline-small-functions'
'-fenable-ipa-inline' '-ftree-vectorize' '-finline-functions' '-mstackrealign'
'-march=core2' '-save-temps' '-fdump-rtl-expand' '-v' '-shared-libgcc'

__Z25_pei386_runtime_relocatorP11per_process:
LFB2:
    .cfi_startproc
    movl    (%ecx), %eax     # u, u


  parent reply	other threads:[~2011-11-04 16:16 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-14  5:25 [Bug rtl-optimization/50725] New: " jojelino at gmail dot com
2011-10-14  9:14 ` [Bug target/50725] " rguenth at gcc dot gnu.org
2011-10-14 16:01 ` jojelino at gmail dot com
2011-10-14 16:26 ` jojelino at gmail dot com
2011-10-14 16:27 ` jojelino at gmail dot com
2011-10-14 16:30 ` jojelino at gmail dot com
2011-10-14 16:38 ` jojelino at gmail dot com
2011-10-14 16:49 ` jojelino at gmail dot com
2011-10-14 17:00 ` jojelino at gmail dot com
2011-10-17 15:43 ` jojelino at gmail dot com
2011-11-04 13:40 ` jojelino at gmail dot com
2011-11-04 16:16 ` jojelino at gmail dot com [this message]
2011-11-04 16:17 ` jojelino at gmail dot com
2011-11-05 13:59 ` mikpe at it dot uu.se
2011-11-30 11:04 ` jakub at gcc dot gnu.org
2011-11-30 15:24 ` jojelino at gmail dot com
2011-11-30 16:20 ` jakub at gcc dot gnu.org
2011-11-30 22:09 ` jakub at gcc dot gnu.org
2011-11-30 23:21 ` jakub at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-50725-4-CYd1qGSxn8@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).