[Bug rtl-optimization/12142] [hppa-linux, 3.3 regression] -fnon-call-exceptions generates incorrect code
cvs-commit at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Jun 11 17:27:00 GMT 2004
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-06-11 17:27 -------
Subject: Bug 12142
CVSROOT: /cvs/gcc
Module name: gcc
Branch: sh-elf-3_5-branch
Changes by: amylaar@gcc.gnu.org 2004-06-11 17:27:11
Modified files:
gcc : ChangeLog.sh-elf cse.c
Log message:
Back out this patch:
2003-10-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
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.
Replace it with this:
* cse.c (count_reg_usage): In INSN, JUMP_INSN and CALL_INSN cases,
if flag_non_call_exceptions is set and the insn may trap, pass
pc_rtx as dest for recursion.
In SET_SRC part of SET case, if dest is already set, pass it down
unchanged.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.sh-elf.diff?cvsroot=gcc&only_with_tag=sh-elf-3_5-branch&r1=1.1.2.7&r2=1.1.2.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cse.c.diff?cvsroot=gcc&only_with_tag=sh-elf-3_5-branch&r1=1.301&r2=1.301.2.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12142
More information about the Gcc-bugs
mailing list