diff options
author | Richard Earnshaw <rearnsha@arm.com> | 2016-12-15 16:00:30 +0000 |
---|---|---|
committer | Richard Earnshaw <rearnsha@gcc.gnu.org> | 2016-12-15 16:00:30 +0000 |
commit | a53613c4ae9ad153ce5d12fdfef413c9e9ae82d6 (patch) | |
tree | 4274dcec62646164c5e20c051b281533eac91571 /gcc/tree-vectorizer.c | |
parent | 091df64952e4922ad4160cd7ea0e76684b3ad0ee (diff) | |
download | gcc-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/tree-vectorizer.c')
0 files changed, 0 insertions, 0 deletions