[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#577973: gcc-4.4: optimization bug on x86



Sorry for missing detail informations.
I reported it first to ruby, and it filed in <http://redmine.ruby-lang.org/issues/show/2727>,
and it marked as Third Party's Issue.

At Fri, 16 Apr 2010 02:53:45 +0200,
Matthias Klose wrote:
> 
> - please recheck with gcc-snapshot-20100414 (GCC-4.5.0), when it is built.

Binary compiled with gcc-snapshot-20100414 does not cause SEGV.

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

Miscompiled function may be rb_f_catch in vm_eval.c.

I checked when memory overwrote using gdb,
but it occured unrelated codes.
Log of gdb is in <http://znz.s1.xrea.com/t/?date=20100412#p01>.

On the ticket in ruby's BTS, Yusuke Endoh says that
inlined callee overwrites caller's stack, and he marked
it as Third Party's issue.



Reply to: