[PATCH, ARM] attribute target (thumb,arm) [6/6] -> [7/7]

Christian Bruel christian.bruel@st.com
Thu Dec 18 14:57:00 GMT 2014


Hello Ramana,

I don't know if you have started to look at it, but the attribute 
support fails after upgrading.

This patch aims to catch up on the changes around the fipa_ra 
-masm-syntax-unified options since the initial posting. They were not 
tested/supported with the attribute, and of course generated new 
failures after an update, as they needs resetting depending on thumb mode.

It also fixes various minor thinkos, one that prevented global flags 
(e.g -fschedule_insns) depending on thumb mode to be correctly reset on 
situation were -mthumb was passed on the command line and thumb/arm 
attribute was used alternatively. The other is around the -mflip-thumb 
option setting.

Last, a minor fix in the test attr_arm-err.c that had false failures 
with conflicting -march.

Aside, a funny thing: The ACLE doc 
(https://gcc.gnu.org/onlinedocs/gcc/ARM-C-Language-Extensions-_0028ACLE_0029.html#ARM-C-Language-Extensions-_0028ACLE_0029) 
already as a visionary description of the attribute. I might have missed 
something but this time the doc comes earlier than the implementation 
:-) without the historical background.

Best Regards

Christian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: p7.patch
Type: text/x-patch
Size: 10218 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20141218/2d405eae/attachment.bin>


More information about the Gcc-patches mailing list