2016-01-20 Christian Bruel <christian.bruel@st.com>
authorchrbr <chrbr@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Jan 2016 13:03:45 +0000 (13:03 +0000)
committerchrbr <chrbr@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Jan 2016 13:03:45 +0000 (13:03 +0000)
commit7b0c1b6dd66863c7b6e7a379e3fc4acacce45236
tree894ce561eca6774f5039accc83c2303245a3c273
parent874e154a03c28934ac2348aa75059a89167f1ff2
2016-01-20  Christian Bruel  <christian.bruel@st.com>

PR target/69245
* config/arm/arm-c.c (arm_pragma_target_parse): Add comments.
Move arm_reset_previous_fndecl and set_target_option_current_node in
the conditional part.  Call save_restore_target_globals.
* config/arm/arm.c (arm_set_current_function):
Refactor to better support #pragma target and attribute mix.
Call save_restore_target_globals.
* config/arm/arm-protos.h (save_restore_target_globals): New function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232872 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/arm/arm-c.c
gcc/config/arm/arm-protos.h
gcc/config/arm/arm.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/pr69245.c [new file with mode: 0644]