mips.c (mips_build_builtin_va_list): Use runtime test for irix6 rather than preprocessor test.

* config/mips/mips.c (mips_build_builtin_va_list): Use runtime
        test for irix6 rather than preprocessor test.

From-SVN: r73089
This commit is contained in:
Richard Henderson 2003-10-30 08:48:13 -08:00 committed by Richard Henderson
parent 671ca9ec83
commit 4f1cad002d
2 changed files with 10 additions and 9 deletions

View File

@ -1,3 +1,8 @@
2003-10-30 Richard Henderson <rth@redhat.com>
* config/mips/mips.c (mips_build_builtin_va_list): Use runtime
test for irix6 rather than preprocessor test.
2003-10-30 Richard Henderson <rth@redhat.com>
* cppcharset.c (one_utf8_to_utf16): Initialize 's' to silence warning.

View File

@ -4030,16 +4030,12 @@ mips_build_builtin_va_list (void)
layout_type (record);
return record;
}
else if (TARGET_IRIX && !TARGET_IRIX5)
/* On IRIX 6, this type is 'char *'. */
return build_pointer_type (char_type_node);
else
{
#if defined(TARGET_IRIX) && !TARGET_IRIX5
/* On IRIX 6, this type is 'char *'. */
return build_pointer_type (char_type_node);
#else
/* Otherwise, we use 'void *'. */
return ptr_type_node;
#endif
}
/* Otherwise, we use 'void *'. */
return ptr_type_node;
}
/* Implement va_start. */