OSDN Git Service

* config/i386/i386.c (ix86_expand_prologue): Use
[pf3gnuchains/gcc-fork.git] / gcc / c-pretty-print.c
index 1ddc1d0..b2161b0 100644 (file)
@@ -81,7 +81,7 @@ static void pp_c_assignment_expression (c_pretty_printer *, tree);
 /* declarations.  */
 
 \f
-/* Helper functions. */
+/* Helper functions.  */
 
 void
 pp_c_whitespace (c_pretty_printer *pp)
@@ -223,7 +223,7 @@ pp_c_pointer (c_pretty_printer *pp, tree t)
   switch (TREE_CODE (t))
     {
     case POINTER_TYPE:
-      /* It is easier to handle C++ reference types here. */
+      /* It is easier to handle C++ reference types here.  */
     case REFERENCE_TYPE:
       if (TREE_CODE (TREE_TYPE (t)) == POINTER_TYPE)
         pp_c_pointer (pp, TREE_TYPE (t));
@@ -538,7 +538,7 @@ pp_c_declaration_specifiers (c_pretty_printer *pp, tree t)
       ( declarator )
       direct-declarator [ type-qualifier-list(opt) assignment-expression(opt) ]
       direct-declarator [ static type-qualifier-list(opt) assignment-expression(opt)]
-      direct-declarator [ type-qualifier-list static assignment-exression ]
+      direct-declarator [ type-qualifier-list static assignment-expression ]
       direct-declarator [ type-qualifier-list * ]
       direct-declaratpr ( parameter-type-list )
       direct-declarator ( identifier-list(opt) )  */
@@ -884,7 +884,7 @@ pp_c_compound_literal (c_pretty_printer *pp, tree e)
       integer-constant
       floating-constant
       enumeration-constant
-      chatracter-constant   */
+      character-constant   */
 
 void
 pp_c_constant (c_pretty_printer *pp, tree e)
@@ -1217,7 +1217,7 @@ pp_c_postfix_expression (c_pretty_printer *pp, tree e)
       break;
 
     case COMPOUND_LITERAL_EXPR:
-      e = DECL_INITIAL (e);
+      e = DECL_INITIAL (COMPOUND_LITERAL_EXPR_DECL (e));
       /* Fall through.  */
     case CONSTRUCTOR:
       pp_initializer (pp, e);