diff mbox series

[pushed] aarch64: Remove duplicated call

Message ID mptsf1mjceu.fsf@arm.com
State New
Headers show
Series [pushed] aarch64: Remove duplicated call | expand

Commit Message

Richard Sandiford Feb. 21, 2024, 11:15 a.m. UTC
I noticed while working on another patch that we had a duplicated
call to aarch64_process_target_attr.

Tested on aarch64-linux-gnu & pushed.

Richard


gcc/
	* config/aarch64/aarch64.cc (aarch64_option_valid_attribute_p):
	Remove duplicated call.
---
 gcc/config/aarch64/aarch64.cc | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/gcc/config/aarch64/aarch64.cc b/gcc/config/aarch64/aarch64.cc
index f9cedd31bc1..8a3aa98a32e 100644
--- a/gcc/config/aarch64/aarch64.cc
+++ b/gcc/config/aarch64/aarch64.cc
@@ -19542,7 +19542,6 @@  aarch64_option_valid_attribute_p (tree fndecl, tree, tree args, int)
     cl_target_option_restore (&global_options, &global_options_set,
 			      TREE_TARGET_OPTION (target_option_current_node));
 
-  ret = aarch64_process_target_attr (args);
   ret = aarch64_process_target_attr (args);
   if (ret)
     {