[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] Register Allocation -fnew-ra
From: |
Ram Kumar Rengaswamy |
Subject: |
[avr-gcc-list] Register Allocation -fnew-ra |
Date: |
Tue, 22 Aug 2006 11:16:18 -0700 |
Hi,
I am using avr-gcc-3.4.3.
I have been trying to build an application that reserves a pair of
registers (R2 and R3).
I used the option -ffixed-r2 and -ffixed-r3.
I would always get an error message during the compilation of one of
the C files as follows:
error: can't find a register in class `BASE_POINTER_REGS' while
reloading `asm'
However, hunting around the web, I came across this new option -fnew-
ra that uses a different register allocation algorithm.
I am able to successfully build my application with this option.
But it looks like this option is not supported in the newer versions
of gcc.
Is there any reason for removing -fnew-ra option or is avr-gcc 4.0
using -fnew-ra as a default option now ?
Thanks,
-Ram
- [avr-gcc-list] Register Allocation -fnew-ra,
Ram Kumar Rengaswamy <=