aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@redhat.com>2003-12-16 08:06:03 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2003-12-16 08:06:03 +0000
commit2743a50a7464e5a0626f22cabf173f276e8b4d85 (patch)
tree5ed12016acfc3d374a8fc731993948a70fe3cfde
parentd2411ba2e930749b7d42c385e4221e273a20d454 (diff)
downloadgcc-2743a50a7464e5a0626f22cabf173f276e8b4d85.zip
gcc-2743a50a7464e5a0626f22cabf173f276e8b4d85.tar.gz
gcc-2743a50a7464e5a0626f22cabf173f276e8b4d85.tar.bz2
mips.c: Include langhooks.h
* config/mips/mips.c: Include langhooks.h (mips_build_builtin_va_list): Use lang_hooks.types.make_type. From-SVN: r74678
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/mips/mips.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 733c289f..18f1916 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2003-12-16 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/mips/mips.c: Include langhooks.h
+ (mips_build_builtin_va_list): Use lang_hooks.types.make_type.
+
2003-12-16 Eric Botcazou <ebotcazou@libertysurf.fr>
PR optimization/13313
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index e2fe556..e0a01ce 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);