target/5126: m68k pic optimisation bug

rth@gcc.gnu.org rth@gcc.gnu.org
Fri Mar 29 18:23:00 GMT 2002


Synopsis: m68k pic optimisation bug

Responsible-Changed-From-To: unassigned->rth
Responsible-Changed-By: rth
Responsible-Changed-When: Fri Mar 29 17:48:53 2002
Responsible-Changed-Why:
    .
State-Changed-From-To: open->feedback
State-Changed-By: rth
State-Changed-When: Fri Mar 29 17:48:53 2002
State-Changed-Why:
    I remember this going around sometime last year.  AFAICT, the
    fix for this was
    
      if (flag_pic && current_function_uses_pic_offset_table)
        {
          mask |= 1 << (15 - PIC_OFFSET_TABLE_REGNUM);
          num_saved_regs++;
        }
    
    in the prologue and epilogue expanders.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5126



More information about the Gcc-bugs mailing list