aboutsummaryrefslogtreecommitdiff
path: root/gcc/sdbout.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>2002-01-12 14:05:32 +0000
committerRichard Kenner <kenner@gcc.gnu.org>2002-01-12 09:05:32 -0500
commitbb93b973c9644462184e62c4b098dbbd6885a1da (patch)
tree78bd460be80a3f429232e5c5858492b59c3012f7 /gcc/sdbout.c
parent6a0b0c1b5ecd6ee74c0cfc43038114ad0504a37a (diff)
downloadgcc-bb93b973c9644462184e62c4b098dbbd6885a1da.zip
gcc-bb93b973c9644462184e62c4b098dbbd6885a1da.tar.gz
gcc-bb93b973c9644462184e62c4b098dbbd6885a1da.tar.bz2
diagnostic.c (warn_deprecated_use): Rework to lower indentation.
* 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. From-SVN: r48801
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 f8bd744..91f92aa 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);