diff gcc/c-family/c-pretty-print.c @ 112:ab0bcb71f44d

merge gcc 7
author mir3636
date Fri, 10 Nov 2017 19:46:38 +0900
parents 04ced10e8804 a3a2f64cf8f4
children bdf41c9fa0b7
line wrap: on
line diff
--- a/gcc/c-family/c-pretty-print.c	Fri Oct 27 22:46:09 2017 +0900
+++ b/gcc/c-family/c-pretty-print.c	Fri Nov 10 19:46:38 2017 +0900
@@ -28,6 +28,17 @@
 #include "attribs.h"
 #include "intl.h"
 #include "tree-pretty-print.h"
+<<<<<<< local
+=======
+#include "tree-iterator.h"
+#include "diagnostic.h"
+#ifndef noCbC
+#include "cbc-tree.h"
+#endif
+/* Translate if being used for diagnostics, but not for dump files or
+   __PRETTY_FUNCTION.  */
+#define M_(msgid) (pp_translate_identifiers (pp) ? _(msgid) : (msgid))
+>>>>>>> other
 
 /* The pretty-printer code is primarily designed to closely follow
    (GNU) C and C++ grammars.  That is to be contrasted with spaghetti
@@ -541,7 +552,15 @@
     {
       if (TREE_CODE (TREE_TYPE (t)) == ARRAY_TYPE
 	  || TREE_CODE (TREE_TYPE (t)) == FUNCTION_TYPE)
+<<<<<<< local
 	pp_c_right_paren (this);
+=======
+	pp_c_right_paren (pp);
+#ifndef noCbC
+      if(IS_RECTYPE(t)) 
+	return;
+#endif
+>>>>>>> other
       t = TREE_TYPE (t);
     }