This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Bad Register Number for libgcc
- From: Jens Mehler <jens dot mehler at mni dot thm dot de>
- To: gcc-help at gcc dot gnu dot org
- Date: Sun, 10 Mar 2013 14:57:43 +0100
- Subject: Bad Register Number for libgcc
Hello,
I have ported the GCC-4.5.3 for a 32-bit CPU.
Building GCC works like charm, even assembling several tests I wrote
myself works.
After porting the Gnu-Binutils I took my first approach of building libgcc.
Poorly it runs into an error.
../../../gcc-4.5.3/libgcc/../gcc/libgcc2.c: In function '__powidf2':
../../../gcc-4.5.3/libgcc/../gcc/libgcc2.c:1739:1: internal compiler
error: in use_type, at var-tracking.c:4903
On var-tracking.c line 4903:
gcc_assert (REGNO (loc) < FIRST_PSEUDO_REGISTER);
loc is an RTX.
Can someone please give me pointer where the problem might be.
If additional information is I will provide them.
With best Regards
Jens