This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r265474 - in /trunk/gcc: ChangeLog combine.c
- From: segher at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 24 Oct 2018 22:34:48 -0000
- Subject: r265474 - in /trunk/gcc: ChangeLog combine.c
Author: segher
Date: Wed Oct 24 22:34:40 2018
New Revision: 265474
URL: https://gcc.gnu.org/viewcvs?rev=265474&root=gcc&view=rev
Log:
combine: Don't do make_more_copies for dest PC (PR87720)
Jumps are written in RTL as moves to PC. But the latter has no mode,
so we shouldn't try to use it. Since the optimization this routine
does does not really help for jumps at all, let's just skip it.
PR rtl-optimization/87720
* combine.c (make_more_copies): Skip if the dest is pc_rtx.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/combine.c