* arm.c (arm_override_options): Correct initialization of
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 25 Oct 1999 19:24:40 +0000 (19:24 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 25 Oct 1999 19:24:40 +0000 (19:24 +0000)
arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
arm_is_strong, and arm_is_6_or_7.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30169 138bc75d-0d04-0410-961f-82ee72b054a4

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

index d3dec30..94a72a6 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 5b8497e..01f4175 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,