diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/ia64/ia64.c | 13 | ||||
-rw-r--r-- | gcc/config/pa/pa.c | 6 |
3 files changed, 25 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2a8cde8..ca84d3d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c index 36c0d63..dec82ae 100644 --- a/gcc/config/ia64/ia64.c +++ b/gcc/config/ia64/ia64.c @@ -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 diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 0430853..85c2c1f 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -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. |