https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63304
--- Comment #29 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> --- Author: ramana Date: Thu Oct 22 04:26:50 2015 New Revision: 229160 URL: https://gcc.gnu.org/viewcvs?rev=229160&root=gcc&view=rev Log: [Patch AArch64 63304] Fix issue with global state. Jiong pointed out privately that there was a thinko in the way in which the global state was being set and reset. I don't like adding such global state but .... 2015-10-22 Ramana Radhakrishnan <ramana.radhakrish...@arm.com> PR target/63304 * config/aarch64/aarch64.c (aarch64_nopcrelative_literal_loads): New. (aarch64_expand_mov_immediate): Use aarch64_nopcrelative_literal_loads. (aarch64_classify_address): Likewise. (aarch64_secondary_reload): Likewise. (aarch64_override_options_after_change_1): Adjust. * config/aarch64/aarch64.md (aarch64_reload_movcp<GPF_TF:mode><P:mode>): Use aarch64_nopcrelative_literal_loads. (aarch64_reload_movcp<VALL:mode><P:mode>): Likewise. * config/aarch64/aarch64-protos.h (aarch64_nopcrelative_literal_loads): Declare 2015-10-22 Jiong Wang <jiong.w...@arm.com> Ramana Radhakrishnan <ramana.radhakrish...@arm.com> PR target/63304 * gcc.target/aarch64/pr63304_1.c: New test. Added: trunk/gcc/testsuite/gcc.target/aarch64/pr63304_1.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/aarch64/aarch64-protos.h trunk/gcc/config/aarch64/aarch64.c trunk/gcc/config/aarch64/aarch64.md trunk/gcc/testsuite/ChangeLog