From 8ccc6ec9f82be8599456367e12f0ffe3f517e485 Mon Sep 17 00:00:00 2001 From: Bernd Schmidt Date: Tue, 5 Dec 2000 19:51:26 +0000 Subject: [PATCH] Backport a fix to the 2.95 branch From-SVN: r38048 --- gcc/ChangeLog | 5 +++++ gcc/config/arm/arm.c | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a36d7c23001b..e736e0e4b851 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 * version.c: Bump. diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 553e25c7b76e..5c884837e1ac 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -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. -- 2.47.2