PR fortran/45560
* dump-parse-tree.c (gfc_debug_expr): New function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163928
138bc75d-0d04-0410-961f-
82ee72b054a4
2010-09-06 Tobias Burnus <burnus@net-b.de>
+ PR fortran/45560
+ * dump-parse-tree.c (gfc_debug_expr): New function.
+
+2010-09-06 Tobias Burnus <burnus@net-b.de>
+
PR fortran/38282
* intrinsic.c (add_functions): Support IALL, IANY, IPARITY.
(check_specific): Special case for those intrinsics.
static void show_namespace (gfc_namespace *ns);
+/* Allow dumping of an expression in the debugger. */
+void gfc_debug_expr (gfc_expr *);
+
+void
+gfc_debug_expr (gfc_expr *e)
+{
+ FILE *tmp = dumpfile;
+ dumpfile = stdout;
+ show_expr (e);
+ fputc ('\n', dumpfile);
+ dumpfile = tmp;
+}
+
+
/* Do indentation for a specific level. */
static inline void