]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR target/69245 (ICE in extract_insn, at recog.c:2286 on arm-linux-gnueabihf)
authorChristian Bruel <christian.bruel@st.com>
Wed, 27 Jan 2016 13:03:45 +0000 (14:03 +0100)
committerChristian Bruel <chrbr@gcc.gnu.org>
Wed, 27 Jan 2016 13:03:45 +0000 (14:03 +0100)
commiteeb085f34166c7411a95913b3ff9c7dc0aad34f1
tree894ce561eca6774f5039accc83c2303245a3c273
parent4ecbadc72896ca5fa7a3cdeea84f4faafd3b0be3
re PR target/69245 (ICE in extract_insn, at recog.c:2286 on arm-linux-gnueabihf)

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.

From-SVN: r232872
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]