This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: no_new_pseudos == 1 and force_reg


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]