- 07 Jul, 2000 1 commit
-
-
2000-07-07 Andrew Haley <aph@cygnus.com> * cplus-dem.c (main): fflush() after emitting last char before waiting for input. From-SVN: r34902
Andrew Haley committed
-
- 30 Jun, 2000 1 commit
-
-
* cp-demangle.c (demangle_encoding): Accept no substitutions. (demangle_name): Handle <substitution> followed by <unqualified-template-name>. (demangle_type): Follow special substitutions with <class-enum-type> (demangle_subtitution): Set template_p for special substitutions. (main): Fix typos. in gcc/cp/ChangeLog: * mangle.c (find_substitution): Use same_type_p. (write_encoding): Don't check for substitutions. in libio/ChangeLog: * libioP.h (VTABLE_LABEL): Update for new vtable mangling. * stdstrbufs.cc (filebuf_vtable): Likewise. (stdiobuf_vtable): Likewise. From-SVN: r34811
Alex Samuel committed
-
- 28 Jun, 2000 1 commit
-
-
cp-demangle.c (demangle_special_name): Swap base and derived class when demangling construction vtables. * cp-demangle.c (demangle_special_name): Swap base and derived class when demangling construction vtables. From-SVN: r34751
Alex Samuel committed
-
- 23 Jun, 2000 1 commit
-
-
* dyn-string.h (dyn_string_init, dyn_string_new, dyn_string_delete, dyn_string_release, dyn_string_resize, dyn_string_clear, dyn_string_copy, dyn_string_copy_cstr, dyn_string_prepend, dyn_string_prepend_cstr, dyn_string_insert, dyn_string_insert_cstr, dyn_string_append, dyn_string_append_cstr, dyn_string_append_char, dyn_string_substring_dyn_string_eq): Define as same name with __cxa_ prepended, if IN_LIBGCC2. (dyn_string_init, dyn_string_copy, dyn_string_copy_cstr, dyn_string_prepend, dyn_string_prepend_cstr, dyn_string_insert, dyn_string_insert_cstr, dyn_string_append, dyn_string_append_cstr, dyn_string_append_char, dyn_string_substring): Change return type to int. in libiberty/ChangeLog: * cp-demangle.c: Don't include ctype.h. (IS_DIGIT): New macro. (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout instead of isdigit and isalpanum. (demangling_def): Make name and next const pointers. (STATUS_ALLOCATION_FAILED): New status code. (dyn_string_append_space): Handle failure in dyn_string_append_char. (int_to_dyn_string): Likewise. Change return value to status_t. (string_list_new): Handle failure of dyn_string_init. (result_close_template_list): Change return type to status_t. Handle failure in dyn_string_append. (result_push): Change return value to status_t. Handle failure in string_list_new. Handle failure of result_push throughout. (substitution_add): Change return value to status_t. Handle dyn_string failures. Handle failure of substitution_add throughout. (template_arg_list_new): Return NULL on allocation failure. (result_append_string): Return STATUS_ALLOCATION_FAILED on error. Handle error result throughout. (result_append): Likewise. (result_append_char): Likewise. (result_append_space): Likewise. (demangling_new): Make argument a const pointer. Handle allocation failures. (demangle_template_args): Handle failure in template_arg_list_new and result_close_template_list. (demangle_discriminator): Return if int_to_dyn_string fails. (cp_demangle): Likewise. (cp_demangle_type): New function. (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on memory allocation failure. (main): Likewise. * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if IN_LIBGCC2. (dyn_string_init): Change return value to int. Handle RETURN_ON_ALLOCATION_FAILURE case. (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case. (dyn_string_release): Delete the dyn_string. (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case. (dyn_string_copy): Change return type to int. (dyn_string_copy_cstr): Likewise. (dyn_string_prepend): Likewise. (dyn_string_prepend_cstr): Likewise. (dyn_string_insert): Likewise. (dyn_string_insert_cstr): Likewise. (dyn_string_append): Likewise. (dyn_string_append_cstr): Likewise. (dyn_string_append_char): Likewise. (dyn_string_substring): Likewise. in gcc/cp/ChangeLog: * Make-lang.in (CXX_LIB2FUNCS): Add cp-demangle.o and dyn-string.o. (CXX_LIB2SRCS): Add cp-demangle.c and dyn-string.c. (cp-demangle.o): New rule. (dyn-string.o): Likewise. * inc/cxxabi.h (__cxa_demangle): New declaration. From-SVN: r34657
Alex Samuel committed
-
- 09 Jun, 2000 1 commit
-
-
* cp-demangle.c (demangle_operator_name): Add spaces before names beginning with a letter: delete, delete[], new, new[], sizeof. (demangle_special_name): Handle TF <type> and TJ <type>. From-SVN: r34477
Zack Weinberg committed
-
- 08 Jun, 2000 2 commits
-
-
From-SVN: r34455
Philippe De Muyter committed -
* cp-demangle.c (stdio.h): File included unconditionaly. (template_arg_list_new): Parameter list is PARAMS ((void)), not (). * dyn-string.c (stdio.h): File included. * partition.c (partition_print): No `&' needed to take the address of a function. From-SVN: r34450
Philippe De Muyter committed
-
- 07 Jun, 2000 2 commits
-
-
libiberty: * configure.in (ac_libiberty_warn_cflags): Add -pedantic. * choose-temp.c (try, choose_temp_base, make_temp_file): Constify. * cp-demangle.c (demangle_char): Change parameter from char to int. (demangle_expression, demangle_expr_primary): Remove extra semi-colon in prototype. * dyn-string.c (dyn_string_append_char): Change parameter from char to int. * memcmp.c (memcmp): Constify. * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with __extension__. * partition.c (elem_compare): Prototype. Don't cast away const-ness. * setenv.c (setenv): Use braces to avoid ambiguous `else'. include: * demangle.h (demangling_styles): Remove trailing comma in enum. * dyn-string.h (dyn_string_append_char): Change parameter from char to int. From-SVN: r34447
Kaveh R. Ghazi committed -
* Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h. * cp-demangle.c: Include demangle.h. (template_arg_list_new): DeANSIfy. (cp_demangle): Make static and add prototype. (operator_code, operators): Constify. (demangle_operator_name): Likewise for variables `p1', `p2' and `p'. From-SVN: r34446
Kaveh R. Ghazi committed
-
- 05 Jun, 2000 2 commits
-
-
* cp-demangle.c (demangle_prefix): Cast argument to isdigit to unsigned char. (demangle_unqualified_name): Likewise. (demangle_number_literally): Likewise. (demangle_type): Likewise. (demangle_substitution): Likewise. (is_mangled_char): Likewise, for isalnum. From-SVN: r34411
Alex Samuel committed -
* dyn-string.h: Move here from gcc/dyn-string.h. Add new functions. * demangle.h (DMGL_GNU_NEW_ABI): New macro. (DMGL_STYLE_MASK): Or in DMGL_GNU_NEW_ABI. (current_demangling_style): Add gnu_new_abi_demangling. (GNU_NEW_ABI_DEMANGLING_STYLE_STRING): New macro. (GNU_NEW_ABI_DEMANGLING): Likewise. (cplus_demangle_new_abi): New declaration. In libiberty, * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c. (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o. (cp-demangle.o): New dependency. (dyn-string.o): Likewise. * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions. * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI demangler. (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI demangling mode. (gnu_new_abi_symbol_characters): New function. (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New file. * cp-demangle.c: New file. From-SVN: r34397
Alex Samuel committed
-
- 31 May, 2000 1 commit
-
-
From-SVN: r34292
Andrew Cagney committed
-
- 30 May, 2000 2 commits
- 29 May, 2000 1 commit
-
-
* hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h if HAVE_STRING_H. * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H. * objalloc.c: Include config.h. Include stdlib.h and don't declare malloc or free if HAVE_STDLIB_H. * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H, else declare malloc without prototype. Include string.h if HAVE_STRING_H, else declare memset without prototype. Don't include stddef.h. From-SVN: r34254
Zack Weinberg committed
-
- 24 May, 2000 1 commit
-
-
* Makefile.in (xmalloc.o): Add dependency for config.h, fixes make -j3. From-SVN: r34117
Mike Stump committed
-
- 18 May, 2000 1 commit
-
-
From-SVN: r34003
J. David Anglin committed
-
- 16 May, 2000 3 commits
-
-
hashtab.c (hash_pointer): Delete low-order bits which are probably zero, also eliminate a warning on alpha. * hashtab.c (hash_pointer): Delete low-order bits which are probably zero, also eliminate a warning on alpha. From-SVN: r33934
Horst von Brand committed -
From-SVN: r33919
David Edelsohn committed -
on $(enable_shared). From-SVN: r33918
David Edelsohn committed
-
- 11 May, 2000 1 commit
-
-
* config.table: Use mh-sparcpic for sparc*-*-*. * configure.in: Use mh-sparcpic for sparc*-*-*. From-SVN: r33848
Jakub Jelinek committed
-
- 09 May, 2000 1 commit
-
-
From-SVN: r33785
Nick Clifton committed
-
- 04 May, 2000 2 commits
-
-
include: * demangle.h (demangler_engine): Constify. libiberty: * cplus-dem.c (cplus_demangle_opname, demangle_function_name): Cast the arguments to `islower' to `unsigned char'. (print_demangler_list): Prototype. From-SVN: r33679
Kaveh R. Ghazi committed -
* sort.h (sys/types.h): File included unconditionnaly. (stddef.h): File include only #ifdef __STDC__. * sort.c (UCHAR_MAX): Provide fallback definition. From-SVN: r33670
Philippe De Muyter committed
-
- 29 Apr, 2000 1 commit
-
-
* Makefile.in (maintainer-clean-subdir): Fix handling of empty SUBDIRS. From-SVN: r33533
Alexandre Oliva committed
-
- 28 Apr, 2000 2 commits
-
-
(libiberty_demanglers): new table for demangle styles (cplus_demangle_set_style): New function for setting style (cplus_demangle_name_to_style): New function to translate name * include/demangle.h (libiberty_demanglers): new table for different styles (cplus_demangle_set_style): New function for setting style (cplus_demangle_name_to_style): New function to translate name Co-Authored-By: Jason Merrill <jason@casey.cygnus.com> From-SVN: r33525
Kenneth Block committed -
* aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP. * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h. (libiberty_AC_FUNC_STRNCMP): Invoke. * strncmp.c: New file. From-SVN: r33498
Kaveh R. Ghazi committed
-
- 27 Apr, 2000 1 commit
-
-
* hashtab.c (htab_expand): Add prototype. (find_empty_slot_for_expand): Likewise. From-SVN: r33487
Jan Hubicka committed
-
- 24 Apr, 2000 4 commits
-
-
* hashtab.c (hash_pointer, eq_pointer): Make definition static to match prototype. (htab_expand): Cast the return value of xcalloc. From-SVN: r33391
Kaveh R. Ghazi committed -
* hashtab.h (hash_pointer): Declare. (eq_pointer): Likewise. * hashtab.c (hash_pointer): New function. (eq_pointer): Likewise. (htab_hash_pointer): New variable. (htab_eq_pointer): Likewise. From-SVN: r33372
Mark Mitchell committed -
From-SVN: r33368
Mark Mitchell committed -
* sort.c: New file. * Makefile.in (CFILES): Add sort.c (REQUIRED_OFILES): Add sort.o. (sort.o): New target. From-SVN: r33364
Mark Mitchell committed
-
- 21 Apr, 2000 1 commit
-
-
2000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG> * Makefile.in (*-subdir): Revamp slightly to avoid losing on 4.3BSD systems. From-SVN: r33329
Michael Sokolov committed
-
- 18 Apr, 2000 1 commit
-
-
* gcc/conflict.c (conflict_graph_add): Pass enum type to htab_find_slot. * gcc/cpperror.c (hashtab.h): Now include. * gcc/cppexp.c (hashtab.h): Likewise. * gcc/cpplex.c (hashtab.h): Likewise. * gcc/cppfiles.c (hashtab.h): Likewise. (find_include_file, _cpp_calc_hash, cpp_read_file): Pass enum type to htab_find_slot_with_hash. * gcc/cpphash.c (hashtab.h): Now include. (_cpp_lookup_slot): INSERT is now enum insert_option. * gcc/cpphash.h (_cpp_lookup_slot): Likewise. * gcc/cppinit.c (hashtab.h): Include earlier. (initialize_builtins): Pass enum to htab_find_slot. * gcc/cpplib.c (hashtab.h): Now include. (do_define, do_undef): Pass enum type to _cpp_lookup_slot. (do_pragma_poison, do_assert): Likewise. * gcc/emit-rtl.c (gen_rtx_CONST_INT): Pass enum to htab_find_slot_with_hash. * gcc/simplify-rtx.c (cselib_lookup_mem, cselib_lookup): Likewise. * gcc/tree.c (type_hash_add): Likewise. (build1): Minor cleanup. * include/hashtab.h (enum insert_option): New type. (htab_find_slot, htab_find_slot_with_hash): Use it. * libiberty/hashtab.c: Various minor cleanups. (htab_find_slot_with_hash): INSERT is now enum insert_option. (htab_find_slot): Likewise. From-SVN: r33236
Richard Kenner committed
-
- 17 Apr, 2000 1 commit
-
-
From-SVN: r33189
Dave Pitts committed
-
- 06 Apr, 2000 1 commit
-
-
From-SVN: r32949
Richard Henderson committed
-
- 05 Apr, 2000 1 commit
-
-
* makefile.dos: Remove; obsolete. * configure.bat: Remove; obsolete. From-SVN: r32938
Jason Merrill committed
-
- 31 Mar, 2000 1 commit
-
-
* hashtab.h (hashval_t): New type. (htab_find_with_hash): Use it as an argument. (htab_find_slot_with_hash): Likewise. * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash codes. (htab_find_with_hash): Likewise. (htab_find_slot_with_hash): Likewise. From-SVN: r32842
Mark Mitchell committed
-
- 29 Mar, 2000 1 commit
-
-
* hashtab.c (htab_find_with_hash): Avoid calculating hash2 unless it will be used. Rearrange loop for better optimization. (higher_prime_number): Add static prototype. From-SVN: r32809
Zack Weinberg committed
-
- 24 Mar, 2000 1 commit
-
-
From-SVN: r32729
Ian Lance Taylor committed
-