diff mbox series

arm: Remove duplicate entries in isr_attribute_args [PR target/57002]

Message ID 1588173552-10417-1-git-send-email-christophe.lyon@linaro.org
State New
Headers show
Series arm: Remove duplicate entries in isr_attribute_args [PR target/57002] | expand

Commit Message

Christophe Lyon April 29, 2020, 3:19 p.m. UTC
Remove two duplicate entries in isr_attribute_args ("abort" and
"ABORT").

2020-04-29  Christophe Lyon  <christophe.lyon@linaro.org>

	PR target/57002
	gcc/
	* config/arm/arm.c (isr_attribute_args): Remove duplicate entries.
---
 gcc/config/arm/arm.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Ramana Radhakrishnan April 29, 2020, 4:18 p.m. UTC | #1
On Wed, Apr 29, 2020 at 4:19 PM Christophe Lyon via Gcc-patches
<gcc-patches@gcc.gnu.org> wrote:
>
> Remove two duplicate entries in isr_attribute_args ("abort" and
> "ABORT").
>
> 2020-04-29  Christophe Lyon  <christophe.lyon@linaro.org>
>
>         PR target/57002
>         gcc/
>         * config/arm/arm.c (isr_attribute_args): Remove duplicate entries.


OK, this would count as obvious.

Ramana
> ---
>  gcc/config/arm/arm.c | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
> index 30a2a3a..6a6e804 100644
> --- a/gcc/config/arm/arm.c
> +++ b/gcc/config/arm/arm.c
> @@ -3925,8 +3925,6 @@ static const isr_attribute_arg isr_attribute_args [] =
>    { "fiq",   ARM_FT_FIQ },
>    { "ABORT", ARM_FT_ISR },
>    { "abort", ARM_FT_ISR },
> -  { "ABORT", ARM_FT_ISR },
> -  { "abort", ARM_FT_ISR },
>    { "UNDEF", ARM_FT_EXCEPTION },
>    { "undef", ARM_FT_EXCEPTION },
>    { "SWI",   ARM_FT_EXCEPTION },
> --
> 2.7.4
>
diff mbox series

Patch

diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
index 30a2a3a..6a6e804 100644
--- a/gcc/config/arm/arm.c
+++ b/gcc/config/arm/arm.c
@@ -3925,8 +3925,6 @@  static const isr_attribute_arg isr_attribute_args [] =
   { "fiq",   ARM_FT_FIQ },
   { "ABORT", ARM_FT_ISR },
   { "abort", ARM_FT_ISR },
-  { "ABORT", ARM_FT_ISR },
-  { "abort", ARM_FT_ISR },
   { "UNDEF", ARM_FT_EXCEPTION },
   { "undef", ARM_FT_EXCEPTION },
   { "SWI",   ARM_FT_EXCEPTION },