arm.c (arm_override_options): Correct initialization of arm_fast_multiply...
authorJeffrey A Law <law@cygnus.com>
Mon, 25 Oct 1999 19:24:40 +0000 (19:24 +0000)
committerJeff Law <law@gcc.gnu.org>
Mon, 25 Oct 1999 19:24:40 +0000 (13:24 -0600)
* arm.c (arm_override_options): Correct initialization of
arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
arm_is_strong, and arm_is_6_or_7.

From-SVN: r30169

gcc/ChangeLog
gcc/config/arm/arm.c

index d3dec30183cf3e3404b11eb70c75d6da28950a6d..94a72a6ff3437b15cb2cb9b7570a73742f9b4cdc 100644 (file)
@@ -4,6 +4,10 @@
 
 Mon Oct 25 00:42:35 1999  Jeffrey A Law  (law@cygnus.com)
 
+       * arm.c (arm_override_options): Correct initialization of
+       arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
+       arm_is_strong, and arm_is_6_or_7.
+
        * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
        (note_set_pseudo_multiple_uses): New function.
        (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
index 5b8497e7de95daca6a4d9288528c9566a12846a5..01f4175c017b5b59d4172b9025ef650676db6122 100644 (file)
@@ -504,14 +504,14 @@ arm_override_options ()
     warning ("Passing floating point arguments in fp regs not yet supported");
   
   /* Initialise boolean versions of the flags, for use in the arm.md file.  */
-  arm_fast_multiply = insn_flags & FL_FAST_MULT;
-  arm_arch4         = insn_flags & FL_ARCH4;
-  arm_arch5         = insn_flags & FL_ARCH5;
+  arm_fast_multiply = (insn_flags & FL_FAST_MULT) != 0;
+  arm_arch4         = (insn_flags & FL_ARCH4) != 0;
+  arm_arch5         = (insn_flags & FL_ARCH5) != 0;
   
-  arm_ld_sched      = tune_flags & FL_LDSCHED;
-  arm_is_strong     = tune_flags & FL_STRONG;
+  arm_ld_sched      = (tune_flags & FL_LDSCHED) != 0;
+  arm_is_strong     = (tune_flags & FL_STRONG) != 0;
   arm_is_6_or_7     = ((tune_flags & (FL_MODE26 | FL_MODE32))
-                      && !(tune_flags & FL_ARCH4));
+                      && !(tune_flags & FL_ARCH4)) != 0;
   
   /* Default value for floating point code... if no co-processor
      bus, then schedule for emulated floating point.  Otherwise,