re PR target/30182 (FAIL: gcc.dg/pr28796-2.c (test for excess errors))

PR other/30182
	* config/pa/pa.c (pa_init_builtins): Set asm names for finite routines.
	* config/ia64/ia64.c (ia64_init_builtins):  Ditto.

From-SVN: r121178
This commit is contained in:
Steve Ellcey 2007-01-25 17:06:55 +00:00 committed by Steve Ellcey
parent cd259a9825
commit 7d52200069
3 changed files with 25 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2007-01-25 Steve Ellcey <sje@cup.hp.com>
PR other/30182
* config/pa/pa.c (pa_init_builtins): Set asm names for finite routines.
* config/ia64/ia64.c (ia64_init_builtins): Ditto.
2007-01-25 Richard Guenther <rguenther@suse.de>
* doc/invoke.texi (-Wcoverage-mismatch): Document.

View File

@ -9146,6 +9146,19 @@ ia64_init_builtins (void)
IA64_BUILTIN_FLUSHRS);
#undef def_builtin
if (TARGET_HPUX)
{
if (built_in_decls [BUILT_IN_FINITE])
set_user_assembler_name (built_in_decls [BUILT_IN_FINITE],
"_Isfinite");
if (built_in_decls [BUILT_IN_FINITEF])
set_user_assembler_name (built_in_decls [BUILT_IN_FINITEF],
"_Isfinitef");
if (built_in_decls [BUILT_IN_FINITEL])
set_user_assembler_name (built_in_decls [BUILT_IN_FINITEL],
"_Isfinitef128");
}
}
rtx

View File

@ -512,6 +512,12 @@ pa_init_builtins (void)
implicit_built_in_decls[(int) BUILT_IN_FPUTC_UNLOCKED]
= implicit_built_in_decls[(int) BUILT_IN_PUTC_UNLOCKED];
#endif
#if TARGET_HPUX
if (built_in_decls [BUILT_IN_FINITE])
set_user_assembler_name (built_in_decls [BUILT_IN_FINITE], "_Isfinite");
if (built_in_decls [BUILT_IN_FINITEF])
set_user_assembler_name (built_in_decls [BUILT_IN_FINITEF], "_Isfinitef");
#endif
}
/* Function to init struct machine_function.