From 2d94a1fa112eb353d1b720c732ac29658c0ac5dc Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Tue, 5 Jun 2001 18:02:56 +0200 Subject: [PATCH] builtins.def: Fix definition of __builtin_cosf, it uses float as parameter and return value. * builtins.def: Fix definition of __builtin_cosf, it uses float as parameter and return value. From-SVN: r42911 --- gcc/ChangeLog | 39 ++++++++++++++++++++++----------------- gcc/builtins.def | 2 +- 2 files changed, 23 insertions(+), 18 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d2cc8fa8983..0b412926cfa 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-06-05 Andreas Jaeger + + * builtins.def: Fix definition of __builtin_cosf, it uses float as + parameter and return value. + 2001-06-04 Anthony Green * config/sparc/elf.h (CPP_PREDEFINES): Don't assert cpu or @@ -53,11 +58,11 @@ functions. (c_expand_body): Expand them. (lang_mark_tree): Mark lang_decl:pending_sizes. - * function.c (expand_pending_sizes): New function, broken out + * function.c (expand_pending_sizes): New function, broken out from ... (expand_function_start): ... here. * tree.h (expand_pending_sizes): Declare it. - + 2001-06-04 Loren J. Rittle * doc/install.texi: Update FreeBSD information. Generalize @@ -105,7 +110,7 @@ Mon Jun 4 19:59:46 CEST 2001 Jan Hubicka * integreate.c (sub_constants): Likewise. Mon Jun 4 19:59:12 CEST 2001 Jan Hubicka - + * emit-rtl.c (constant_subword): Deprecate; remove most of code and use simplify_gen_subreg. @@ -306,7 +311,7 @@ Sat Jun 2 06:53:50 2001 Richard Kenner * f/Make-lang.in: Ditto. * java/Make-lang.in: Ditto. * doc/.cvsignore: New. - + 2001-05-31 Jan van Male * invoke.texi: use two spaces between command options, eliminate @@ -542,7 +547,7 @@ Thu May 31 19:09:53 CEST 2001 Jan Hubicka config/i960/i960-protos.h config/mcore/mcore.h config/mips/mips-protos.h config/sh/sh-protos.h config/sh/sh.h config/v850/v850-protos.h config/v850/v850.h: Likewise. - * fixinc/fixlib.h fixinc/server.h: Likewise. + * fixinc/fixlib.h fixinc/server.h: Likewise. 2001-05-25 Stacey Sheldon @@ -631,7 +636,7 @@ Thu May 31 19:09:53 CEST 2001 Jan Hubicka * defaults.h (MD_INIT_BUILTINS): Provide default definition. * tree.h (built_in_function): Adjust definition of DEF_BUILTIN. * Makefile.in (c-common.o): Depend on builtin-types.def. - + 2001-05-25 Dale Johannesen * config/rs6000/t-darwin: Fix dependencies for darwin.o. @@ -679,12 +684,12 @@ Thu May 31 19:09:53 CEST 2001 Jan Hubicka 2001-05-25 Mark Mitchell - * config/i386/i386.md: Make sure cmpstr peepholes do not + * config/i386/i386.md: Make sure cmpstr peepholes do not affect liveness information. 2001-05-24 Mark Mitchell - * c-typeck.c (digest_init): Issue error messages about + * c-typeck.c (digest_init): Issue error messages about invalid constants, not warnings. 2001-05-24 Mark Mitchell @@ -833,7 +838,7 @@ Thu May 24 15:56:48 CEST 2001 Jan Hubicka * builtins.c (expand_builtin_longjmp): A longjmp can be a call too. * config/ia64/ia64.md (nonlocal_goto): Reverse label and frame pointer parameters to __ia64_nonlocal_goto. Flag as NO_RETURN. - * config/ia64/ia64.c (ia64_expand_epilogue): Make sure we are issuing + * config/ia64/ia64.c (ia64_expand_epilogue): Make sure we are issuing "r2" to the assembly file. Only issue allocs with non-zero parameters. 2001-05-22 Loren J. Rittle @@ -1080,12 +1085,12 @@ Sun May 20 16:39:24 2001 Richard Kenner * config/i386/i386.h (UNALIGNED_SHORT_ASM_OP): New. (UNALIGNED_INT_ASM_OP, INT_ASM_OP): New. - + * config/i386/cygwin.h (INT_ASM_OP): Remove. * config/i386/freebsd-aout.h, config/i386/i386-aout.h: Likewise. * config/i386/i386-coff.h, config/i386/i386-interix.h: Likewise. * config/i386/netbsd.h, config/i386/openbsd.h: Likewise. - + * config/i386/cygwin.h: Adjust uses of ASM_LONG for trailing \t. * config/i386/djgpp.h, config/i386/i386.h: Likewise. * config/i386/i386elf.h, config/i386/ptx4-i.h: Likewise. @@ -1193,7 +1198,7 @@ Sat May 19 18:23:04 2001 Richard Henderson (eh_set_lr_si): Likewise. (eh_set_lr_di): Likewise. Add splitter to perform EH return after reload. - + 2001-05-19 Mark Mitchell * jump.c (mark_jump_label): Tidy previous change. @@ -1225,9 +1230,9 @@ Sat May 19 18:23:04 2001 Richard Henderson Document it. * toplev.c (main): If the target does not allow profiling without a frame pointer, issue an error message. - * config/i386/linux.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): + * config/i386/linux.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): Define it to false. - + Sat May 19 07:53:42 2001 Richard Kenner * recog.c (general_operand): Modify last change to allow it if reload @@ -1416,7 +1421,7 @@ Thu May 17 20:43:36 CEST 2001 Jan Hubicka variable. * varasm.c (assemble_external): Abort if we have not yet opened the assembly output file. - + Thu May 17 11:54:50 2001 Jeffrey A Law (law@cygnus.com) * except.c (sjlj_emit_function_enter): Call assemble_external_libcall @@ -1529,7 +1534,7 @@ Thu May 17 16:59:41 CEST 2001 Jan Hubicka config/sparc/t-vxsparc64, config/v850/t-v850: Don't set any of LIBGCC1, CROSS_LIBGCC1, or LIBGCC1_TEST. - * config/alpha/alpha.h, config/i386/i386.h, config/i860/i860.h: + * config/alpha/alpha.h, config/i386/i386.h, config/i860/i860.h: Don't set FLOAT_VALUE_TYPE, FLOAT_ARG_TYPE, INTIFY, or FLOATIFY. * config/d30v/d30v.h: Don't mention LIBGCC_NEEDS_DOUBLE, FLOAT_VALUE_TYPE, FLOAT_ARG_TYPE, FLOATIFY, INTIFY, @@ -1572,7 +1577,7 @@ Thu May 17 16:59:41 CEST 2001 Jan Hubicka 2001-05-16 Richard Henderson - * dwarf2asm.c (eh_data_format_name): Add names for "pointer size" + * dwarf2asm.c (eh_data_format_name): Add names for "pointer size" variants of non-absolute encodings. * config/i386/i386.h (ASM_PREFERRED_EH_DATA_FORMAT): New. diff --git a/gcc/builtins.def b/gcc/builtins.def index a6f4f515724..78fe18faa95 100644 --- a/gcc/builtins.def +++ b/gcc/builtins.def @@ -280,7 +280,7 @@ DEF_LIB_BUILTIN(BUILT_IN_SINF, BT_FN_FLOAT_FLOAT) DEF_LIB_BUILTIN(BUILT_IN_COSF, "__builtin_cosf", - BT_FN_LONG_DOUBLE_LONG_DOUBLE) + BT_FN_FLOAT_FLOAT) DEF_LIB_BUILTIN(BUILT_IN_SQRTL, "__builtin_sqrtl", BT_FN_LONG_DOUBLE_LONG_DOUBLE) -- 2.30.2