aboutsummaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2008-06-06Mark ChangeLogGCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_3-branch@136479 138bc75d-0d04-0410-961f-82ee72b054a4
2008-03-05Mark ChangeLogJakub Jelinek
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_3-branch@132910 138bc75d-0d04-0410-961f-82ee72b054a4
2008-02-11 * xtensa-config.h (XCHAL_HAVE_THREADPTR): Redefine to zero.Bob Wilson
(XCHAL_NUM_AREGS, XCHAL_MAX_INSTRUCTION_SIZE): New. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@132240 138bc75d-0d04-0410-961f-82ee72b054a4
2008-01-27include/David Daney
2008-01-26 David Daney <ddaney@avtrex.com> * demangle.h (demangle_component_type): Add DEMANGLE_COMPONENT_JAVA_RESOURCE, DEMANGLE_COMPONENT_COMPOUND_NAME, and DEMANGLE_COMPONENT_CHARACTER as new enum values. (demangle_component): Add struct s_character to union u. libiberty/ 2008-01-26 David Daney <ddaney@avtrex.com> * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE, DEMANGLE_COMPONENT_COMPOUND_NAME, and DEMANGLE_COMPONENT_CHARACTER cases. (d_make_comp): Handle DEMANGLE_COMPONENT_COMPOUND_NAME and DEMANGLE_COMPONENT_JAVA_RESOURCE cases. (d_make_character): New function. (d_java_resource): Same. (d_special_name): Handle "Gr" case. (d_print_comp): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE, DEMANGLE_COMPONENT_COMPOUND_NAME, and DEMANGLE_COMPONENT_CHARACTER cases. * testsuite/demangle-expected: Add test for java resource name mangling. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@131883 138bc75d-0d04-0410-961f-82ee72b054a4
2007-11-08include:Joseph Myers
2007-11-07 Joseph Myers <joseph@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> * floatformat.h (struct floatformat): Add split_half field. (floatformat_ibm_long_double): New. libiberty: 2007-11-07 Joseph Myers <joseph@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> * floatformat.c (mant_bits_set): New. (floatformat_to_double): Use it. Note no special handling of split formats. (floatformat_from_double): Note no special handing of split formats. (floatformat_ibm_long_double_is_valid, floatformat_ibm_long_double): New. (floatformat_ieee_single_big, floatformat_ieee_single_little, floatformat_ieee_double_big, floatformat_ieee_double_little, floatformat_ieee_double_littlebyte_bigword, floatformat_vax_f, floatformat_vax_d, floatformat_vax_g, floatformat_i387_ext, floatformat_m68881_ext, floatformat_i960_ext, floatformat_m88110_ext, floatformat_m88110_harris_ext, floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword, floatformat_ia64_spill_big, floatformat_ia64_spill_little, floatformat_ia64_quad_big, floatformat_ia64_quad_little): Update for addition of split_half field. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@129977 138bc75d-0d04-0410-961f-82ee72b054a4
2007-09-06libiberty:Tom Tromey
* pexecute.txh (pex_free): Document process killing. include: * libiberty.h (pex_free): Document process killing. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@128192 138bc75d-0d04-0410-961f-82ee72b054a4
2007-08-312007-08-31 Douglas Gregor <doug.gregor@gmail.com>Doug Gregor
* mangle.c (write_type): Change mangling of rvalue reference from `RR' to `O'. 2007-08-31 Douglas Gregor <doug.gregor@gmail.com> * demangle.h (enum demangle_component_type): Add DEMANGLE_COMPONENT_RVALUE_REFERENCE. 2007-08-31 Douglas Gregor <doug.gregor@gmail.com> * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_RVALUE_REFERENCE. (d_make_comp): Ditto. (cplus_demangle_type): Ditto. (d_print_comp): Ditto. (d_print_mod): Ditto. (d_print_function_type): Ditto. 2007-08-31 Douglas Gregor <doug.gregor@gmail.com> * testsuite/abi/demangle/cxx0x/rref.cc: New. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@127999 138bc75d-0d04-0410-961f-82ee72b054a4
2007-07-25include/Ben Elliston
* ternary.h: Remove. libiberty/ * Makefile.in (CFILES): Remove ternary.c. (REQUIRED_OFILES): Remove ./ternary.o. (INSTALLED_HEADERS): Remove ternary.h. (ternary.o): Remove. * ternary.c: Remove. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@126902 138bc75d-0d04-0410-961f-82ee72b054a4
2007-07-18include/Bob Wilson
* xtensa-config.h (XCHAL_HAVE_THREADPTR): New. (XCHAL_HAVE_RELEASE_SYNC, XCHAL_HAVE_S32C1I): New. gcc/ * config/xtensa/xtensa.c (xtensa_expand_mask_and_shift): New. (struct alignment_context, init_alignment_context): New. (xtensa_expand_compare_and_swap, xtensa_expand_atomic): New. * config/xtensa/xtensa.h (XCHAL_HAVE_RELEASE_SYNC): Add default. (XCHAL_HAVE_S32C1I): Likewise. (TARGET_RELEASE_SYNC, TARGET_S32C1I): New. * config/xtensa/xtensa.md (UNSPECV_MEMW): New constant. (UNSPECV_S32RI, UNSPECV_S32C1I): Likewise. (ATOMIC, HQI): New macros. (memory_barrier, *memory_barrier): New. (sync_lock_releasesi): New. (sync_compare_and_swapsi, sync_compare_and_swap<mode>): New. (sync_lock_test_and_set<mode>): New. (sync_<atomic><mode>): New. (sync_old_<atomic><mode>, sync_new_<atomic><mode>): New. * config/xtensa/xtensa-protos.h (xtensa_expand_compare_and_swap): New. (xtensa_expand_atomic): New. gcc/testsuite/ * lib/target-supports.exp (check_effective_target_sync_int_long): Enable for xtensa. (check_effective_target_sync_char_short): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@126728 138bc75d-0d04-0410-961f-82ee72b054a4
2007-07-17* COPYING_v3: New file. Contains version 3 of the GNU General Public License.Nick Clifton
* COPYING.LIB_v3: New file. Contains version 3 of the GNU Lesser General Public License. * gpl_v3.texi: New file. Contains a texinfo formated copy of the GNU General Public License, version 3. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@126701 138bc75d-0d04-0410-961f-82ee72b054a4
2007-07-13 * splay-tree.h: Fix whitespace.Uros Bizjak
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@126625 138bc75d-0d04-0410-961f-82ee72b054a4
2007-07-12 * splay-tree.h (libi_uhostptr_t, libi_shostptr_t): Adjust typesHans-Peter Nilsson
work-a-round whitespace problem in gcc gengtype. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@126587 138bc75d-0d04-0410-961f-82ee72b054a4
2007-07-12* splay-tree.h (libi_uhostptr_t, libi_shostptr_t): New types,Kai Tietz
needed for WIN64 when a long is not wide enough for a pointer. (splay_tree_key, splay_tree_value): Use the new types. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@126573 138bc75d-0d04-0410-961f-82ee72b054a4
2007-05-08include/Nathan Froyd
2007-05-07 Nathan Froyd <froydnj@codesourcery.com> * libiberty.h (writeargv): Declare. libiberty/ 2007-05-07 Nathan Froyd <froydnj@codesourcery.com> * argv.c (writeargv): New function. gcc/ 2007-05-07 Nathan Froyd <froydnj@codesourcery.com> * gcc.c (at_file_supplied): New variable. (main): Set it if we expanded argv. (do_spec_1): Pass an @-file to the linker if we were called with an @-file argument and HAVE_GNU_LD. * collect2.c (at_file_supplied): New variable. (response_file): New variable. (collect_exit): Unlink response_file if necessary. (handler): Likewise. (do_wait): Likewise. (main): Set at_file_supplied if we expanded argv. (collect_execute): Pass an @-file to subprocesses if we were called with an @-file argument. * configure.ac: Add define for HAVE_GNU_LD. * configure: Regenerate. * config.in: Regenerate. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@124532 138bc75d-0d04-0410-961f-82ee72b054a4
2007-04-26 * demangle.h: Change license to LGPL + exception.Mark Mitchell
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@124174 138bc75d-0d04-0410-961f-82ee72b054a4
2007-03-29 * filenames.h (FILENAME_CMP): Adjust define to call filename_cmpJoel Brobecker
regardless of the type of file system. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@123343 138bc75d-0d04-0410-961f-82ee72b054a4
2007-03-06 * errors.h (warning, error, fatal, internal_error): Mark as cold.Jan Hubicka
* predict.c (maybe_hot_bb): Cold functions are never hot; hot functions are hot. (probably_cold_bb_p): Cold functions are cold. (probably_never_executed_bb_p): Cold functions are cold. (tree_bb_level_predictions): Predict calls to cold functions as not taken. (compute_function_frequency): Check hot/cold attributes. * function.h (function_frequency): Update comments. * predict.def (PRED_COLD_FUNCTION): Predict cold function. * c-common.c (handle_hot_attribute, handle_cold_attribute): New. (c_common_att): Add cold and hot. * doc/extend.texi (hot,cold attributes): Document. * ansidecl.h (ATTRIBUTE_COLD, ATTRIBUTE_HOT): New. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@122632 138bc75d-0d04-0410-961f-82ee72b054a4
2007-02-09 * libiberty.h (pex_write_input): Remove prototype.Joseph Myers
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@121755 138bc75d-0d04-0410-961f-82ee72b054a4
2007-01-31 include/Vladimir Prus
* libiberty.h (PEX_STDERR_TO_PIPE): New define. (PEX_BINARY_ERROR): New define. (pex_read_err): New function. libiberty/ * pex-common.h (struct pex_obj): New fields stderr_pipe and read_err. * pex-common.c (pex_init_common): Initialize stderr_pipe. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@121430 138bc75d-0d04-0410-961f-82ee72b054a4
2007-01-29include/:Simon Baldwin
* demangle.h: New cplus_demangle_print_callback, cplus_demangle_v3_callback, and java_demangle_v3_callback function prototypes, and demangle_callbackref type definition. libiberty/: * cp-demangle.h (cplus_demangle_operators): External definition suppressed if not building for libstdc++. * cp-demangle.c (__gcclibcxx_demangle_callback): Augmented interface to demangling, provides a malloc-less version of __cxa_demangle. (cplus_demangle_print_callback): Public callback version of cplus_demangle_print. (struct d_growable_string): New growable string structure. (d_growable_string_init): New function, provides support for growable strings separate from print info. (d_growable_string_resize): Likewise. (d_growable_string_append_buffer): Likewise. (d_growable_string_callback_adapter):): Likewise. (d_print_init): New print info initialization function. (d_print_error): Macro replace by inline function. (d_print_saw_error): Likewise. (d_append_char): Likewise. (d_append_buffer): Likewise. (d_append_string): New inline function, replaces the d_append_string_constant macro. (d_flush_buffer): New function, flushes buffer to callback. (d_demangle_callback, is_ctor_or_dtor): Malloc-based fallback for unsupported dynamic arrays replaced by alloca(). (d_demangle): Return string length estimating removed. (d_dump): Moved error case handling from call site into function. (d_print_resize): Function removed. (d_print_append_char): Likewise. (d_print_append_buffer): Likewise. (d_print_error): Likewise. (d_print_comp): Added special case handling for Java arrays. (java_demangle_v3): Removed string post-processing for Java arrays, now replaced by special case handling in d_print_comp. (cplus_demangle_v3_callback): Augmented interface to demangling, provides a malloc-less version of cplus_demangle_v3. (java_demangle_v3_callback): Augmented interface to demangling, provides a malloc-less version of java_demangle_v3. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@121305 138bc75d-0d04-0410-961f-82ee72b054a4
2006-12-06* ansidecl.h (ATTRIBUTE_PACKED): Define. Nick Clifton
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@119587 138bc75d-0d04-0410-961f-82ee72b054a4
2006-11-30include:Andrew Stubbs
2006-05-03 Andrew Stubbs <andrew.stubbs@st.com> J"orn Rennecke <joern.rennecke@st.com> PR driver/29931 * libiberty.h (make_relative_prefix_ignore_links): Declare. libiberty: 2006-05-03 Andrew Stubbs <andrew.stubbs@st.com> J"orn Rennecke <joern.rennecke@st.com> PR driver/29931 * make-relative-prefix.c (make_relative_prefix_1): New function, broken out of make_relative_prefix. Make link resolution dependent on new parameter. (make_relative_prefix): Use make_relative_prefix_1. (make_relative_prefix_ignore_links): New function. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@119366 138bc75d-0d04-0410-961f-82ee72b054a4
2006-11-27 * xtensa-config.h (XSHAL_ABI): New.Bob Wilson
(XTHAL_ABI_WINDOWED, XTHAL_ABI_CALL0): New. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@119261 138bc75d-0d04-0410-961f-82ee72b054a4
2006-06-01Patch to provide pex_run_in_environment.Mark Shinwell
* include/libiberty.h: Declare pex_run_in_environment. libiberty: * pex-common.c: New function pex_run_in_environment. * pex-common.h: Add environment parameter to exec_child. * pex-msdos.c: Add environment parameter to pex_msdos_exec_child. * pex-djgpp.c: Add environment parameter to pex_djgpp_exec_child. (pex_djgpp_exec_child): Pass environment to child process. * pex-unix.c: Add environment parameter to pex_unix_exec_child. (pex_unix_exec_child): Pass environment to child process. * pex-win32.c: Add environment parameter to pex_win32_exec_child. New function env_compare for comparing VAR=VALUE pairs. (win32_spawn): Assemble environment block and pass to CreateProcess. (spawn_script): Pass environment through to win32_spawn. (pex_win32_exec_child): Pass environment through to spawn_script and win32_spawn. * functions.texi: Regenerate. * pexecute.txh: Document pex_run_in_environment. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@114302 138bc75d-0d04-0410-961f-82ee72b054a4
2006-04-12src/libiberty/ChangeLog:Jim Blandy
2006-03-29 Jim Blandy <jimb@codesourcery.com> * pex-common.c (pex_input_file, pex_input_pipe): New functions. (pex_init_common): Initialize obj->input_file. (pex_run): Close any file opened by pex_input_file. * pexecute.txh (pex_input_file, pex_input_pipe): New docs. * pex-common.h (struct pex_obj): New field input_file. (struct pex_funcs): New function ptr fdopenw. * pex-unix.c (pex_unix_fdopenw): New function. (funcs): List it as our fdopenw function. * pex-win32.c (pex_win32_fdopenw): New function. (funcs): List it as our fdopenw function. * pex-djgpp.c (funcs): Leave fdopenw null. * pex-msdos (funcs): Same. * functions.texi: Regenerated. src/include/ChangeLog: 2006-04-10 Jim Blandy <jimb@codesourcery.com> * libiberty.h (pex_input_file, pex_input_pipe): New declarations. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112883 138bc75d-0d04-0410-961f-82ee72b054a4
2006-01-18* md5.h: Include ansidecl.hDJ Delorie
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@109910 138bc75d-0d04-0410-961f-82ee72b054a4
2006-01-09include:Bob Wilson
* xtensa-config.h (XCHAL_HAVE_MUL32_HIGH): Define. gcc: * config/xtensa/ieee754-df.S: New file. * config/xtensa/ieee754-sf.S: New file. * config/xtensa/t-xtensa (LIB2FUNCS_EXTRA): Remove fp-bit.c & dp-bit.c. (LIB1ASMFUNCS): Add SFmode and DFmode floating-point functions. * config/xtensa/lib1funcs.asm: Include ieee754-df.S and ieee754-sf.S. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@109518 138bc75d-0d04-0410-961f-82ee72b054a4
2005-12-31include/Bob Wilson
* xtensa-config.h (XCHAL_HAVE_WIDE_BRANCHES): New. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@109191 138bc75d-0d04-0410-961f-82ee72b054a4
2005-12-11Fixes java/PR9861Terry Laurenzo
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@108374 138bc75d-0d04-0410-961f-82ee72b054a4
2005-10-31from Mark Kettenis <kettenis@gnu.org>Mark Kettenis
* floatformat.c (floatformat_vax_aingle, floatformat_vax_double): New variables. * floatformat.h (enum floatformat_byteorders): Add floatformat_vax. (floatformat_vax_aingle, floatformat_vax_double): Declare. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@106281 138bc75d-0d04-0410-961f-82ee72b054a4
2005-09-26 * libiberty.h (expandargv): New function.Mark Mitchell
* argv.c (safe-ctype.h): Include it. (ISBLANK): Remove. (stdio.h): Include. (buildargv): Use ISSPACE instead of ISBLANK. (expandargv): New function. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@104664 138bc75d-0d04-0410-961f-82ee72b054a4
2005-08-17[libiberty]Mark Kettenis
* floatformat.c (floatformat_always_valid): Change type of last argument to `void *'. (floatformat_i387_ext_is_valid): Likewise. (floatformat_to_double): Change type of second argument to `const void *'. (floatformat_from_double): Change type of last argument to `void *'. (floatformat_is_valid): Change type of last argument to `const void *'. (ieee_test): Remove redundant casts. [include] * floatformat.h (struct floatformat): Change type of large argument for is_valid member to `const void *'. (floatformat_to_double): Change type of second argument to `const void *'. (floatformat_from_double): Change type of last argument to `void *'. (floatformat_is_valid): Change type of last argument to `const void *'. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@103218 138bc75d-0d04-0410-961f-82ee72b054a4
2005-07-12 * xregex2.h (regexec): Qualify this prototype with __extension__Ben Elliston
when compiling with GNU C. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@101910 138bc75d-0d04-0410-961f-82ee72b054a4
2005-07-03 PR other/13906Steve Ellcey
* ansidecl.h (ATTRIBUTE_ALIGNED_ALIGNOF): New. * md5.h (md5_uintptr): New. (md5_ctx): Align buffer field. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@101556 138bc75d-0d04-0410-961f-82ee72b054a4
2005-06-302005-06-29 Daniel Berlin <dberlin@dberlin.org>Daniel Berlin
* tree-complex.c (complex_variable_components): Now a hashtable. (cvc_lookup): Ditto. (cvc_insert): Ditto. (create_components): Use referenced var iterator. Initialize hashtable. Use cvc_insert/lookup. (extract_components): Use cvc_insert/lookup. (update_complex_components): Ditto. (update_complex_components_on_edge): Ditto. * tree-dfa.c (referenced_vars): Now a hashtable. (dump_referenced_vars): Use iterator. (referenced_var_lookup): New function. (referenced_var_insert): Ditto. (add_referenced_var): Use referenced_var_insert. (mark_new_vars_to_rename): Use DECL_UID. * tree-flow-inline.h (first_htab_element): New function. (end_htab_p): Ditto. (next_htab_element): Ditto. (first_referenced_var): Ditto. (end_referenced_vars_p): Ditto. (next_referenced_var): Ditto. (is_call_clobbered): Use DECL_UID. (mark_call_clobbered): Ditto. (clear_call_clobbered): Ditto. (mark_non_addressable): Ditto. * tree-flow.h (htab_iterator): New struct. (FOR_EACH_HTAB_ELEMENT): New macro. (struct int_tree_map): New struct. (int_tree_map_hash): Prototype. (int_tree_map_eq): Ditto. (referenced_var_iterator): Ditto. (FOR_EACH_REFERENCED_VAR): New macro. (referenced_vars): Now a hashtable. * tree-into-ssa.c (symbol_marked_for_renaming): Use DECL_UID. (add_new_name_mapping): Ditto. (mark_def_sites): Ditto. (insert_phi_nodes): Use referenced_var iterator. (mark_def_site_blocks): Ditto. (mark_sym_for_renaming): Use DECL_UID. * tree-sra.c (is_sra_candidate_decl): Use DECL_UID. (lookup_element): Ditto. (find_candidates_for_sra): Use referenced_vars iterator. Use DECL_UID. * tree-ssa-alias.c (NUM_REFERENCES): New macro. (NUM_REFERENCES_CLEAR): Ditto. (NUM_REFERENCES_INC): Ditto. (NUM_REFERENCES_SET): Ditto. (alias_obstack): New bitmap obstack. (struct alias_map_d): Use bitmap, not sbitmap. (struct alias_info): Remove num_references. (init_alias_info): Use referenced_var iterator. Initialize bitmap obstack. (delete_alias_info): Use referenced_var iterator. Free bitmap obstack. (compute_points_to_and_addr_escape): Use DECL_UID. Use new NUM_REFERENCES macros. (compute_flow_sensitive_aliasing): may_aliases is now a bitmap. Use new NUM_REFERENCES macros. (group_aliases_into): Update prototype to use bitmap. (setup_pointers_and_addressables): Use referenced_vars iterator. Use DECL_UID. Use new NUM_REFERENCES macros. (add_pointed_to_var): Use DECL_UID. (dump_alias_info): Use referenced_var iterator. (add_type_alias): Ditto. (used_portions): Now a hashtable. (used_part_map_eq): New function. (used_part_map_hash): Ditto. (free_used_part_map): Ditto. (up_lookup): Ditto. (up_insert): Ditto. (get_or_create_used_part_for): Use up_lookup. (create_overlap_variables_for): Ditto. (find_used_portions): Use up_insert. Use DECL_UID. (create_structure_vars): Init used_portions hashtable, use referenced_vars iterator. * tree-ssa-live.c (create_ssa_var_map): sbitmaps became bitmaps. Use DECL_UID. * tree-ssa-loop-im.c (gather_mem_refs_stmt): Use DECL_UID. * tree-ssa-operands.c (get_asm_expr_operands): Ditto. (note_addressable): Ditto. * tree-ssa-structalias.c (set_uids_in_ptset): Ditto. * tree-ssa.c (verify_flow_insensitive_alias_info): Use referenced_var iterator. Use DECL_UID. (delete_tree_ssa): Ditto. (int_tree_map_eq): New function. (int_tree_map_hash): Ditto. * tree-stdarg.c (find_va_list_reference): Use DECL_UID. (va_list_ptr_read): Ditto. (va_list_counter_struct_op): Ditto. (va_list_ptr_write): Ditto. (check_va_list_escapes): Ditto. (check_all_va_list_escapes): Ditto. (execute_optimize_stdarg): Ditto. * tree-tailcall.c (suitable_for_tail_opt_p): Used referenced_var iterator. 2005-06-30 Daniel Berlin <dberlin@dberlin.org> * hashtab.h (HTAB_DELETED_ENTRY): New macro. (HTAB_EMPTY_ENTRY): New macro. 2005-06-30 Daniel Berlin <dberlin@dberlin.org> * hashtab.c (EMPTY_ENTRY): Moved and renamed. (DELETED_ENTRY): Ditto. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@101480 138bc75d-0d04-0410-961f-82ee72b054a4
2005-06-21Index: include/ChangeLogGeoffrey Keating
2005-06-20 Geoffrey Keating <geoffk@apple.com> * libiberty.h (strverscmp): Prototype. Index: libiberty/ChangeLog 2005-06-20 Geoffrey Keating <geoffk@apple.com> * strverscmp.c: New. * Makefile.in (CFILES): Add strverscmp.c. (CONFIGURED_OFILES): Add strverscmp.o. (strverscmp.o): New rule. (stamp-functions): Add $(srcdir) to files in source directory. * configure.ac (funcs): Add strverscmp. (AC_CHECK_FUNCS): Add strverscmp. * configure: Regenerate. * functions.texi: Regenerate. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@101226 138bc75d-0d04-0410-961f-82ee72b054a4
2005-06-06libiberty/Gabriel Dos Reis
2005-06-06 Gabriel Dos Reis <gdr@integrable-solutions.net> * libiberty.h (XOBFINISH): New. gcc/ 2005-06-06 Gabriel Dos Reis <gdr@integrable-solutions.net> * c-lex.c (lex_string): Use XOBFINISH. * collect2.c (extract_string, dump_file): Likewise. * dbxout.c (dbxout_finish_complex_stabs): Likewise. * gcc.c (init_spec, build_search_list, convert_filename, set_collect_gcc_options, do_spec_2, do_spec_1, main): * Likewise. * genpreds.c (write_predicate_subfunction): Likewise. * genflags.c (main): Likewise. * read-rtl.c (mode_attr_index, apply_macro_to_string, join_c_conditions, read_quoted_string, read_braced_string, read_rtx_1): Likewise. * stringpool.c (ggc_alloc_string): Likewise. * tlink.c (obstack_fgets, recompile_files): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@100678 138bc75d-0d04-0410-961f-82ee72b054a4
2005-06-02 * libiberty.h (vsnprintf): Add format attribute.Kaveh Ghazi
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@100476 138bc75d-0d04-0410-961f-82ee72b054a4
2005-05-30 * ansidecl.h: Add ATTRIBUTE_FPTR_PRINTF.Kaveh Ghazi
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@100334 138bc75d-0d04-0410-961f-82ee72b054a4
2005-05-28include:Eli Zaretskii
2005-05-28 Eli Zaretskii <eliz@gnu.org> * libiberty.h: (snprintf) [!HAVE_DECL_SNPRINTF]: Declare if needed. (vsnprintf) [!HAVE_DECL_VSNPRINTF]: Declare if needed. libiberty: 2005-05-28 Eli Zaretskii <eliz@gnu.org> * configure.ac: Add snprintf and vsnprintf to AC_CHEK_DECLS. * config.in, configure: Regenerate. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@100292 138bc75d-0d04-0410-961f-82ee72b054a4
2005-05-25include/Richard Henderson
* demangle.h (DEMANGLE_COMPONENT_HIDDEN_ALIAS): New. libiberty/ * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_HIDDEN_ALIAS. (d_make_comp, d_print_comp): Likewise. (d_special_name): Generate one. * testsuite/demangle-expected: Add a hidden alias test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@100174 138bc75d-0d04-0410-961f-82ee72b054a4
2005-05-24include/Gabriel Dos Reis
2005-05-24 Gabriel Dos Reis <gdr@integrable-solutions.net> * libiberty.h (ACONCAT): Properly cast value of alloca(). * ansidecl.h (ATTRIBUTE_UNUSED_LABEL): Don't define if __cplusplus. libiberty/ 2005-05-24 Gabriel Dos Reis <gdr@integrable-solutions.net> * configure.ac: Check declarations for calloc(), getenv(), malloc(), realloc() and sbrk(). * config.in: Regenerate. * configure: Likewise. * alloca.c (C_alloca): Change "new" to "new_storage". Use XNEWVEC instead of xmalloc. * choose-temp.c (choose_temp_base): Use XNEWVEC instea od xmalloc. * concat.c (liiberty_concat_ptr): Surround definition with an extern "C" block, if __cplusplus. (concat): Use XNEWVEC instead of xmalloc. (reconcat): Likewise. * cp-demangle.c (struct d_print_template): Rename member "template" to "template_decl". Adjust use throughout the file. (d_print_resize): Properly cast return value of realloc(). (cplus_demangle_print): Same for malloc(). (d_demangle): Likewise. * cp-demint.c (cplus_demangle_fill_builtin_type): Rename parameter "typename" to "type_name". * cplus-dem.c (grow_vect): Use XRESIZEVEC instead of xrealloc(). (work_stuff_copy_to_from): Use XNEWVEC insteand of xmalloc(). (demangle_template_value_parm): Likewise. (demangle_template): Likewise. (recursively_demangle): Likewise. (do_hpacc_template_literal): Likewise. (do_arg): Likewise. (remember_type): Likewise. (remember_Ktype): Likewise. (register_Btype): Likewise. (string_need): Use XRESIZEVEC instead of xrealloc(). * dyn-string.c (dyn_string_init): Use XNEWVEC. (dyn_string_new): Use XNEW. (dyn_string_resize): Use XRESIZEVEC. * fnmatch.c (fnmatch): Rename local variable "not" to "negate". * getopt.c (getenv): Declare only if !__cplusplus and !getenv. Otherwise include <stdlib.h>. (exchange): Cast return value of malloc(). * hashtab.c (htab_size): Define as both macro and non-inline function. (htab_elements): Likewise. * getpwd.c (getpwd): Use XNEWVEC. (htab_create_alloc_ex): Use C90 prototype-style. * lrealpath.c (lrealpath): Appropriately cast return value of malloc(). * make-relative-prefix.c (save_string): Likewise. * make-temp-file.c (try_dir): Rename from "try". Adjust use in the file. (choose_tmpdir): Use XNEWVEC. * mkstemps.c (mkstemps): Rename parameter "template" to "pattern". * pex-common.c (pex_init_common): Use XNEW. (pex_add_remove): Use XRESIZEVEC. (pex_run): Likewise. (pex_get_status_and_time): Likewise. * pex-djgpp.c (pex_djgpp_exec_child): Likewise. * pex-msdos.c (pex_init): Use XNEW. (pex_msdos_exec_child): Likewise. (pex_msdos_exec_child): Use XRESIZEVEC. * pex-unix.c (pex_wait): Use XNEW. * pex-win32.c (fix_argv): Use XNEWVEC. * pexecute.c (pwait): Likewise. * setenv.c (setenv): Properly cast return value of malloc(). * sigsetmask.c (sigsetmask): Rename local variables "old" and "new" to "old_sig" and "new_sig". * sort.c (main): Use XNEWVEC. * spaces.c (spaces): Cast return value of malloc(). * strndup.c (strndup): Likewise. * ternary.c (ternary_insert): Use XNEW. * xmalloc.c (malloc, realloc, calloc, sbrk): Surround declaration with an extern "C" block if __cplusplus. * xstrdup.c (xstrdup): Cast return value of memcpy(). * xstrerror.c (strerror): Enclose declaration in an extern "C" block if __cplusplus. * xstrndup.c (xstrndup): Use XNEW. Cast return value of memcpy(). git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@100115 138bc75d-0d04-0410-961f-82ee72b054a4
2005-05-12 libiberty.h: Do not define empty basename prototype.Steve Ellcey
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@99626 138bc75d-0d04-0410-961f-82ee72b054a4
2005-05-10Update the address and phone number of the FSF organization.Nick Clifton
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@99518 138bc75d-0d04-0410-961f-82ee72b054a4
2005-04-26include:Kaveh Ghazi
* libiberty.h (unlock_std_streams): New. libiberty: * fopen_unlocked.c (unlock_std_streams): New. * functions.texi: Regenerate. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@98746 138bc75d-0d04-0410-961f-82ee72b054a4
2005-04-19 * hashtab.h, libiberty.h, objalloc.h, splay-tree.h, ternary.h:Kaveh Ghazi
Don't use the PTR macro. * sort.h: Don't use the PARAMS macro. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@98416 138bc75d-0d04-0410-961f-82ee72b054a4
2005-04-16include:Kaveh Ghazi
* libiberty.h (unlock_stream): New. libiberty: * fopen_unlocked.c (unlock_stream): New. Consolidate unlocking code into a helper function. * functions.texi: Regenerate. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@98234 138bc75d-0d04-0410-961f-82ee72b054a4
2005-04-14 * libiberty.h (fopen_unlocked, fdopen_unlocked, freopen_unlocked):Kaveh Ghazi
Remove parameter names. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@98121 138bc75d-0d04-0410-961f-82ee72b054a4
2005-04-11include:Kaveh Ghazi
* libiberty.h (fopen_unlocked, fdopen_unlocked, freopen_unlocked): Provide prototypes for new functions. libiberty: * Makefile.in (CFILES): Add fopen_unlocked.c. (REQUIRED_OFILES): Add ./fopen_unlocked.o. Regenerate dependencies. * configure.ac: Check for stdio_ext.h and __fsetlocking. * fopen_unlocked.c: New file. * functions.texi, configure, config.in: Regenerate. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@97977 138bc75d-0d04-0410-961f-82ee72b054a4
2005-03-29 * libiberty.h: Fix indentation.Ian Lance Taylor
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@97196 138bc75d-0d04-0410-961f-82ee72b054a4