Bug#577973: gcc-4.4: optimization bug on x86
Package: gcc-4.4
Version: 4.4.3-7
Severity: normal
Ruby 1.9.1 HEAD compiled with gcc-4.4.x -O2 causes Segmentation fault.
I can not reproduce on amd64.
How to reproduce:
svn co -r 26571 http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1
cd ruby_1_9_1
autoconf
./configure
make miniruby
./miniruby -e 'catch(:foo){throw :foo}'
Ruby does not abort when use `./configure optflags=-O0`,
`./configure optflags=-O1`, or `./configure optflags=-O3`.
Then it seems gcc optimization bug.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-3-686 (SMP w/1 CPU core)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages gcc-4.4 depends on:
ii binutils 2.20.1-5 The GNU assembler, linker and bina
ii cpp-4.4 4.4.3-7 The GNU C preprocessor
ii gcc-4.4-base 4.4.3-7 The GNU Compiler Collection (base
ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib
ii libgcc1 1:4.4.3-7 GCC support library
ii libgomp1 4.4.3-7 GCC OpenMP (GOMP) support library
Versions of packages gcc-4.4 recommends:
ii libc6-dev 2.10.2-6 Embedded GNU C Library: Developmen
Versions of packages gcc-4.4 suggests:
pn gcc-4.4-doc <none> (no description available)
pn gcc-4.4-locales <none> (no description available)
pn gcc-4.4-multilib <none> (no description available)
pn libcloog-ppl0 <none> (no description available)
pn libgcc1-dbg <none> (no description available)
pn libgomp1-dbg <none> (no description available)
pn libmudflap0-4.4-dev <none> (no description available)
pn libmudflap0-dbg <none> (no description available)
pn libppl-c2 <none> (no description available)
pn libppl7 <none> (no description available)
-- no debconf information
Reply to: