summaryrefslogtreecommitdiff
path: root/gcc/config/mips
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2003-12-16 08:06:03 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2003-12-16 08:06:03 +0000
commited55679f5b455368b6477f17c3a7b8632f771433 (patch)
tree5ed12016acfc3d374a8fc731993948a70fe3cfde /gcc/config/mips
parente1e10ea55ad232638a747711dc46648fa4263731 (diff)
downloadgcc-ed55679f5b455368b6477f17c3a7b8632f771433.tar.gz
* config/mips/mips.c: Include langhooks.h
(mips_build_builtin_va_list): Use lang_hooks.types.make_type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74678 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mips')
-rw-r--r--gcc/config/mips/mips.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index e2fe55655f5..e0a01ce814f 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -52,6 +52,7 @@ Boston, MA 02111-1307, USA. */
#include "target.h"
#include "target-def.h"
#include "integrate.h"
+#include "langhooks.h"
/* Enumeration for all of the relational tests, so that we can build
arrays indexed by the test type, and not worry about the order
@@ -3913,7 +3914,7 @@ mips_build_builtin_va_list (void)
tree f_ovfl, f_gtop, f_ftop, f_goff, f_foff, f_res, record;
tree array, index;
- record = make_node (RECORD_TYPE);
+ record = (*lang_hooks.types.make_type) (RECORD_TYPE);
f_ovfl = build_decl (FIELD_DECL, get_identifier ("__overflow_argptr"),
ptr_type_node);