public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/58558] New: [Regression] ICE when building mednafen with -O2 on mips and mipsel on gcc 4.8.1 and 4.9.0
@ 2013-09-28 11:52 steve at sk2 dot org
  2013-09-28 14:21 ` [Bug c++/58558] " mikpelinux at gmail dot com
  2013-09-28 16:18 ` steve at sk2 dot org
  0 siblings, 2 replies; 3+ messages in thread
From: steve at sk2 dot org @ 2013-09-28 11:52 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 58558
           Summary: [Regression] ICE when building mednafen with -O2 on
                    mips and mipsel on gcc 4.8.1 and 4.9.0
           Product: gcc
           Version: 4.8.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: steve at sk2 dot org

Created attachment 30922
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30922&action=edit
Source code causing the ICE

Hi,

The attached pre-processed source fails to build on gcc 4.8.1 and gcc 4.9.0 on
mips and mipsel, when -O2 is enabled.

The command-line used to reproduce the ICE is simply
        g++ -O2 cc8t9QXW.i

The versions on which the ICE occurs are

Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/mipsel-linux-gnu/4.8/lto-wrapper
Target: mipsel-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.8.1-10'
--with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs
--enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.8 --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls
--with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug
--enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libitm
--disable-libsanitizer --disable-libquadmath --enable-plugin --with-system-zlib
--disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-mipsel/jre --enable-java-home
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-mipsel
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-mipsel
--with-arch-directory=mips --with-ecj-jar=/usr/share/java/eclipse-ecj.jar
--enable-multiarch --with-arch-32=mips2 --with-tune-32=mips32
--enable-targets=all --with-arch-64=mips3 --with-tune-64=mips64
--enable-checking=release --build=mipsel-linux-gnu --host=mipsel-linux-gnu
--target=mipsel-linux-gnu
Thread model: posix
gcc version 4.8.1 (Debian 4.8.1-10) 

and

Using built-in specs.
COLLECT_GCC=/usr/lib/gcc-snapshot/bin/g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc-snapshot/libexec/gcc/mipsel-linux-gnu/4.9.0/lto-wrapper
Target: mipsel-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 20130731-1'
--with-bugurl=file:///usr/share/doc/gcc-snapshot/README.Bugs
--enable-languages=c,ada,c++,java,go,fortran,objc,obj-c++
--prefix=/usr/lib/gcc-snapshot --enable-shared --enable-linker-build-id
--disable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug
--enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libitm
--disable-libsanitizer --disable-libquadmath --enable-plugin --with-system-zlib
--disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-snap-mipsel/jre
--enable-java-home
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-snap-mipsel
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-snap-mipsel
--with-arch-directory=mips --with-ecj-jar=/usr/share/java/eclipse-ecj.jar
--enable-multiarch --with-arch-32=mips2 --with-tune-32=mips32
--enable-targets=all --with-arch-64=mips3 --with-tune-64=mips64
--disable-werror --enable-checking=yes --build=mipsel-linux-gnu
--host=mipsel-linux-gnu --target=mipsel-linux-gnu
Thread model: posix
gcc version 4.9.0 20130731 (experimental) [trunk revision 201378] (Debian
20130731-1) 

The error message is

In file included from src/chip/cx4/cx4.cpp:17:0:
src/chip/cx4/oam.cpp: In member function 'void bSNES_v059::Cx4::op00_00()':
src/chip/cx4/oam.cpp:77:1: internal compiler error: in do_SUBST, at
combine.c:711
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-snapshot/README.Bugs> for instructions.


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

* [Bug c++/58558] [Regression] ICE when building mednafen with -O2 on mips and mipsel on gcc 4.8.1 and 4.9.0
  2013-09-28 11:52 [Bug c++/58558] New: [Regression] ICE when building mednafen with -O2 on mips and mipsel on gcc 4.8.1 and 4.9.0 steve at sk2 dot org
@ 2013-09-28 14:21 ` mikpelinux at gmail dot com
  2013-09-28 16:18 ` steve at sk2 dot org
  1 sibling, 0 replies; 3+ messages in thread
From: mikpelinux at gmail dot com @ 2013-09-28 14:21 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Mikael Pettersson <mikpelinux at gmail dot com> ---
I can reproduce the ICE with gcc-4.8-20130926 configured as a cross to
mips64-linux.  Backporting the PR58079 fix in r201609 fixes the ICE.

Thus, please close this one as a duplicate of PR58079.


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

* [Bug c++/58558] [Regression] ICE when building mednafen with -O2 on mips and mipsel on gcc 4.8.1 and 4.9.0
  2013-09-28 11:52 [Bug c++/58558] New: [Regression] ICE when building mednafen with -O2 on mips and mipsel on gcc 4.8.1 and 4.9.0 steve at sk2 dot org
  2013-09-28 14:21 ` [Bug c++/58558] " mikpelinux at gmail dot com
@ 2013-09-28 16:18 ` steve at sk2 dot org
  1 sibling, 0 replies; 3+ messages in thread
From: steve at sk2 dot org @ 2013-09-28 16:18 UTC (permalink / raw)
  To: gcc-bugs

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

Stephen Kitt <steve at sk2 dot org> changed:

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

--- Comment #2 from Stephen Kitt <steve at sk2 dot org> ---
Thanks for the info!

*** This bug has been marked as a duplicate of bug 58079 ***


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

end of thread, other threads:[~2013-09-28 16:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-28 11:52 [Bug c++/58558] New: [Regression] ICE when building mednafen with -O2 on mips and mipsel on gcc 4.8.1 and 4.9.0 steve at sk2 dot org
2013-09-28 14:21 ` [Bug c++/58558] " mikpelinux at gmail dot com
2013-09-28 16:18 ` steve at sk2 dot org

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