]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Backport a fix to the 2.95 branch
authorBernd Schmidt <bernds@redhat.co.uk>
Tue, 5 Dec 2000 19:51:26 +0000 (19:51 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Tue, 5 Dec 2000 19:51:26 +0000 (19:51 +0000)
From-SVN: r38048

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

index a36d7c23001b18278478d46965ddf988943a457e..e736e0e4b85103354b5694578c226fa93cfced69 100644 (file)
@@ -5,6 +5,11 @@
        peepholes so that they do not generate UNPREDICATBLE opcodes.
        (ie ones where the increment clobbers the source/destination).
 
+       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.
+
 2000-11-30  Bernd Schmidt  <bernds@redhat.co.uk>
 
        * version.c: Bump.
index 553e25c7b76efa39fdd5dad405115d256ee30c6d..5c884837e1ac2b6e2efd73a22a4073b068b9a95a 100644 (file)
@@ -490,14 +490,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_fast_multiply = (insn_flags & FL_FAST_MULT) != 0;
+  arm_arch4         = (insn_flags & FL_ARCH4) != 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));
-  
+
   /* Default value for floating point code... if no co-processor
      bus, then schedule for emulated floating point.  Otherwise,
      assume the user has an FPA.