aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJohn Tytgat <John.Tytgat@aaug.net>2010-08-31 08:42:21 +0000
committerNick Clifton <nickc@gcc.gnu.org>2010-08-31 08:42:21 +0000
commit4546a2efe3d39ea8aa834ef40e5c23d1d545b867 (patch)
treec7d6a76acdfa4f92ef3c767a0ececb73c302e96e /gcc
parent658af27df681d69b3c05a62103e338071df2bdf3 (diff)
downloadgcc-4546a2efe3d39ea8aa834ef40e5c23d1d545b867.zip
gcc-4546a2efe3d39ea8aa834ef40e5c23d1d545b867.tar.gz
gcc-4546a2efe3d39ea8aa834ef40e5c23d1d545b867.tar.bz2
arm.c (arm_override_options): Remove superfluous test.
* config/arm/arm.c (arm_override_options): Remove superfluous test. Fix indentation. From-SVN: r163667
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/arm/arm.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index cf51f9c..ce76b52 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2010-08-31 John Tytgat <John.Tytgat@aaug.net>
+
+ * config/arm/arm.c (arm_override_options): Remove superfluous test.
+ Fix indentation.
+
2010-08-31 Eric Botcazou <ebotcazou@adacore.com>
* dwarf2out.c (gen_decl_die) <CONST_DECL>: Do not skip in Ada.
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
index c5c0b03..cf70708 100644
--- a/gcc/config/arm/arm.c
+++ b/gcc/config/arm/arm.c
@@ -1545,7 +1545,7 @@ arm_override_options (void)
/* Callee super interworking implies thumb interworking. Adding
this to the flags here simplifies the logic elsewhere. */
if (TARGET_THUMB && TARGET_CALLEE_INTERWORKING)
- target_flags |= MASK_INTERWORK;
+ target_flags |= MASK_INTERWORK;
/* TARGET_BACKTRACE calls leaf_function_p, which causes a crash if done
from here where no function is being compiled currently. */
@@ -1555,9 +1555,6 @@ arm_override_options (void)
if (TARGET_ARM && TARGET_CALLEE_INTERWORKING)
warning (0, "enabling callee interworking support is only meaningful when compiling for the Thumb");
- if (TARGET_ARM && TARGET_CALLER_INTERWORKING)
- warning (0, "enabling caller interworking support is only meaningful when compiling for the Thumb");
-
if (TARGET_APCS_STACK && !TARGET_APCS_FRAME)
{
warning (0, "-mapcs-stack-check incompatible with -mno-apcs-frame");