OSDN Git Service

* builtins.c (std_expand_builtin_va_arg): Remove.
[pf3gnuchains/gcc-fork.git] / gcc / c-dump.c
index 91acac8..006759f 100644 (file)
@@ -32,9 +32,8 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 void
 dump_stmt (dump_info_p di, tree t)
 {
-  location_t *locus = EXPR_LOCUS (t);
-  if (locus)
-    dump_int (di, "line", locus->line);
+  if (EXPR_HAS_LOCATION (t))
+    dump_int (di, "line", EXPR_LINENO (t));
 }
 
 /* Dump any C-specific tree codes and attributes of common codes.  */
@@ -60,11 +59,6 @@ c_dump_tree (void *dump_info, tree t)
       dump_stmt (di, t);
       break;
 
-    case DECL_STMT:
-      dump_stmt (di, t);
-      dump_child ("decl", DECL_STMT_DECL (t));
-      break;
-
     case DO_STMT:
       dump_stmt (di, t);
       dump_child ("body", DO_BODY (t));