[Bug optimization/12142] [hppa-linux, 3.3/3.4 regression] -fnon-call-exceptions generates incorrect code
cvs-commit at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Oct 8 17:56:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12142
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-10-08 17:55 -------
Subject: Bug 12142
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: danglin@gcc.gnu.org 2003-10-08 17:55:45
Modified files:
gcc : ChangeLog cse.c
gcc/config/pa : pa.c
Log message:
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.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.1337&r2=2.1338
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cse.c.diff?cvsroot=gcc&r1=1.272&r2=1.273
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/pa/pa.c.diff?cvsroot=gcc&r1=1.227&r2=1.228
More information about the Gcc-bugs
mailing list