Add -mflip-thumb for testing.
authorChristian Bruel <christian.bruel@st.com>
Mon, 22 Jun 2015 07:32:15 +0000 (09:32 +0200)
committerChristian Bruel <chrbr@gcc.gnu.org>
Mon, 22 Jun 2015 07:32:15 +0000 (09:32 +0200)
commite65530503a4bc35f009c8f6afdfd01d6ab13383f
treed66f77f31f9b2697a0441ff1de7eec1d80e41c70
parent1628e36bcf93a88d29885dd4e47e44ba80f909c6
Add -mflip-thumb for testing.

PR target/52144n
* config/arm/arm.c (add_attribute, arm_insert_attributes): New functions
(TARGET_INSERT_ATTRIBUTES): Define.
(thumb_flipper): New var.
* config/arm/arm.opt (-mflip-thumb): New switch.

PR target/52144
* gcc.target/arm/flip-thumb.c: New test.

From-SVN: r224721
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/config/arm/arm.opt
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/flip-thumb.c [new file with mode: 0644]