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]
Other format: [Raw text]

Re: Problem with new port


> I don't think there should be any reference to
> virtual-outgoing-args at this stage.

Indeed.  function.c:instantiate_virtual_regs is supposed to
take care of these references.  I suggest to debug cc1 using
gdb, setting a breakpoint where instantiate_virtual_regs
works on the PATTERN of an individual insn,
        instantiate_virtual_regs_1 (&PATTERN (insn), insn, 1);
and conditionalize it on insn->fld[0].rtint == 42 .  Then
you look why this insn ddoesn't get the virtual register
reference replaced.

-- 
--------------------------
SuperH (UK) Ltd.
2410 Aztec West / Almondsbury / BRISTOL / BS32 4QX
T:+44 1454 465658


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