OSDN Git Service

PR optimization/12142
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Oct 2003 17:55:41 +0000 (17:55 +0000)
committerdanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Oct 2003 17:55:41 +0000 (17:55 +0000)
commitf9c1ba9dc7fec7ebfcf8a35c5bcc19ad96cb7323
tree04d2ab8aacf304e21a4ca41a910c138798e74708
parentd9af11d881f89bcb0171299a3a350d6655d7b6e7
PR optimization/12142
* cse.c (count_reg_usage): In a SET with a REG SET_DEST, count the
uses of the register in the SET_SRC.  Remove unnecessary argument.
* pa.c (legitimize_pic_address): Before reload, use a scratch register
for the intermediate result in loading the address of a SYMBOL_REF.
Set the MEM_NOTRAP_P flag for the MEM.  Add a REG_EQUAL to the insn
which loads the SYMBOL_REF address.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72234 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/pa/pa.c
gcc/cse.c