diff options
author | Jim Wilson <wilson@redhat.com> | 2000-11-01 00:20:34 +0000 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 2000-10-31 16:20:34 -0800 |
commit | 8215347ec3d842c217c911c23d01540da7a8fa7c (patch) | |
tree | f74b9a4d296a145ceee676bb737c29f0db6b96e5 /gcc/config | |
parent | 4547105f643233da44000b0c7f0a2f5b83548f28 (diff) | |
download | gcc-8215347ec3d842c217c911c23d01540da7a8fa7c.zip gcc-8215347ec3d842c217c911c23d01540da7a8fa7c.tar.gz gcc-8215347ec3d842c217c911c23d01540da7a8fa7c.tar.bz2 |
Make ia64 port use tags instead of labels for debug info labels.
* defaults.h (ASM_OUTPUT_DEBUG_LABEL): New.
* tm.texi (ASM_OUTPUT_DEBUG_LABEL): Document.
* dwarf2out.c (dwarf2out_begin_block): Use ASM_OUTPUT_DEBUG_LABEL
instead of ASM_OUTPUT_INTERNAL_LABEL.
(dwarf2out_end_block, dwarf2out_label): Likewise.
* final.c (final_scan_insn, case NOTE_INSN_DELETED_LABEL): Likewise
* config/ia64/ia64.h (ASM_OUTPUT_DEBUG_LABEL): Define.
From-SVN: r37174
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/ia64/ia64.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/config/ia64/ia64.h b/gcc/config/ia64/ia64.h index d94491f..a3aca05 100644 --- a/gcc/config/ia64/ia64.h +++ b/gcc/config/ia64/ia64.h @@ -2637,6 +2637,18 @@ do { \ #define DWARF2_ASM_LINE_DEBUG_INFO (TARGET_DWARF2_ASM) +/* Use tags for debug info labels, so that they don't break instruction + bundles. This also avoids getting spurious DV warnings from the + assembler. This is similar to ASM_OUTPUT_INTERNAL_LABEL, except that we + add brackets around the label. */ + +#define ASM_OUTPUT_DEBUG_LABEL(FILE, PREFIX, NUM) \ + do \ + { \ + fprintf (FILE, "[.%s%d:]\n", PREFIX, NUM); \ + } \ + while (0) + /* Cross Compilation and Floating Point. */ |