aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/romp
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-02-09 05:09:05 +0000
committerRichard Stallman <rms@gnu.org>1992-02-09 05:09:05 +0000
commit59a5c11b9cc4c1c571cc464b3fd2d1e107c015d8 (patch)
treeeb5acd6674af37cca80d894b1efa71029d08d088 /gcc/config/romp
parentc3878c43bd8ffe17a6a41796a289309432822314 (diff)
downloadgcc-59a5c11b9cc4c1c571cc464b3fd2d1e107c015d8.zip
gcc-59a5c11b9cc4c1c571cc464b3fd2d1e107c015d8.tar.gz
gcc-59a5c11b9cc4c1c571cc464b3fd2d1e107c015d8.tar.bz2
*** empty log message ***
From-SVN: r293
Diffstat (limited to 'gcc/config/romp')
-rw-r--r--gcc/config/romp/romp.h22
1 files changed, 8 insertions, 14 deletions
diff --git a/gcc/config/romp/romp.h b/gcc/config/romp/romp.h
index 6904cc5..97531d0 100644
--- a/gcc/config/romp/romp.h
+++ b/gcc/config/romp/romp.h
@@ -70,23 +70,17 @@ extern int target_flags;
#define TARGET_DEFAULT 3
-/* Define this to change the optimizations peformed by default. */
+/* Define this to change the optimizations peformed by default.
-#define OPTIMIZATION_OPTIONS(LEVEL)
+ This used to depend on the value of write_symbols,
+ but that is contrary to the general plan for GCC options. */
-/* Define this to modify the options specified by the user.
-
- On the ROMP, we turn on various flags if optimization is selected.
- More get turned on if debugging is off. */
-
-#define OVERRIDE_OPTIONS \
+#define OPTIMIZATION_OPTIONS(LEVEL) \
{ \
- if (optimize) \
+ if ((LEVEL) > 0) \
{ \
flag_force_addr = 1; \
flag_force_mem = 1; \
- if (write_symbols == NO_DEBUG) \
- flag_omit_frame_pointer = 1; \
} \
}
@@ -986,14 +980,14 @@ struct rt_cargs {int gregs, fregs; };
((LEGITIMATE_ADDRESS_CONSTANT_P (X) \
|| GET_CODE (X) == CONST_INT \
|| GET_CODE (X) == CONST_DOUBLE) \
- && ! (GET_CODE (X) == SYMBOL_REF && (X)->integrated))
+ && ! (GET_CODE (X) == SYMBOL_REF && SYMBOL_REF_FLAG (X)))
/* For no good reason, we do the same as the other RT compilers and load
the addresses of data areas for a function from our data area. That means
that we need to mark such SYMBOL_REFs. We do so here. */
-#define ENCODE_SEGMENT_INFO(DECL) \
+#define ENCODE_SECTION_INFO(DECL) \
if (TREE_CODE (TREE_TYPE (DECL)) == FUNCTION_TYPE) \
- XEXP (DECL_RTL (DECL), 0)->integrated = 1;
+ SYMBOL_REF_FLAG (XEXP (DECL_RTL (DECL), 0)) = 1;
/* The macros REG_OK_FOR..._P assume that the arg is a REG rtx
and check its validity for a certain class.