This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: PR 8146
> I have no problems. But you do know gcc 3.2 may generate wrong code
> for i686, don't you?
Probably, because I see no other reason why I keep testing on an i586 ;-)
> I am using 2 patches:
>
> http://gcc.gnu.org/ml/gcc-patches/2002-08/msg01401.html
This patch:
2002-08-17 H.J. Lu <hjl@gnu.org>
* calls.c (PUSH_ARGS_REVERSED): Define only if not defined.
* expr.c (PUSH_ARGS_REVERSED): Likewise.
2002-07-26 H.J. Lu <hjl@gnu.org>
* config/i386/i386.h (PUSH_ARGS_REVERSED): Set to 1.
is enough to restore gcc 2.95.3 bootstrapping both on the trunk and the
branch. However I think the patch somewhat conflicts with the comment for
PUSH_ARGS_REVERSED at the beginning of calls.c:
/* Decide whether a function's arguments should be processed
from first to last or from last to first.
They should if the stack and args grow in opposite directions, but
only if we have push insns. */
So it seems to me that either the comment or the code should be fixed.
--
Eric Botcazou