This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: no_new_pseudos == 1 and force_reg
- To: thomas joseph <thomascanny at yahoo dot co dot nz>
- Subject: Re: no_new_pseudos == 1 and force_reg
- From: Aldy Hernandez <aldyh at redhat dot com>
- Date: 04 Jun 2001 16:48:46 +0100
- Cc: gcc at gcc dot gnu dot org
- References: <20010604104839.99597.qmail@web14704.mail.yahoo.com>
>>>>> "thomas" == thomas joseph <thomascanny@yahoo.co.nz> writes:
> But while building newlib it says
> internal_compiler_error in emit_insn.c in gen_movhi.
> So, where could be the possible mistake I must have
> made.
> (This error comes For int to memory moves.
> (my observation))
you need to debug gcc itself and find out exactly why that message is
being trigerred. The message in itself is probably not useful.
If you are compiling a particular file in newlib, you might want to
compile it with "-save-temps" and then save the .i file. Then you can
compile that .i file with "cc1" under gdb and watch it die. Then
inspect variables around that point and try to figure out why it died
:)
Of course if you were a real man like Nick Clifton, you'd use
printf()s instead of gdb to debug. ;-)
Cheers.
Aldy