aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Earnshaw <erich@gnu.org>1993-10-10 16:46:52 +0000
committerRichard Earnshaw <erich@gnu.org>1993-10-10 16:46:52 +0000
commit26563586437d27f43544bb2feb7ed0486621f796 (patch)
tree5172f8dc7426f4559362ee164dc2bf0d1232145d
parentff12fdac9b0679941912411b85263c7eba027a64 (diff)
downloadgcc-26563586437d27f43544bb2feb7ed0486621f796.zip
gcc-26563586437d27f43544bb2feb7ed0486621f796.tar.gz
gcc-26563586437d27f43544bb2feb7ed0486621f796.tar.bz2
(OPTIMIZATION_OPTIONS): Don't set flag_omit_frame_pointer, since this inhibits debugging.
(OPTIMIZATION_OPTIONS): Don't set flag_omit_frame_pointer, since this inhibits debugging. (ASM_OUTPUT_INTERNAL_LABEL): Always clear arm_target_insn when FSM goes to state 0. From-SVN: r5710
-rw-r--r--gcc/config/arm/arm.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h
index f51b76f..c12ba93 100644
--- a/gcc/config/arm/arm.h
+++ b/gcc/config/arm/arm.h
@@ -157,16 +157,15 @@ extern enum processor_type arm_cpu;
/* Omitting the frame pointer is a very good idea on the ARM, especially if
not TARGET_APCS, in which case all that pushing on function entry isn't
- mandatory anymore.
- Forcing loads to be explicit also allows cse to work better */
+ mandatory anymore. Unfortunately this is not permitted since we mustn't
+ change the flags when -g is enabled and without a frame pointer debugging
+ using dbx is impossible.
+ Forcing loads to be explicit allows cse to work better */
#define OPTIMIZATION_OPTIONS(OPTIMIZE) \
{ \
if (OPTIMIZE) \
- { \
- flag_force_mem = 1; \
- flag_omit_frame_pointer = 1; \
- } \
+ flag_force_mem = 1; \
}
/* Target machine storage Layout. */
@@ -1474,11 +1473,13 @@ do { \
{ \
char *s = (char *) alloca (11 + strlen (PREFIX)); \
extern int arm_target_label, arm_ccfsm_state; \
+ extern rtx arm_target_insn; \
\
if (arm_ccfsm_state == 3 && arm_target_label == (NUM) \
&& !strcmp (PREFIX, "L")) \
{ \
arm_ccfsm_state = 0; \
+ arm_target_insn = NULL; \
} \
strcpy (s, "*"); \
sprintf (&s[strlen (s)], "%s%d", (PREFIX), (NUM)); \