aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppdefault.c
diff options
context:
space:
mode:
authorRichard Earnshaw <rearnsha@arm.com>2016-12-15 16:00:30 +0000
committerRichard Earnshaw <rearnsha@gcc.gnu.org>2016-12-15 16:00:30 +0000
commita53613c4ae9ad153ce5d12fdfef413c9e9ae82d6 (patch)
tree4274dcec62646164c5e20c051b281533eac91571 /gcc/cppdefault.c
parent091df64952e4922ad4160cd7ea0e76684b3ad0ee (diff)
downloadgcc-a53613c4ae9ad153ce5d12fdfef413c9e9ae82d6.zip
gcc-a53613c4ae9ad153ce5d12fdfef413c9e9ae82d6.tar.gz
gcc-a53613c4ae9ad153ce5d12fdfef413c9e9ae82d6.tar.bz2
[arm] Use cl_target_options for configuring the active target
It now becomes apparent that it would be better to use the the cl_target_options as the basis for calling arm_configure_build_target; it already contains exactly the same fields that we need. I chose not to rewrite the earlier patches as that would make the progression of changes seem less logical than it currently is, with several early changes having no immediate justification. * arm-protos.h (arm_configure_build_target): Change second argument to cl_target_options. * arm.c (arm_configure_build_target): Likewise. (arm_option_restore): Update accordingly. (arm_option_override): Create the target_option_default_node before calling arm_configure_build_target. Use it in call of latter. Resynchronize after all other overrides have been calculated. (arm_valid_target_attribute_tree): Use the target options for reconfiguration. Resynchronize after performing override checks. * arm-c.c (arm_pragma_target_parse): Use target optiosn from cur_tree to reconfigure the build target. From-SVN: r243713
Diffstat (limited to 'gcc/cppdefault.c')
0 files changed, 0 insertions, 0 deletions