This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/69941] bogus zero_extend transformation in postreload on aarch64
- From: "law at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 05 Mar 2016 05:31:35 +0000
- Subject: [Bug rtl-optimization/69941] bogus zero_extend transformation in postreload on aarch64
- Auto-submitted: auto-generated
- References: <bug-69941-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69941
--- Comment #5 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Author: law
Date: Sat Mar 5 05:30:10 2016
New Revision: 234001
URL: https://gcc.gnu.org/viewcvs?rev=234001&root=gcc&view=rev
Log:
PR rtl-optimization/69941
* postreload.c (reload_combine_recognize_pattern): Ensure all uses of
the reg share its mode.
PR rtl-optimization/69941
* gcc.dg/torture/pr69941.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/torture/pr69941.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/postreload.c
trunk/gcc/testsuite/ChangeLog