* sh.h (OPTIMIZATION_OPTIONS): Define.
authorJ"orn Rennecke <amylaar@cygnus.co.uk>
Thu, 26 Mar 1998 10:17:32 +0000 (10:17 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Thu, 26 Mar 1998 10:17:32 +0000 (10:17 +0000)
From-SVN: r18837

gcc/ChangeLog
gcc/config/sh/sh.h

index 028e157..9087de5 100644 (file)
@@ -1,3 +1,7 @@
+Thu Mar 26 17:34:46 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
+
+       * sh.h (OPTIMIZATION_OPTIONS): Define.
+
 Thu Mar 26 00:19:47 1998  Richard Henderson  <rth@cygnus.com>
 
        * combine.c (make_compound_operation): Simplify (subreg (*_extend) 0).
index e0b05b6..1842574 100644 (file)
@@ -160,6 +160,12 @@ extern int target_flags;
 
 #define PRESERVE_DEATH_INFO_REGNO_P(regno) (TARGET_RELAX || optimize)
 
+#define OPTIMIZATION_OPTIONS(LEVEL,SIZE)                               \
+do {                                                                   \
+  if (SIZE)                                                            \
+    target_flags |= SPACE_BIT;                                         \
+} while (0)
+
 #define ASSEMBLER_DIALECT 0 /* will allow to distinguish b[tf].s and b[tf]/s .  */
 #define OVERRIDE_OPTIONS                                       \
 do {                                                           \