[Bug target/52144] ARM should support arm/thumb function attribute to permit different instruction sets in the same source
chrbr at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jun 22 07:32:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52144
--- Comment #8 from chrbr at gcc dot gnu.org ---
Author: chrbr
Date: Mon Jun 22 07:32:15 2015
New Revision: 224721
URL: https://gcc.gnu.org/viewcvs?rev=224721&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/gcc.target/arm/flip-thumb.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/arm/arm.c
trunk/gcc/config/arm/arm.opt
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list