]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR78255: Make postreload aware of NO_FUNCTION_CSE
authorAndre Vieira <andre.simoesdiasvieira@arm.com>
Wed, 11 Jan 2017 15:08:25 +0000 (15:08 +0000)
committerAndre Vieira <avieira@gcc.gnu.org>
Wed, 11 Jan 2017 15:08:25 +0000 (15:08 +0000)
commitb627d5cea60b8f268ea66333bfaea1c82fcd5d3a
treecfd3a196574c7a29033600eab4faeb4896e7b693
parentc2fadcd2242143e78c05df3bd198dab2dc325bc6
PR78255: Make postreload aware of NO_FUNCTION_CSE

gcc/ChangeLog:
2017-01-11  Andre Vieira <andre.simoesdiasvieira@arm.com>

Backport from mainline
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:
2017-01-11  Andre Vieira <andre.simoesdiasvieira@arm.com>

Backport from mainline
2016-12-20  Andre Vieira  <andre.simoesdiasvieira@arm.com>

* gcc.target/arm/pr78255-2.c: Fix to work for targets
that do not optimize for tailcall.

2017-01-11  Andre Vieira <andre.simoesdiasvieira@arm.com>

Backport from mainline
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: r244319
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]