This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, This patch fixes the issue reported in PR78255 by making postreload aware it should not be performing CSE on functions if NO_FUNCTION_CSE is defined to true. Bootstrap and full regression on arm-none-linux-gnueabihf and aarch64-unknown-linux-gnu. Also checked this fixed the reported issue on arm-none-eabi. Is this OK for trunk? Cheers, Andre 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/arm/pr78255-1.c: New. * gcc.target/arm/pr78255-2.c: New. gcc/testsuite/ChangeLog: 2016-12-09 Andre Vieira <andre.simoesdiasvieira@arm.com> PR rtl-optimization/78255 * gcc.target/aarch64/pr78255.c: New.
Attachment:
diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |