public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/52051] New: [4.7 regression] invalid stack-cleanup occured with -O flag
@ 2012-01-30  7:29 jojelino at gmail dot com
  2012-01-30  7:53 ` [Bug rtl-optimization/52051] " jojelino at gmail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jojelino at gmail dot com @ 2012-01-30  7:29 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 52051
           Summary: [4.7 regression] invalid stack-cleanup occured with -O
                    flag
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: jojelino@gmail.com
              Host: i686-pc-cygwin
            Target: i686-pc-mingw32
             Build: i686-pc-cygwin


Created attachment 26511
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26511
generated dump

testcase is libjava/testsuite/libjava.lang/TestProxy.jar
$ /tmp/gcc/host-i686-pc-cygwin/gcc/gcj -B/tmp/gcc/i686-pc-mingw32/libjava/
-B/tmp/gcc/host-i686-pc-cygwin/gcc/ -L/tmp/gcc/i686-pc-mingw32/winsup/mingw
-L/tmp/gcc/i686-pc-mingw32/winsup/w32api/lib -isystem
/tmp/gcc/winsup/mingw/include -isystem /tmp/gcc/winsup/w32api/include
-B/usr/i686-pc-mingw32/bin/ -B/usr/i686-pc-mingw32/lib/ -isystem
/usr/i686-pc-mingw32/include -isystem /usr/i686-pc-mingw32/sys-include
--sysroot=/usr/i686-pc-mingw32/sys-root -g -fdump-tree-gimple -fdump-rtl-expand
--main=TestProxy /tmp/gcc/libjava/testsuite/libjava.lang/TestProxy.jar
-oTestProxy -save-temps -dP -fdump-tree-optimized -O3 -fdump-passes
-fdump-rtl-all -v
Reading specs from /tmp/gcc/host-i686-pc-cygwin/gcc/specs
Reading specs from /tmp/gcc/i686-pc-mingw32/libjava/libgcj.spec
rename spec startfile to startfileorig
rename spec lib to liborig
COLLECT_GCC=/tmp/gcc/host-i686-pc-cygwin/gcc/gcj
COLLECT_LTO_WRAPPER=/tmp/gcc/host-i686-pc-cygwin/gcc/lto-wrapper.exe
Target: i686-pc-mingw32
Configured with: ./configure -C --prefix=/usr --enable-win32-registry
--enable-java-awt=qt --enable-threads=win32 --with-win32-nlsapi=unicode
--enable-tls --disable-bootstrap --target=i686-pc-mingw32 --enable-shared
--enable-load-library --enable-interpreter --disable-sjlj-exceptions
--enable-gomp --with-ecj-jar=/tmp/gcc/org.eclipse.jdt.core_3.7.0.v_B35.jar
--with-antlr-jar=/tmp/gcc/antlr-3.3-complete.jar
--with-libiconv-prefix=/usr/i686-pc-mingw32 --with-x=no
--enable-cloog-backend=isl --with-sysroot=/usr/i686-pc-mingw32/sys-root
--with-build-sysroot=/usr/i686-pc-mingw32/sys-root LTLDFLAGS=-no-undefined
lt_cv_deplibs_check_method=pass_all target_alias=i686-pc-mingw32
--enable-languages=c,c++,java,lto --no-create --no-recursion
Thread model: win32
gcc version 4.7.0 20120128 (experimental) (GCC)

confirmed following
without -O flag : worked
-O,-O1 : segmentation fault(due to invalid stack cleanup. needed one more pop.)


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

* [Bug rtl-optimization/52051] [4.7 regression] invalid stack-cleanup occured with -O flag
  2012-01-30  7:29 [Bug rtl-optimization/52051] New: [4.7 regression] invalid stack-cleanup occured with -O flag jojelino at gmail dot com
@ 2012-01-30  7:53 ` jojelino at gmail dot com
  2012-01-30  9:27 ` rguenth at gcc dot gnu.org
  2012-02-22 18:43 ` [Bug target/52051] " jojelino at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: jojelino at gmail dot com @ 2012-01-30  7:53 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from gee <jojelino at gmail dot com> 2012-01-30 04:17:43 UTC ---
in dump.zip,
filename with prefix 0 : without -O flag
with prefix 1 : with -O flag.


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

* [Bug rtl-optimization/52051] [4.7 regression] invalid stack-cleanup occured with -O flag
  2012-01-30  7:29 [Bug rtl-optimization/52051] New: [4.7 regression] invalid stack-cleanup occured with -O flag jojelino at gmail dot com
  2012-01-30  7:53 ` [Bug rtl-optimization/52051] " jojelino at gmail dot com
@ 2012-01-30  9:27 ` rguenth at gcc dot gnu.org
  2012-02-22 18:43 ` [Bug target/52051] " jojelino at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-01-30  9:27 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.7.0


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

* [Bug target/52051] [4.7 regression] invalid stack-cleanup occured with -O flag
  2012-01-30  7:29 [Bug rtl-optimization/52051] New: [4.7 regression] invalid stack-cleanup occured with -O flag jojelino at gmail dot com
  2012-01-30  7:53 ` [Bug rtl-optimization/52051] " jojelino at gmail dot com
  2012-01-30  9:27 ` rguenth at gcc dot gnu.org
@ 2012-02-22 18:43 ` jojelino at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: jojelino at gmail dot com @ 2012-02-22 18:43 UTC (permalink / raw)
  To: gcc-bugs

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

gee <jojelino at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #2 from gee <jojelino at gmail dot com> 2012-02-22 18:22:09 UTC ---
confirmed fixed in pr52221 #14


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

end of thread, other threads:[~2012-02-22 18:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-30  7:29 [Bug rtl-optimization/52051] New: [4.7 regression] invalid stack-cleanup occured with -O flag jojelino at gmail dot com
2012-01-30  7:53 ` [Bug rtl-optimization/52051] " jojelino at gmail dot com
2012-01-30  9:27 ` rguenth at gcc dot gnu.org
2012-02-22 18:43 ` [Bug target/52051] " jojelino at gmail 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).