This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/16458] PowerPC - redundant compare
- From: "bergner at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 02 Jun 2012 20:29:04 +0000
- Subject: [Bug target/16458] PowerPC - redundant compare
- Auto-submitted: auto-generated
- References: <bug-16458-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16458
--- Comment #10 from Peter Bergner <bergner at gcc dot gnu.org> 2012-06-02 20:29:04 UTC ---
Author: bergner
Date: Sat Jun 2 20:28:52 2012
New Revision: 188141
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188141
Log:
Backport from mainline
2012-04-11 Peter Bergner <bergner@vnet.ibm.com>
Michael Matz <matz@suse.de>
PR target/16458
* rtlanal.c (unsigned_reg_p): New function.
Update copyright notice dates.
* rtl.h (unsigned_reg_p): Prototype it.
Update copyright notice dates.
* config/rs6000/rs6000.c (rs6000_generate_compare): Use it.
Update comment.
* expr.c (expand_expr_real_1): Set register attributes.
* stmt.c (expand_case): Likewise.
Added:
branches/ibm/gcc-4_6-branch/gcc/testsuite/gcc.target/powerpc/pr16458-1.c
branches/ibm/gcc-4_6-branch/gcc/testsuite/gcc.target/powerpc/pr16458-2.c
branches/ibm/gcc-4_6-branch/gcc/testsuite/gcc.target/powerpc/pr16458-3.c
branches/ibm/gcc-4_6-branch/gcc/testsuite/gcc.target/powerpc/pr16458-4.c
Modified:
branches/ibm/gcc-4_6-branch/gcc/ChangeLog.ibm
branches/ibm/gcc-4_6-branch/gcc/REVISION
branches/ibm/gcc-4_6-branch/gcc/config/rs6000/rs6000.c
branches/ibm/gcc-4_6-branch/gcc/expr.c
branches/ibm/gcc-4_6-branch/gcc/rtl.h
branches/ibm/gcc-4_6-branch/gcc/rtlanal.c
branches/ibm/gcc-4_6-branch/gcc/stmt.c