aboutsummaryrefslogtreecommitdiff
path: root/libiberty
AgeCommit message (Collapse)AuthorFilesLines
2006-10-10--(top level)--------------------------------------------Brooks Moses3-3/+12
2006-10-10 Brooks Moses <bmoses@stanford.edu> * Makefile.def: Added pdf target handling. * Makefile.tpl: Added pdf target handling. * Makefile.in: Regenerated. ---fixincludes-------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Makefile.in: Added empty "pdf" target. ---gcc---------------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * configure.ac: Added pdf to "Make-hooks" * Makefile.in: Added TEXI2PDF definition, and various pdf-file targets and *.pdf file patterns in cleanup targets. * configure: Regenerated. ---gcc/cp------------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Make-lang.in: Added "c++.pdf" target support. ---gcc/fortran-------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Make-lang.in: Added "fortran.pdf", "gfortran.pdf" target support. ---gcc/java----------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Make-lang.in: Added "java.pdf", "gcj.pdf" target support. ---gcc/objc----------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Make-lang.in: Added empty "objc.pdf" target. ---gcc/objcp---------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Make-lang.in: Added empty "obj-c++.pdf" target. ---gcc/treelang------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Make-lang.in: Added "treelang.pdf" target support. ---gnattools---------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Makefile.in: Added empty "pdf" target. ---libcpp------------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Makefile.in: Added empty "pdf" target. ---libdecnumber------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Makefile.in: Added empty "pdf" target. ---libiberty---------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Makefile.in: Added "pdf", "libiberty.pdf" target support. * testsuite/Makefile.in: Added empty "pdf" target. ---libobjc------------------------------------------------ 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Makefile.in: Added empty "pdf" target. From-SVN: r117618
2006-09-22re PR other/29176 (Seg fault in demangler)Ian Lance Taylor3-0/+13
PR other/29176 * cp-demangle.c (d_substitution): Check for overflow when computing substitution index. From-SVN: r117144
2006-09-12Fix some whitespace issues in the changelog.Andrew Pinski1-11/+11
From-SVN: r116880
2006-08-30configure.ac: Add case for Mingw as host.Corinna Vinschen3-0/+256
2006-08-30 Corinna Vinschen <corinna@vinschen.de> * configure.ac: Add case for Mingw as host. * configure: Regenerate. From-SVN: r116586
2006-08-27re PR driver/27622 (gcc hang when compiling with -pipe)Ian Lance Taylor7-13/+46
PR driver/27622 * pex-common.h (struct pex_funcs): Add toclose parameter to exec_child field. * pex-common.c (pex_run_in_environment): Pass toclose to exec_child. * pex-djgpp.c (pex_djgpp_exec_child): Add toclose parameter. * pex-unix.c (pex_unix_exec_child): Likewise. * pex-msdos.c (pex_msdos_exec_child): Likewise. * pex-win32.c (pex_win32_exec_child): Likewise. From-SVN: r116494
2006-08-27re PR other/28797 (Problems with demangling (__cxa_demangle()))Ian Lance Taylor3-1/+23
PR other/28797 * cp-demangle.c (d_pointer_to_member_type): Do add a substitution for a qualified member which is not a function. * testsuite/demangle-expected: Add test case. From-SVN: r116493
2006-07-27re PR middle-end/28071 (A file that can not be compiled in reasonable ↵Jan Hubicka2-1/+28
time/space) PR rtl-optimization/28071 * hashtab.c (htab_empty): Clear out n_deleted/n_elements; downsize the hashtable. From-SVN: r115779
2006-07-04ltconfig: chmod 644 before ranlib during install.Peter O'Gorman2-2/+6
ChangeLog: * ltconfig: chmod 644 before ranlib during install. libiberty/ChangeLog: * Makefile.in: chmod 644 before ranlib during install. gcc/ChangeLog: * mklibgcc.in: chmod 644 before ranlib during install. libjava/classpath/ChangeLog: * ltconfig: chmod 644 before ranlib during install. From-SVN: r115183
2006-06-02pex-unix.c (pex_unix_exec_child): Insert cast when assigning to environ.Mark Shinwell2-1/+6
* pex-unix.c (pex_unix_exec_child): Insert cast when assigning to environ. From-SVN: r114326
2006-06-01Patch to provide pex_run_in_environment.Mark Shinwell9-36/+201
* 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. From-SVN: r114302
2006-05-28Open temporary files in binary mode when using mkstemps.Mark Shinwell2-1/+9
From-SVN: r114165
2006-05-12cplus-dem.c (demangle_fund_type): Ensure buf is large enough to hold "int%u_t".Anton Blanchard2-1/+6
* cplus-dem.c (demangle_fund_type): Ensure buf is large enough to hold "int%u_t". From-SVN: r113728
2006-04-24floatformat.c (floatformat_to_double): Fix (biased) exponent=0 case.Julian Brown2-1/+5
* floatformat.c (floatformat_to_double): Fix (biased) exponent=0 case. From-SVN: r113228
2006-04-12pex-common.c (pex_input_file, [...]): New functions.Jim Blandy9-9/+277
src/libiberty/ChangeLog: 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. From-SVN: r112883
2006-04-12pex-common.c (temp_file): New function, containing guts of pex-style ↵Jim Blandy2-43/+66
temporary file name generation. 2006-04-10 Jim Blandy <jimb@codesourcery.com> * pex-common.c (temp_file): New function, containing guts of pex-style temporary file name generation. (pex_run): Use it. From-SVN: r112882
2006-04-06Makefile.in: Add install-html, install-html-am, and install-html-recursive ↵Carlos O'Donell5-5/+81
targets. libiberty/ 2006-04-06 Carlos O'Donell <carlos@codesourcery.com> * Makefile.in: Add install-html, install-html-am, and install-html-recursive targets. Define mkdir_p and NORMAL_INSTALL. * configure.ac: AC_SUBST datarootdir, docdir, htmldir. * configure: Regenerate. * testsuite/Makefile.in: Add install-html and html targets. From-SVN: r112741
2006-03-31pex-win32.c (<errno.h>): Include.Mark Mitchell2-258/+335
* pex-win32.c (<errno.h>): Include. (fix_argv): Remove. (argv_to_cmdline): New function. (std_suffixes): New variable. (no_suffixes): Likewise. (find_executable): New function. (win32_spawn): Likewise. (spawn_script): Use win32_spawn instead of _spawnv[p]. (pex_win32_exec_child): Replace MSVCRT calls with Win32 API calls. (pex_win32_wait): Likewise. From-SVN: r112592
2006-03-24pex-common.c (pex_run): Simplify output name handling.Jim Blandy2-11/+8
2006-03-24 Jim Blandy <jimb@codesourcery.com> * pex-common.c (pex_run): Simplify output name handling. From-SVN: r112363
2006-03-13pex-common.h (struct pex_obj): Doc fixes.Jim Blandy2-12/+19
2006-03-12 Jim Blandy <jimb@red-bean.com> * pex-common.h (struct pex_obj): Doc fixes. From-SVN: r112022
2006-03-13functions.texi: Regenerate.Jim Blandy2-1/+25
2006-03-11 Jim Blandy <jimb@red-bean.com> * functions.texi: Regenerate. From-SVN: r112021
2006-02-21* pexecute.c (pwait): Syntax fix for previous change.Ben Elliston2-1/+5
From-SVN: r111326
2006-02-20pexecute.c (pwait): Free vector pointer.Uttam Pawar3-1/+10
* pexecute.c (pwait): Free vector pointer. * partition.c (partition_print): Free class_elements pointer. From-SVN: r111325
2006-02-11re PR bootstrap/16787 (NAN constant "(0.0/0.0)" cannot be compiled by Tru64 cc)Roger Sayle2-1/+18
2006-02-11 Roger Sayle <roger@eyesopen.com> R. Scott Bailey <scott.bailey@eds.com> Bill Northcott <w.northcott@unsw.edu.au> PR bootstrap/16787 * floatformat.c: Include <float.h> where available. (NAN): Use value of DBL_QNAN if defined, and NAN isn't. Co-Authored-By: Bill Northcott <w.northcott@unsw.edu.au> Co-Authored-By: R. Scott Bailey <scott.bailey@eds.com> From-SVN: r110873
2006-01-29configure.ac: Add -Wc++-compat to ac_libibety_warn_cflags where supported.Gabriel Dos Reis3-68/+205
* configure.ac: Add -Wc++-compat to ac_libibety_warn_cflags where supported. * configure: Regenerated. From-SVN: r110375
2006-01-20Makefile.in: Add test-expandargv test.Carlos O'Donell4-5/+327
libiberty/ 2006-01-20 Carlos O'Donell <carlos@codesourcery.com> * testsuite/Makefile.in: Add test-expandargv test. * testsuite/test-expandargv.c: New test. * argv.c (expandargv): Check for errors with ferror, rather than just by looking at return value from fread. From-SVN: r110047
2005-12-17floatformat.c (floatformat_i387_ext_is_valid): Use explicit cast to convert ↵Gabriel Dos Reis2-3/+10
from "from". * floatformat.c (floatformat_i387_ext_is_valid): Use explicit cast to convert from "from". (floatformat_to_double): Likewise. (floatformat_from_double): Use explicit cast to convert from "to". From-SVN: r108717
2005-12-11Fixes java/PR9861Terry Laurenzo4-7/+68
From-SVN: r108374
2005-11-07splay-tree.c (rotate_left): New function.Richard Guenther2-111/+87
2005-11-07 Richard Guenther <rguenther@suse.de> * splay-tree.c (rotate_left): New function. (rotate_right): Likewise. (splay_tree_splay_helper): Remove. (splay_tree_splay): Re-implement. From-SVN: r106584
2005-10-31from Mark Kettenis <kettenis@gnu.org>Mark Kettenis2-0/+29
* 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. From-SVN: r106281
2005-10-07* at-file.texi: Fix typo.Mark Mitchell2-3/+6
From-SVN: r105088
2005-10-04* at-file.texi: New file.Mark Mitchell2-0/+20
From-SVN: r104937
2005-09-27* argv.c (expandargv): Do not use xmalloc_failed.Mark Mitchell2-3/+8
From-SVN: r104695
2005-09-26* Makefile.in: Regenerated.Mark Mitchell1-0/+1
From-SVN: r104666
2005-09-26libiberty.h (expandargv): New function.Mark Mitchell3-8/+127
* libiberty.h (expandargv): New function. * argv.c (safe-ctype.h): Include it. (ISBLANK): Remove. (stdio.h): Include. (buildargv): Use ISSPACE instead of ISBLANK. (expandargv): New function. From-SVN: r104664
2005-09-15pex-win32.c: Include "windows.h".Christopher Faylor2-14/+307
* pex-win32.c: Include "windows.h". (backslashify): New function. (fix_argv): Use backslashify to convert path to windows format. Allocate one more place in new argv for potential executable from '#!' parsing. (tack_on_executable): New function. Conditional on USE_MINGW_MSYS (openkey): Ditto. (mingw_rootify): Ditto. (msys_rootify): Ditto. (spawn_script): New function. (pex_win32_exec_child): Save translated argv in newargv. Pass to spawn_script if spawnv* fails. (main): New function. Conditional on MAIN. Useful for testing. From-SVN: r104292
2005-08-17floatformat.c (floatformat_always_valid): Change type of last argument to ↵Mark Kettenis2-17/+30
`void *'. [libiberty] * 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 *'. From-SVN: r103218
2005-08-17strverscmp.c: Update FSF address.Kelley Cook5-6/+13
2005-08-17 Kelley Cook <kcook@gcc.gnu.org> * strverscmp.c: Update FSF address. * testsuite/Makefile.in: Likewise. * testsuite/test-demangle.c: Likewise. * testsuite/test-pexecute.c: Likewise. From-SVN: r103199
2005-07-23* getopt.c: Include ansidecl.h before system headers.Kaveh R. Ghazi2-1/+5
From-SVN: r102308
2005-07-22getopt.c: Include "ansidecl.h".Ben Elliston2-3/+11
* getopt.c: Include "ansidecl.h". (_getopt_initialize): Mark argc and argv parameters as unused. From-SVN: r102271
2005-07-22* regex.c (regcomp): Change type of `i' from unsigned to int.Ben Elliston2-2/+6
From-SVN: r102270
2005-07-22Recover patch lost in the sourceware repository:Ben Elliston4-10/+8
2005-07-09 Ben Elliston <bje@au.ibm.com> * memcpy.c: Remove ANSI_PROTOTYPES conditional code. * memmove.c: Likewise. * objalloc.c: Likewise. From-SVN: r102268
2005-07-22configure.ac: Check for a getopt(3) declaration.Ben Elliston4-125/+145
* configure.ac: Check for a getopt(3) declaration. * configure, config.in: Regenerate. From-SVN: r102267
2005-07-15* regex.c (TRANSLATE): Cast rhs of ternary expression to char.Ben Elliston2-2/+8
From-SVN: r102050
2005-07-12floatformat.c (floatformat_to_double): Add a comment about a potential ↵Ben Elliston2-0/+12
source of warnings when compiling this file. * floatformat.c (floatformat_to_double): Add a comment about a potential source of warnings when compiling this file. From-SVN: r101914
2005-07-12pexecute.c (pexecute): Cast string litrals to char *.Ben Elliston3-3/+8
* pexecute.c (pexecute): Cast string litrals to char *. * regex.c (re_comp): Cast a call to gettext() to char *. From-SVN: r101911
2005-07-07config.table: Delete file.Kelley Cook5-71/+146
2005-07-07 Kelley Cook <kcook@gcc.gnu.org> * config.table: Delete file. Move former contents into ... * configure.ac: ... here and escape any brackets for m4. * Makefile.in (config.status): Remove dependency on config.table. * configure: Regenerate. From-SVN: r101684
2005-07-07config.in: Regenerate for 6/20 change.Kelley Cook2-0/+11
2005-07-07 Kelley Cook <kcook@gcc.gnu.org> * config.in: Regenerate for 6/20 change. From-SVN: r101683
2005-07-03re PR other/13906 (genmodes.c:964: internal compiler error: Bus error in ↵Steve Ellcey2-0/+22
md5_process_block) PR other/13906 * md5.c (md5_process_bytes): Check alignment. From-SVN: r101557
2005-07-01re PR other/22268 (libiberty demanger crashes on (invalid) mangled name)Ian Lance Taylor3-1/+18
PR other/22268 * cp-demangle.c (d_expr_primary): Don't run off the end of the string while looking for the end of a literal value. * testsuite/demangle-expected: Add test case. From-SVN: r101506
2005-06-30[multiple changes]Daniel Berlin2-32/+28
2005-06-29 Daniel Berlin <dberlin@dberlin.org> * 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. From-SVN: r101480