]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
mips.c: Include langhooks.h
authorRichard Sandiford <rsandifo@redhat.com>
Tue, 16 Dec 2003 08:06:03 +0000 (08:06 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 16 Dec 2003 08:06:03 +0000 (08:06 +0000)
* config/mips/mips.c: Include langhooks.h
(mips_build_builtin_va_list): Use lang_hooks.types.make_type.

From-SVN: r74678

gcc/ChangeLog
gcc/config/mips/mips.c

index 733c289f06fb8b5b4a6b9bb0f873e66b6a1b9818..18f19168ddd3101d979e86617d009d3e065a060d 100644 (file)
@@ -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
index e2fe55655f5599cce15ba2e4b28bfa927d043a1f..e0a01ce814f300a896c344cf03294fb0aaa68355 100644 (file)
@@ -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);