summaryrefslogtreecommitdiff
path: root/gcc/sdbout.c
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-12 14:05:32 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-12 14:05:32 +0000
commit76ab50f8c432c2bd5c347c2f7fd63b8fce30a494 (patch)
tree78bd460be80a3f429232e5c5858492b59c3012f7 /gcc/sdbout.c
parentebd87ade56e85aef65bc267915f58abc5a32c015 (diff)
downloadgcc-76ab50f8c432c2bd5c347c2f7fd63b8fce30a494.tar.gz
* diagnostic.c (warn_deprecated_use): Rework to lower indentation.
* expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for offsets, and change line folding. * optabs.c (expand_binop): Remove warnings. * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48801 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sdbout.c')
-rw-r--r--gcc/sdbout.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/sdbout.c b/gcc/sdbout.c
index f8bd7447036..91f92aa77a5 100644
--- a/gcc/sdbout.c
+++ b/gcc/sdbout.c
@@ -440,7 +440,7 @@ static void
sdbout_record_type_name (type)
tree type;
{
- char *name = 0;
+ const char *name = 0;
int no_name;
if (KNOWN_TYPE_TAG (type))
@@ -449,6 +449,7 @@ sdbout_record_type_name (type)
if (TYPE_NAME (type) != 0)
{
tree t = 0;
+
/* Find the IDENTIFIER_NODE for the type name. */
if (TREE_CODE (TYPE_NAME (type)) == IDENTIFIER_NODE)
t = TYPE_NAME (type);