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



             Bug #: 55200

           Summary: RubyLang complex.c Internal compiler error

    Classification: Unclassified

           Product: gcc

           Version: 4.8.0

            Status: UNCONFIRMED

          Severity: normal

          Priority: P3

         Component: c

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: clundqu...@bluebox.net





When compiling rubylang under gcc4.8 I hit an internal compiler error from cc1.

FWIW The project compiles under (MacPorts gcc47 4.7.2_2) 



To reproduce:

$ git clone git://github.com/ruby/ruby.git

$ cd ruby

$ git checkout v1_9_3_286

$ autoconf

$ ./configure

$ make



---

$ uname -a

Darwin localhost 12.2.0 Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT

2012; root:xnu-2050.18.24~1/RELEASE_X86_64 x86_64



$ gcc -v

Using built-in specs.

COLLECT_GCC=gcc

COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/x86_64-apple-darwin12/4.8.0/lto-wrapper

Target: x86_64-apple-darwin12

Configured with: ../gcc-4.8-20121028/configure --prefix=/opt/local

--build=x86_64-apple-darwin12

--enable-languages=c,c++,objc,obj-c++,fortran,java

--libdir=/opt/local/lib/gcc48 --includedir=/opt/local/include/gcc48

--infodir=/opt/local/share/info --mandir=/opt/local/share/man

--datarootdir=/opt/local/share/gcc-4.8 --with-local-prefix=/opt/local

--with-system-zlib --disable-nls --program-suffix=-mp-4.8

--with-gxx-include-dir=/opt/local/include/gcc48/c++/ --with-gmp=/opt/local

--with-mpfr=/opt/local --with-mpc=/opt/local --with-ppl=/opt/local

--with-cloog=/opt/local --enable-cloog-backend=isl

--disable-cloog-version-check --enable-stage1-checking --disable-multilib

--enable-lto --enable-libstdcxx-time --with-as=/opt/local/bin/as

--with-ld=/opt/local/bin/ld --with-ar=/opt/local/bin/ar

--with-bugurl=https://trac.macports.org/newticket --with-pkgversion='MacPorts

gcc48 4.8-20121028_0'

Thread model: posix

gcc version 4.8.0 20121028 (experimental) (MacPorts gcc48 4.8-20121028_0) 

localhost:ruby clundquist$ make

    CC = gcc

    LD = ld

    LDSHARED = gcc -dynamic -bundle

    CFLAGS = -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses

-Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith

-Werror=write-strings -Werror=declaration-after-statement

-Werror=implicit-function-declaration  -pipe 

    XCFLAGS = -include ruby/config.h -include ruby/missing.h

-fvisibility=hidden -DRUBY_EXPORT

    CPPFLAGS = -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -I.

-I.ext/include/x86_64-darwin12.2.0 -I./include -I.

    DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress

-Wl,-flat_namespace  

    SOLIBS = 

compiling complex.c

complex.c:1988:1: internal compiler error: in inline_call, at

ipa-inline-transform.c:269

 }

 ^



complex.c:1988:1: internal compiler error: Abort trap: 6

gcc: internal compiler error: Abort trap: 6 (program cc1)

make: *** [complex.o] Abort trap: 6

make: *** Deleting file `complex.o'

Reply via email to