public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/55200] New: RubyLang complex.c Internal compiler error
@ 2012-11-04  4:56 clundquist at bluebox dot net
  2012-11-04  5:01 ` [Bug c/55200] " clundquist at bluebox dot net
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: clundquist at bluebox dot net @ 2012-11-04  4:56 UTC (permalink / raw)
  To: gcc-bugs


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: unassigned@gcc.gnu.org
        ReportedBy: clundquist@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'


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

* [Bug c/55200] RubyLang complex.c Internal compiler error
  2012-11-04  4:56 [Bug c/55200] New: RubyLang complex.c Internal compiler error clundquist at bluebox dot net
@ 2012-11-04  5:01 ` clundquist at bluebox dot net
  2012-11-04  5:20 ` [Bug tree-optimization/55200] " pinskia at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: clundquist at bluebox dot net @ 2012-11-04  5:01 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #1 from Chris Lundquist <clundquist at bluebox dot net> 2012-11-04 05:00:51 UTC ---
Please let me know what further information I can provide. Unfortunately I was
unable to make a simple test case. I can't figure out why it is dying on a
matched } to close a function.


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

* [Bug tree-optimization/55200] RubyLang complex.c Internal compiler error
  2012-11-04  4:56 [Bug c/55200] New: RubyLang complex.c Internal compiler error clundquist at bluebox dot net
  2012-11-04  5:01 ` [Bug c/55200] " clundquist at bluebox dot net
@ 2012-11-04  5:20 ` pinskia at gcc dot gnu.org
  2012-11-04  5:30 ` clundquist at bluebox dot net
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-11-04  5:20 UTC (permalink / raw)
  To: gcc-bugs


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |tree-optimization

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-11-04 05:19:56 UTC ---
Can you attach the preprocessed source?


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

* [Bug tree-optimization/55200] RubyLang complex.c Internal compiler error
  2012-11-04  4:56 [Bug c/55200] New: RubyLang complex.c Internal compiler error clundquist at bluebox dot net
  2012-11-04  5:01 ` [Bug c/55200] " clundquist at bluebox dot net
  2012-11-04  5:20 ` [Bug tree-optimization/55200] " pinskia at gcc dot gnu.org
@ 2012-11-04  5:30 ` clundquist at bluebox dot net
  2012-11-04  5:33 ` clundquist at bluebox dot net
  2012-11-10 23:11 ` clundquist at bluebox dot net
  4 siblings, 0 replies; 6+ messages in thread
From: clundquist at bluebox dot net @ 2012-11-04  5:30 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #3 from Chris Lundquist <clundquist at bluebox dot net> 2012-11-04 05:30:05 UTC ---
Created attachment 28607
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28607
Rubylang complex.i under GCC 4.8


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

* [Bug tree-optimization/55200] RubyLang complex.c Internal compiler error
  2012-11-04  4:56 [Bug c/55200] New: RubyLang complex.c Internal compiler error clundquist at bluebox dot net
                   ` (2 preceding siblings ...)
  2012-11-04  5:30 ` clundquist at bluebox dot net
@ 2012-11-04  5:33 ` clundquist at bluebox dot net
  2012-11-10 23:11 ` clundquist at bluebox dot net
  4 siblings, 0 replies; 6+ messages in thread
From: clundquist at bluebox dot net @ 2012-11-04  5:33 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #4 from Chris Lundquist <clundquist at bluebox dot net> 2012-11-04 05:32:44 UTC ---
Updated.
For quick reference, the line described in context can be found here.
https://github.com/ruby/ruby/blob/v1_9_3_286/complex.c#L1988


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

* [Bug tree-optimization/55200] RubyLang complex.c Internal compiler error
  2012-11-04  4:56 [Bug c/55200] New: RubyLang complex.c Internal compiler error clundquist at bluebox dot net
                   ` (3 preceding siblings ...)
  2012-11-04  5:33 ` clundquist at bluebox dot net
@ 2012-11-10 23:11 ` clundquist at bluebox dot net
  4 siblings, 0 replies; 6+ messages in thread
From: clundquist at bluebox dot net @ 2012-11-10 23:11 UTC (permalink / raw)
  To: gcc-bugs


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

Chris Lundquist <clundquist at bluebox dot net> changed:

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

--- Comment #5 from Chris Lundquist <clundquist at bluebox dot net> 2012-11-10 23:11:04 UTC ---
Fixed in latest release.

$ 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-20121104/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-20121104_0'
Thread model: posix
gcc version 4.8.0 20121104 (experimental) (MacPorts gcc48 4.8-20121104_0)


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

end of thread, other threads:[~2012-11-10 23:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-04  4:56 [Bug c/55200] New: RubyLang complex.c Internal compiler error clundquist at bluebox dot net
2012-11-04  5:01 ` [Bug c/55200] " clundquist at bluebox dot net
2012-11-04  5:20 ` [Bug tree-optimization/55200] " pinskia at gcc dot gnu.org
2012-11-04  5:30 ` clundquist at bluebox dot net
2012-11-04  5:33 ` clundquist at bluebox dot net
2012-11-10 23:11 ` clundquist at bluebox dot net

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