avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] testsuite saga continues


From: Wouter van Gulik
Subject: Re: [avr-gcc-list] testsuite saga continues
Date: Wed, 30 Jan 2008 09:56:35 +0100
User-agent: Thunderbird 2.0.0.9 (Windows/20071031)

Do you have a clue on why the tests fail? There is an ugly bug concerning
stack allocation and 64 bit variables, maybe that is the evil one. See:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27386 for details.

All the failed tests I've seen so far do in fact pass "long long" arguments to functions together with a bunch of other arguments (sometimes using va_args, too).

In one of the cases (gcc.c-torture/execute/20030307-1.c), the test only fails at -O0 and -O1, but passes with other optimization levels because the functions get inlined and disappear completely, so the argument passing problem disappears too.

So, I would say that it is very likely the same bug...


So this means that 64 bit is mainly supported, only due to the stack allocation bug it's hard (if not impossible) to use.
We should really try to find someone who can fix this nasty bug.

Note that all sort of stack parsed arguments can go wrong, so it's not only 64 bit.

Wouter




reply via email to

[Prev in Thread] Current Thread [Next in Thread]