Fix for infinite loop on x86_64 (PR 18300)
Roger Sayle
roger@eyesopen.com
Wed Nov 10 16:19:00 GMT 2004
On Wed, 10 Nov 2004, Zak Kipling wrote:
> CHANGELOG
>
> Fixes PR target/18300: Infinite loop when passing object with 3+ base
> classes by value.
The ChangeLog entry should really be written as:
2004-11-10 Zak Kipling <zak@transversal.com>
PR target/18300
* config/i386/i386.c (classify_argument): Fix infinite loop when
passing object with 3 or more base classes by value.
testsuite/
PR target/18300
* g++.dg/other/infloop-1.C: New test case.
My personal preference would be instead of shadowing the variable i
and having two nested loops with the same index variable, to rename
the conflicting inner loops to use a different variable, such as "j".
Could you retest and resubmit your patch with that change and the
above ChangeLog entry?
Thanks in advance,
Roger
--
More information about the Gcc-patches
mailing list