simplify-rtx: Add missing line for previous commit (PR78583)
authorSegher Boessenkool <segher@kernel.crashing.org>
Wed, 30 Nov 2016 08:41:26 +0000 (09:41 +0100)
committerSegher Boessenkool <segher@gcc.gnu.org>
Wed, 30 Nov 2016 08:41:26 +0000 (09:41 +0100)
commit2df22b5f30b902dea76f131f78e08e530e7bf613
tree40dbe8d64eeb08dc20355fa838e021d7259f495e
parent4a954e068579e326c53bd845a13fbd58ae5a1f80
simplify-rtx: Add missing line for previous commit (PR78583)

The comment for the added case to simplify_truncation reads

  /* Turn (truncate:M1 (*_extract:M2 (reg:M2) (len) (pos))) into
     (*_extract:M1 (truncate:M1 (reg:M2)) (len) (pos')) if possible without
     changing len.  */

but I forgot to check the two modes M2 are actually the same.

PR rtl-optimization/78583
* simplify-rtx.c (simplify_truncation): Add check missing from the
previous commit.

From-SVN: r243000
gcc/ChangeLog
gcc/simplify-rtx.c