This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/53083] gcc bug in moving from the SSE registers back onto the heap.


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

--- Comment #8 from Uros Bizjak <ubizjak at gmail dot com> 2012-05-16 06:30:58 UTC ---
(In reply to comment #6)

> I've tried to take the source-file in question (miarc.c) and make something
> self-contained, but I was unable to make it work due to this being an internal
> xorg-file, apparently using and depending on internal headers. If you have any
> pointers on how to tackle such a situation to convert it to something
> selfcontained I'd be happy to try it out.

First, prepare some test input and call failing function.  Compare its result
with some reference result and abort () if the result is not expected. The
preprocessed file is self-contained, so you could just compile it and link into
executable.

Starting from here, you remove portions of the function that are not needed
(i.e. unreachable if branches, switch cases, etc...) for test input.

Maybe you could ask Gentoo compiler maintainer for help...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]