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

Bug#378599: [m68k] gcc-4.1 -O2 optimization problem



tags 378599 + moreinfo
thanks

Stephen R Marenka <stephen@marenka.net> writes:

> We now have about sixteen packages that end up with a segfault or an
> illegal instruction. I haven't tried recompiling all these to verify that 
> this is the same problem, but I will if it will help.
>
> The problem is I have no idea how to isolate this bug.

Select the most minimal package where the problem is reproducible. Try
to compile single .c files with -O0 to identify the miscompiled file.
Split the miscompiled file by function to idenify the miscompiled
function. Make a stand-alone testcase involving only this function.

-- 
	Falk



Reply to: