From 5d5c039ff9929b55fc6ba6bef216137508105006 Mon Sep 17 00:00:00 2001 From: Richard Guenther Date: Fri, 2 Dec 2005 21:00:01 +0000 Subject: [PATCH] trans.h (build1_v): Use build1, not build to build the void typed tree. 2005-12-02 Richard Guenther * trans.h (build1_v): Use build1, not build to build the void typed tree. From-SVN: r107917 --- gcc/fortran/ChangeLog | 5 +++++ gcc/fortran/trans.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index ceec7b776fc..f599bd625a5 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,8 @@ +2005-12-02 Richard Guenther + + * trans.h (build1_v): Use build1, not build to build the + void typed tree. + 2005-12-01 Erik Schnetter * decl.c (gfc_match_old_kind_spec): Improve handling of old style diff --git a/gcc/fortran/trans.h b/gcc/fortran/trans.h index 02fc2759609..e2c9f272985 100644 --- a/gcc/fortran/trans.h +++ b/gcc/fortran/trans.h @@ -576,7 +576,7 @@ struct lang_decl GTY(()) #define gfc_todo_error(args...) fatal_error("gfc_todo: Not Implemented: " args) /* Build an expression with void type. */ -#define build1_v(code, arg) build(code, void_type_node, arg) +#define build1_v(code, arg) build1(code, void_type_node, arg) #define build2_v(code, arg1, arg2) build2(code, void_type_node, \ arg1, arg2) #define build3_v(code, arg1, arg2, arg3) build3(code, void_type_node, \ -- 2.30.2