This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix PR20204
On Feb 25, 2005, at 2:42 PM, Diego Novillo wrote:
Andrew Pinski wrote:
On Feb 25, 2005, at 2:21 PM, Diego Novillo wrote:
Andrew Pinski wrote:
Besides the test only being able to run on cris (well I think it
would work
also on ppc), you most likely want to have it run only on cris.
No. It runs on x86 as well.
The trick with the __asm__ annotations is that they force the
optimizers to treat all those variables as virtuals, tickling the
bug. This test works on x86 with the fix and fails without it.
How can it run on x86, when there is no register r12/r11?
>
Ah, you meant the register names. Yes, those need changing for
different arches. We don't currently warn on the __asm__ annotations,
the RTL optimizers ignore that silently. That'd be a different bug.
I filed the ICE as PR 20214 and it is a target bug.
-- Pinski