On 15.04.2010 19:12, Kazuhiro NISHIYAMA wrote:
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.
- please recheck with gcc-snapshot-20100414 (GCC-4.5.0), when it is built. - please try to combine/bisect object files built with -O0/-O2 to identify the maybe miscompiled file. then split the file to identify a miscompiled function ...