summaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2002-02-20 18:31:24 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2002-02-20 18:31:24 +0000
commitf21ce30ddc89980233a37b78f0a4d0c3f5fdd47f (patch)
tree29ac4488f65add79b83b75236dfb4bc44dcc6bc2 /gcc/dwarf2out.c
parent2784c617e900ed3e0d24fc1d23d8529024ee55cd (diff)
downloadgcc-f21ce30ddc89980233a37b78f0a4d0c3f5fdd47f.tar.gz
* config/fr30/fr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
* config/sh/sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed. * config/pj/pj.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed. * config/cris/cris.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed. * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Define unconditionally. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49903 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 526766b3e5f..4eb18c7c7a8 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -3270,10 +3270,10 @@ extern int flag_traditional;
purposes only. Since GCC generates assembly language, we have
no a priori knowledge of how many instruction bytes are generated
for each source line, and therefore can use only the DW_LNE_set_address
- and DW_LNS_fixed_advance_pc line information commands. */
-#ifndef DWARF_LINE_MIN_INSTR_LENGTH
-#define DWARF_LINE_MIN_INSTR_LENGTH 4
-#endif
+ and DW_LNS_fixed_advance_pc line information commands.
+ Accordingly, we define this as `1', which is "correct enough" for
+ all architectures, and don't let the target override. */
+#define DWARF_LINE_MIN_INSTR_LENGTH 1
/* Minimum line offset in a special line info. opcode.
This value was chosen to give a reasonable range of values. */