]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
arm.c (arm_override_options): Remove superfluous test.
authorJohn Tytgat <John.Tytgat@aaug.net>
Tue, 31 Aug 2010 08:42:21 +0000 (08:42 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Tue, 31 Aug 2010 08:42:21 +0000 (08:42 +0000)
        * config/arm/arm.c (arm_override_options): Remove superfluous test.
        Fix indentation.

From-SVN: r163667

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

index cf51f9c1998d6c4806ab8cca7ce768218cb580b2..ce76b52535774831b2b74affe425ec09c1192296 100644 (file)
@@ -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.
index c5c0b0340f18d1c1e230cbb2f1851152064a83a0..cf7070895dd991d5ae247aa59a23febebd1d53d4 100644 (file)
@@ -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");