https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7044
--- Comment #2 from Nick Clifton <nickc at gcc dot gnu.org> --- Author: nickc Date: Thu Mar 10 17:24:16 2016 New Revision: 234118 URL: https://gcc.gnu.org/viewcvs?rev=234118&root=gcc&view=rev Log: PR target/7044 * config/aarch64/aarch64.c (aarch64_override_options_after_change_1): When forcing flag_omit_frame_pointer to be true, use a special value that can be detected if this function is called again, thus preventing flag_omit_leaf_frame_pointer from being forced to be false. * gcc.target/aarch64/pr70044.c: New test. Added: trunk/gcc/testsuite/gcc.target/aarch64/pr70044.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/aarch64/aarch64.c trunk/gcc/testsuite/ChangeLog