This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/11662] [3.3 regression][SPARC] -O1: wrong code for expr. with cast to long long and exclusive or
- From: "ehrhardt at mathematik dot uni-ulm dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Jul 2003 16:36:22 -0000
- Subject: [Bug optimization/11662] [3.3 regression][SPARC] -O1: wrong code for expr. with cast to long long and exclusive or
- References: <20030724145955.11662.heinrich.brand@fujitsu-siemens.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11662
------- Additional Comments From ehrhardt at mathematik dot uni-ulm dot de 2003-07-25 16:36 -------
This is a combine bug where CLOBBER expressions, that are meant to
make the combine attempt fail are folded and treated as zero.
It got fixed in 3.4 by this hunk:
2003-07-10 Denis Chertykov <denisc@overta.ru>
Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* combine.c (gen_binary): Handle the CLOBBER rtx and
don't build a binary operation with it.
I'll add the relevant backported hunk as a proposed patch. But it'll
take some time to get it bootstrapped and regresison tested.
regards Christian