[PATCH] Remove cast in Tag_ABI_VFP_args switch case stmts
authorJiong Wang <jiong.wang@arm.com>
Mon, 29 Dec 2014 14:56:36 +0000 (14:56 +0000)
committerJiong Wang <jiong.wang@arm.com>
Mon, 29 Dec 2014 14:56:36 +0000 (14:56 +0000)
  2014-12-29  Thomas Preud'homme  <thomas.preudhomme@arm.com>

  gdb/
    * arm-tdep.c (arm_gdbarch_init): Remove casts in Tag_ABI_VFP_args
    switch case statements.

gdb/ChangeLog
gdb/arm-tdep.c

index f6ddc47dab515828949c483644f09894db50b4cc..ef7cf4695eef5e49ae38538244639dc69fa8501b 100644 (file)
@@ -1,3 +1,8 @@
+2014-12-29  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * arm-tdep.c (arm_gdbarch_init): Remove casts in Tag_ABI_VFP_args switch
+       case statements.
+
 2014-12-29  Anthony Green  <green@moxielogic.com>
 
        * configure.tgt: Add support for moxiebox target.
index e12ae6e633e7ee8fe9f48000175978e6327670ee..dfec9234d8ff0c9876eb7f45291795f77003b220 100644 (file)
@@ -9968,25 +9968,25 @@ arm_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
                                                        OBJ_ATTR_PROC,
                                                        Tag_ABI_VFP_args))
                        {
-                       case (int) AEABI_VFP_args_base:
+                       case AEABI_VFP_args_base:
                          /* "The user intended FP parameter/result
                             passing to conform to AAPCS, base
                             variant".  */
                          fp_model = ARM_FLOAT_SOFT_VFP;
                          break;
-                       case (int) AEABI_VFP_args_vfp:
+                       case AEABI_VFP_args_vfp:
                          /* "The user intended FP parameter/result
                             passing to conform to AAPCS, VFP
                             variant".  */
                          fp_model = ARM_FLOAT_VFP;
                          break;
-                       case (int) AEABI_VFP_args_toolchain:
+                       case AEABI_VFP_args_toolchain:
                          /* "The user intended FP parameter/result
                             passing to conform to tool chain-specific
                             conventions" - we don't know any such
                             conventions, so leave it as "auto".  */
                          break;
-                       case (int) AEABI_VFP_args_compatible:
+                       case AEABI_VFP_args_compatible:
                          /* "Code is compatible with both the base
                             and VFP variants; the user did not permit
                             non-variadic functions to pass FP