Skip to content
Snippets Groups Projects
  1. Dec 10, 2004
    • bje's avatar
      [include] · 4927c18d
      bje authored
      	* fibheap.h (struct fibnode): Only use unsigned long bitfields
      	when __GNUC__ is defined and ints are less than 32-bits wide.
      [libiberty]
      	* configure.ac: Invoke AC_CHECK_SIZEOF for sizeof (int).
      	* configure: Regenerate.
      	* config.in: Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92009 138bc75d-0d04-0410-961f-82ee72b054a4
      4927c18d
  2. Oct 08, 2004
  3. Sep 14, 2004
  4. Sep 05, 2004
    • ghazi's avatar
      gcc: · bf6c8de0
      ghazi authored
      	* builtin-attrs.def (ATTR_SENTINEL, ATTR_SENTINEL_NOTHROW_LIST):
      	New.
      	* builtins.def (BUILT_IN_EXECL, BUILT_IN_EXECLP): Add `sentinel'
      	attribute.
      	* c-common.c (handle_sentinel_attribute, check_function_sentinel):
      	New functions.
      	(c_common_attribute_table): Add `sentinel' attribute.
      	(check_function_arguments): Handle `sentinel' attribute.
      	* doc/extend.texi: Document `sentinel' attribute.
      
      gcc/testsuite:
      	* gcc.dg/format/sentinel-1.c: New test.
      
      include:
      	* ansidecl.h (ATTRIBUTE_SENTINEL): Define.
      	* libiberty.h (concat, reconcat, concat_length, concat_copy,
      	concat_copy2): Use ATTRIBUTE_SENTINEL.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87096 138bc75d-0d04-0410-961f-82ee72b054a4
      bf6c8de0
  5. Aug 18, 2004
  6. Aug 02, 2004
    • gdr's avatar
      include/ · 8eb0977a
      gdr authored
              * libiberty.h (XDELETE, XDELETEVEC, XRESIZEVEC): Remove any
              const-qualification before disposal.
      
      gcc/
              * vec.h (DEF_VEC_P): Add proper cast to uses of vec_o_reserve and
              vec_p_reserve.
              * langhooks.h (lang_hooks::builtin_function): Rename parameter
              from "class" to "bt_class".
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85441 138bc75d-0d04-0410-961f-82ee72b054a4
      8eb0977a
  7. Jul 24, 2004
  8. Jul 21, 2004
  9. Jul 13, 2004
  10. May 13, 2004
  11. May 04, 2004
  12. Apr 22, 2004
  13. Apr 13, 2004
  14. Mar 30, 2004
  15. Feb 25, 2004
  16. Feb 24, 2004
  17. Jan 13, 2004
  18. Jan 12, 2004
    • ian's avatar
      * demangle.h (enum demangle_component_type): Define. · f95cb811
      ian authored
      	(struct demangle_operator_info): Declare.
      	(struct demangle_builtin_type_info): Declare.
      	(struct demangle_component): Define.
      	(cplus_demangle_fill_component): Declare.
      	(cplus_demangle_fill_name): Declare.
      	(cplus_demangle_fill_builtin_type): Declare.
      	(cplus_demangle_fill_operator): Declare.
      	(cplus_demangle_fill_extended_operator): Declare.
      	(cplus_demangle_fill_ctor, cplus_demangle_fill_dtor): Declare.
      	(cplus_demangle_v3_components): Declare.
      	(cplus_demangle_print): Declare.
      
      	* cp-demangle.c: Include "cp-demangle.h".  If IN_GLIBCPP_V3 is
      	defined, rename some functions which are to become static via
      	#define.
      	(CP_STATIC_IF_GLIBCPP_V3): Define.
      	(struct d_operator_info): Move definition to cp-demangle.h, and
      	rename to demangle_operator_info.  Change all uses.
      	(enum d_builtin_type_print): Move definition to cp-demangle.h.
      	(struct d_builtin_type_info): Move definition to cp-demangle.h,
      	and rename to demangle_builtin_type_info.  Change all uses.
      	(enum d_comp_type): Move definition to include/demangle.h, and
      	rename to demangle_component_type, and change all enums to start
      	with DEMANGLE_COMPONENT_ instead of D_.  Change all uses.
      	(struct d_comp): Move definition to include/demangle.h, and rename
      	to demangle_component.  Change all uses.
      	(struct d_info): Move definition to cp-demangle.h.
      	(cplus_demangle_fill_name): New function.
      	(cplus_demangle_fill_extended_operator): New function.
      	(cplus_demangle_fill_ctor): New function.
      	(cplus_demangle_fill_dtor): New function.
      	(d_make_empty): Remove type parameter.  Change all callers.
      	(d_make_name): Use cplus_demangle_fill_name.
      	(d_make_extended_operator): Use
      	cplus_demangle_fill_extended_operator.
      	(d_make_ctor): Use cplus_demangle_fill_ctor.
      	(d_make_dtor): Use cplus_demangle_fill_dtor.
      	(cplus_demangle_mangled_name): Rename from d_mangled_name.  Make
      	non-static by default.  Change all callers.
      	(cplus_demangle_operators): Rename from d_operators.  Change all
      	uses.  Make non-static by default.  Add sentinel at end of array.
      	(d_operator_name): Adjust initialization of high for new sentinel
      	in cplus_demangle_operators.
      	(cplus_demangle_builtin_types): Rename from d_builtin_types.
      	Change all uses.  Make non-static by default.  Change initializer
      	to use D_BUILTIN_TYPE_COUNT instead of magic number 26.
      	(cplus_demangle_type): Rename from d_type.  Make non-static by
      	default.  Change all callers.
      	(cplus_demangle_init_info): Rename from d_init_info.  Make
      	non-static by default.  Change all callers.
      	* cp-demangle.h: New file.
      	* cp-demint.c: New file.
      	* Makefile.in: Rebuild dependencies.
      	(CFILES): Add cp-demint.c.
      	(REQUIRED_OFILES): Add cp-demint.o.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75748 138bc75d-0d04-0410-961f-82ee72b054a4
      f95cb811
  19. Dec 19, 2003
  20. Oct 22, 2003
    • jsm28's avatar
      include: · 129b92e3
      jsm28 authored
      	* obstack.h: Merge the following change from gnulib:
      	2003-10-21  Paul Eggert  <eggert@twinsun.com>
      	* obstack.h (obstack_1grow_fast): Properly parenthesize arg.
      	(obstack_ptr_grow_fast, obstack_int_grow_fast):
      	Don't use lvalue casts, as GCC plans to remove support for them
      	in GCC 3.5.  Reported by Joseph S. Myers.  This bug
      	was also present in the non-GCC version, indicating that this
      	code had always been buggy and had never been widely used.
      	(obstack_1grow, obstack_ptr_grow, obstack_int_grow, obstack_blank):
      	Use the fast variant of each macro, rather than copying the
      	definiens of the fast variant; that way, we'll be more likely to
      	catch future bugs in the fast variants.
      
      gcc:
      	* c-typeck.c (pedantic_lvalue_warning): Unconditionally warn of
      	deprecation of casts as lvalues.
      	* fixinc/inclhack.def (obstack_lvalue_cast): New fix.
      	* fixinc/fixincl.x: Regenerate.
      	* fixinc/tests/base/obstack.h: New test.
      
      gcc/testsuite:
      	* gcc.dg/cast-lvalue-1.c: New test.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72826 138bc75d-0d04-0410-961f-82ee72b054a4
      129b92e3
  21. Sep 22, 2003
    • cagney's avatar
      2003-09-22 Andrew Cagney <cagney@redhat.com> · 63cb126c
      cagney authored
      	* floatformat.h (struct floatformat): Add field "is_valid".
      
      2003-09-22  Andrew Cagney  <cagney@redhat.com>
      
      	* floatformat.c (floatformat_i387_ext_is_valid): New function.
      	(floatformat_always_valid): New function.
      	(floatformat_i387_ext): Initialize new "is_valid" field to
      	"floatformat_i387_ext_is_valid".
      	(floatformat_ieee_single_little): Initialize "is_valid" field to
      	floatformat_always_valid.
      	(floatformat_ieee_double_big): Ditto.
      	(floatformat_ieee_double_little): Ditto.
      	(floatformat_ieee_double_little): Ditto.
      	(floatformat_ieee_double_littlebyte_bigword): Ditto.
      	(floatformat_i960_ext): Ditto.
      	(floatformat_m88110_ext): Ditto.
      	(floatformat_m88110_harris_ext): Ditto.
      	(floatformat_arm_ext_big): Ditto.
      	(floatformat_arm_ext_littlebyte_bigword): Ditto.
      	(floatformat_ia64_spill_big): Ditto.
      	(floatformat_ia64_spill_little): Ditto.
      	(floatformat_ia64_quad_big): Ditto.
      	(floatformat_ia64_quad_little): Ditto.
      	(floatformat_ia64_quad_little): Ditto.
      	(floatformat_is_valid): Call "is_valid".
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71659 138bc75d-0d04-0410-961f-82ee72b054a4
      63cb126c
  22. Sep 16, 2003
    • cagney's avatar
      Index: include/ChangeLog · 8d083f49
      cagney authored
      2003-09-15  Andrew Cagney  <cagney@redhat.com>
      
      	* floatformat.h (floatformat_to_double): Make input buffer constant.
      	(floatformat_from_double, floatformat_is_valid): Ditto.
      
      Index: libiberty/ChangeLog
      2003-09-15  Andrew Cagney  <cagney@redhat.com>
      
      	* floatformat.c (get_field): Make "data" constant.
      	(floatformat_is_valid, floatformat_to_double): Make "from"
      	constant, fix casts.
      	(floatformat_from_double): Make "from" constant.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71422 138bc75d-0d04-0410-961f-82ee72b054a4
      8d083f49
  23. Sep 15, 2003
  24. Jul 10, 2003
  25. Jul 06, 2003
  26. Jul 01, 2003
  27. Jun 22, 2003
    • zack's avatar
      include: · b60500ad
      zack authored
      	* safe-ctype.h (HC_UNKNOWN, HC_ASCII, HC_EBCDIC): Rename to
      	HOST_CHARSET_UNKNOWN, HOST_CHARSET_ASCII, HOST_CHARSET_EBCDIC
      	respectively.
      libiberty:
      	* safe-ctype.c: Use HOST_CHARSET_ASCII and HOST_CHARSET_EBCDIC,
      	not HC_ASCII and HC_EBCDIC.
      	Add documentation in form expected by gather-docs.
      	* hex.c: Use HOST_CHARSET, not hand-coded check of character set.
      	* Makefile.in, functions.texi: Regenerate.
      gcc:
      	* config/i370/i370.c, config/i370/i370.h: Use HOST_CHARSET_ASCII
      	and HOST_CHARSET_EBCDIC, not HC_ASCII and HC_EBCDIC.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68335 138bc75d-0d04-0410-961f-82ee72b054a4
      b60500ad
  28. Jun 21, 2003
    • zack's avatar
      include: · 05b93640
      zack authored
      	* safe-ctype.h (HC_UNKNOWN, HC_ASCII, HC_EBCDIC, HOST_CHARSET):
      	New #defines.
      libiberty:
      	* safe-ctype.c: Separate out EOF==-1 check.  Use HOST_CHARSET
      	for charset determination.
      gcc:
      	* aclocal.m4 (gcc_AC_C_CHARSET): Delete.
      	* configure.in: Don't use gcc_AC_C_CHARSET.
      	* configure, config.in: Regenerate.
      	* config/i370/i370.c, config/i370/i370.h: Use
      	(HOST_CHARSET == HC_EBCDIC) or (HOST_CHARSET == HC_ASCII)
      	instead of HOST_EBCDIC or !HOST_EBCDIC.  Clarify comments a tad.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68317 138bc75d-0d04-0410-961f-82ee72b054a4
      05b93640
  29. Jun 17, 2003
    • ghazi's avatar
      gcc: · 4a04f931
      ghazi authored
      	* alloc-pool.c: Don't check HAVE_LONG_DOUBLE.
      	* fixinc/gnu-regex.c: Don't define `volatile'.
      	* ggc-page.c: Don't check HAVE_LONG_DOUBLE.
      	* ggc-simple.c: Likewise.
      	* system.h: Don't define `volatile'.
      
      	* aclocal.m4 (gcc_AC_C_VOLATILE, gcc_AC_C_LONG_DOUBLE): Delete.
      	* configure.in (gcc_AC_C_VOLATILE, gcc_AC_C_LONG_DOUBLE): Don't
      	call these macros.
      	* config.in, configure: Regenerated.
      
      include:
      	* ansidecl.h: Delete HAVE_LONG_DOUBLE GCC bootstrap support.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68085 138bc75d-0d04-0410-961f-82ee72b054a4
      4a04f931
  30. May 15, 2003
    • jimb's avatar
      libiberty/ChangeLog: · ffa082ba
      jimb authored
      2003-05-14  Jim Blandy  <jimb@redhat.com>
      
      	* hex.c (_hex_value): Make this unsigned.
      	(hex_value): Update documentation for new return type.  hex_value
      	now expands to an unsigned int expression, to avoid unexpected
      	sign extension when we store it in a bfd_vma, which is larger than
      	int on some platforms.
      	* functions.texi: Regenerated.
      
      include/ChangeLog:
      2003-05-14  Jim Blandy  <jimb@redhat.com>
      
      	* libiberty.h (hex_value): Make the value an unsigned int, to
      	avoid unexpected sign-extension when cast to unsigned types larger
      	than int --- like bfd_vma, on some platforms.
      	(_hex_value): Update declaration.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66840 138bc75d-0d04-0410-961f-82ee72b054a4
      ffa082ba
  31. May 07, 2003
  32. Mar 17, 2003
    • ghazi's avatar
      include: · 06df7294
      ghazi authored
      	* ansidecl.h (ATTRIBUTE_NONNULL, ATTRIBUTE_NULL_PRINTF,
      	ATTRIBUTE_NULL_PRINTF_1, ATTRIBUTE_NULL_PRINTF_2,
      	ATTRIBUTE_NULL_PRINTF_3, ATTRIBUTE_NULL_PRINTF_4,
      	ATTRIBUTE_NULL_PRINTF_5): New.
      	(ATTRIBUTE_PRINTF): Add ATTRIBUTE_NONNULL.
      
      gcc:
      	* dwarf2asm.h: Delete obsolete comment.
      	(dw2_asm_output_data, dw2_asm_output_delta, dw2_asm_output_offset,
      	dw2_asm_output_pcrel, dw2_asm_output_addr,
      	dw2_asm_output_addr_rtx, dw2_asm_output_encoded_addr_rtx,
      	dw2_asm_output_nstring, dw2_asm_output_data_uleb128,
      	dw2_asm_output_data_sleb128, dw2_asm_output_delta_uleb128,
      	dw2_asm_output_delta_sleb128): Add ATTRIBUTE_NULL_PRINTF.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64505 138bc75d-0d04-0410-961f-82ee72b054a4
      06df7294
Loading