PR78255: Make postreload aware of NO_FUNCTION_CSE
authorAndre Vieira <andre.simoesdiasvieira@arm.com>
Fri, 9 Dec 2016 16:46:42 +0000 (16:46 +0000)
committerAndre Vieira <avieira@gcc.gnu.org>
Fri, 9 Dec 2016 16:46:42 +0000 (16:46 +0000)
commitd5a752ebc3c0105387c5298079ddc90043fcee2a
tree7a4c38b46db4e11a9e271ed95ebbb80ac6a2a445
parentd9e0fdff4fda08d9d2f60eff01e0c50dedf51ae9
PR78255: Make postreload aware of NO_FUNCTION_CSE

gcc/ChangeLog:
2016-12-09  Andre Vieira <andre.simoesdiasvieira@arm.com>

PR rtl-optimization/78255
* gcc/postreload.c (reload_cse_simplify): Do not CSE a function if
NO_FUNCTION_CSE is true.

gcc/testsuite/ChangeLog:
2016-12-09  Andre Vieira <andre.simoesdiasvieira@arm.com>

PR rtl-optimization/78255
* gcc.target/aarch64/pr78255.c: New.
* gcc.target/arm/pr78255-1.c: New.
* gcc.target/arm/pr78255-2.c: New.

From-SVN: r243494
gcc/ChangeLog
gcc/postreload.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/pr78255.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/pr78255-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/pr78255-2.c [new file with mode: 0644]