Skip to content
Snippets Groups Projects
  1. Aug 12, 2001
  2. Aug 10, 2001
  3. Aug 02, 2001
  4. Jul 18, 2001
  5. Jul 11, 2001
  6. May 16, 2001
  7. May 10, 2001
  8. May 08, 2001
    • zack's avatar
      * cp-demangle.c (demangle_v3_with_details, · e5f55ef4
      zack authored
      	is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
      	function definition.
      	* ternary.c: Use K+R style function definitions.  Use PTR, not
      	void *.  Make arguments constant where possible.
      	* demangle.h: Use PARAMS for all prototypes.
      	* ternary.h: Use PARAMS for all prototypes.  Use PTR, not void *.
      	Make arguments constant where possible.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41910 138bc75d-0d04-0410-961f-82ee72b054a4
      e5f55ef4
  9. May 07, 2001
  10. Apr 16, 2001
    • dberlin's avatar
      · eec19420
      dberlin authored
      2001-04-15  Daniel Berlin  <dan@cgsoftware.com>
      
      	* ternary.h: New file - Ternary search tree header.
      
      2001-04-15  Daniel Berlin  <dan@cgsoftware.com>
      
      	* ternary.c: New file - Ternary search tree implementation.
      
      	* Makefile.in: Add ternary.o, and ternary.c dependencies.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41380 138bc75d-0d04-0410-961f-82ee72b054a4
      eec19420
  11. Apr 04, 2001
    • zack's avatar
      include: · 673b6e5a
      zack authored
      	* ansidecl.h: All logic from gcc/gansidecl.h moved here.
      gcc:
      	* gansidecl.h: Delete file.
      	* configure.in: Change all refs to gansidecl.h to use
      	ansidecl.h.  Adjust *_file_list so they know where ansidecl.h
      	lives.
      	* configure: Regenerate.
      
      	* Makefile.in (intl.o): Don't depend on gansidecl.h.
      	* defaults.h: s/gansidecl.h/ansidecl.h/ in comment.
      	* ggc.h, config/fr30/fr30.h, config/mcore/mcore.c:
      	Don't include gansidecl.h.
      	* intl.c, main.c, version.c, fixinc/fixlib.h,
      	fixinc/procopen.c, fixinc/server.c: Include ansidecl.h not
      	gansidecl.h.
      gcc/java:
      	* Make-lang.in (buffer.o, check-init.o, class.o): Don't depend
      	on gansidecl.h.
      	* buffer.c, jvgenmain.c: Don't include gansidecl.h.
      libiberty:
      	* make-temp-file.c (try): Inline.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41069 138bc75d-0d04-0410-961f-82ee72b054a4
      673b6e5a
  12. Mar 31, 2001
  13. Mar 21, 2001
  14. Mar 14, 2001
  15. Mar 10, 2001
  16. Mar 06, 2001
    • zack's avatar
      oops, edited changelogs in wrong tree · 012f1707
      zack authored
      this is the log for the big alloca configuration patch
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40260 138bc75d-0d04-0410-961f-82ee72b054a4
      012f1707
    • zack's avatar
      libiberty: · f8d49ce1
      zack authored
      	* aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
      	* configure.in: Replace all alloca logic with a simple use of
      	the above new macro.
      	* config.table: Kill *-*-beos* entry.
      	* config/mh-beos: Delete.
      	* configure, config.in: Regenerate.
      
      	* Makefile.in (ALLOCA, HFILES): Kill.
      	(REQUIRED_OFILES): Add alloca.o.
      	(alloca.o): Depend on libiberty.h.
      	(argv.o): Don't depend on alloca-conf.h.
      	* alloca-conf.h: Delete.
      	* alloca.c: Include libiberty.h.  Kill all #ifdef emacs
      	blocks.  Provide the C alloca unconditionally.  Use PTR where
      	appropriate.  Make i00afunc static.
      	* argv.c: Don't include alloca-conf.h.
      
      include:
      	* libiberty.h: Prototype C_alloca; define alloca to either
      	__builtin_alloca or C_alloca as appropriate.
      
      gcc:
      	* aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE
      	AC_FUNC_ALLOCA.
      	* configure, config.in: Regenerate.
      	* config.gcc: Remove references to deleted files.
      
      	* genattr.c, genattrtab.c, genextract.c, genoutput.c,
      	genrecog.c, rtl.c: Do not use alloca anywhere.
      
      	* Makefile.in, build-make, system.h, config/x-interix,
      	config/x-svr4, config/xm-interix.h, config/xm-openbsd.h,
      	config/alpha/xm-alpha.h, config/alpha/xm-vms.h,
      	config/arc/xm-arc.h, config/arm/xm-arm.h,
      	config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
      	config/h8300/xm-h8300.h, config/i370/x-oe,
      	config/i370/xm-linux.h, config/i386/x-aix, config/i386/x-beos,
      	config/i386/x-ncr3000, config/i386/x-sco5,
      	config/i386/xm-dgux.h, config/i860/x-sysv4,
      	config/i960/xm-i960.h, config/m32r/xm-m32r.h,
      	config/m68k/x-crds, config/m68k/x-dpx2, config/m68k/x-hp320,
      	config/m68k/x-hp320g, config/m69k/x-mot3300,
      	config/m68k/x-mot3300-gas, config/m68k/xm-amix.h,
      	config/m68k/xm-hp320.h, config/m68k/xm-m68kv.h,
      	config/m68k/xm-mot3300.h, config/m88k/x-dolph,
      	config/m88k/x-sysv4, config/m88k/x-tekXD88,
      	config/m88k/xm-m88k.h, config/mcore/xm-mcore.h,
      	config/mips/x-iris, config/mips/x-iris3,
      	config/mips/x-sni-svr4, config/mips/x-sysv,
      	config/mips/xm-iris6.h, config/mips/xm-mips.h,
      	config/mips/xm-nws3250v4.h, config/pa/x-hpux,
      	config/pa/x-pa-mpeix, config/pa/xm-pa.h,
      	config/pa/xm-pa64hpux.h, config/pa/xm-pahpux.h,
      	config/pa/xm-papro.h, config/romp/xm-romp.h,
      	config/rs6000/x-aix31, config/rs6000/x-aix41,
      	config/rs6000/x-beos, config/rs6000/x-lynx,
      	config/rs6000/x-mach, config/rs6000/x-rs6000,
      	config/rs6000/x-sysv4, config/rs6000/xm-rs6000.h,
      	config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
      	config/sparc/x-sysv4, config/sparc/xm-linux.h,
      	config/sparc/xm-pbd.h, config/sparc/xm-sparc.h,
      	config/vax/xm-vms.h: Eradicate all references to alloca and
      	related stuff.
      
      	* config/xm-alloca.h, config/clipper/x-clix,
      	config/i386/xm-sysv4.h, config/i860/x-fx2800,
      	config/i860/x-sysv3, config/m88k/x-sysv3,
      	config/sparc/xm-sol2.h, config/we32k/x-we32k: Delete
      	(contained only alloca related hacks).
      
      	* config/i386/xm-beos.h, config/rs6000/xm-beos.h: Just define
      	USE_C_ALLOCA.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40259 138bc75d-0d04-0410-961f-82ee72b054a4
      f8d49ce1
  17. Mar 02, 2001
  18. Feb 02, 2001
    • bryce's avatar
      Add support for Java demangling under the v3 ABI: · 1c1033dd
      bryce authored
      	* cp-demangle.c (NAMESPACE_SEPARATOR): New define.
      	(struct demangling_def): Add `style' field.
      	(demangling_new): New parameter `style'. Set it in demangling_t.
      	(demangle_prefix): Use NAMESPACE_SEPARATOR.
      	(demangle_type_ptr): Don't emit pointer symbol if doing Java output.
      	(cp_demangle): New parameter `style'. Pass it to demangling_new().
      	(main): Call cp_demangle with extra parameter.
      	(java_demangle_v3): New function.
      	(java_builtin_type_names): New. Table of primitive type names used
      	for Java demangling.
      	(demangle_builtin_type): Look up in java_builtin_type_names if doing
      	Java output.
      	* cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
      	demangling.
      	(long_options): Remove obsolete `java' option.
      	(main): Remove explicit handling of `java' option. Instead, pass style
      	parameter in cplus_demangle flags as gdb does.
      	* testsuite/demangle.expected: Add some Java test cases.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39399 138bc75d-0d04-0410-961f-82ee72b054a4
      1c1033dd
  19. Dec 18, 2000
  20. Dec 16, 2000
  21. Dec 08, 2000
    • zack's avatar
      include: · 93ce8ce4
      zack authored
      	* safe-ctype.h: New file.
      libiberty:
      	* safe-ctype.c: New file.
      	* Makefile.in (CFILES): Add safe-ctype.c.
      	(REQUIRED_OFILES): Add safe-ctype.o.
      
      	* argv.c: Define ISBLANK and use it, not isspace.
      	* basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
      	strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h.  Use
      	uppercase ctype macros.  Don't test ISUPPER(c)/ISLOWER(c)
      	before calling TOLOWER(c)/TOUPPER(c).
      gcc:
      	* Makefile.in (HOST_RTL): Add safe-ctype.o.
      	(safe-ctype.o): New rule.
      	* system.h: Include safe-ctype.h, not ctype.h.  No need to
      	wrap ctype macros.
      
      	* cpphash.h: Zap IStable and related macros.  Define is_* in
      	terms of safe-ctype.h macros.
      	* cppinit.c: Delete the IStable and all related code.
      
      	* tradcpp.c: Delete is_idchar, is_idstart, is_hor_space, and
      	is_space arrays.  Delete initialize_char_syntax.  Change all
      	references to the above arrays to use macros instead.
      	* tradcpp.h: Define is_idchar, is_idstart, is_space, and
      	is_nvspace in terms of safe_ctype.h's macros.
      	* tradcif.y: is_idchar, is_idstart are macros not arrays.
      
      	* config/i370/i370.c, config/winnt/dirent.c,
      	config/winnt/fixinc-nt.c, config/winnt/ld.c:
      	Use uppercase ctype macros.  If we included ctype.h,
      	include safe-ctype.h instead.
      
      	* fixinc/fixfixes.c: Use uppercase ctype macros.  Don't test
      	ISLOWER(c) before calling TOUPPER(c).
      	* fixinc/fixincl.c (extract_quoted_files): Simplify out some gunk.
      	* fixinc/gnu-regex.c: Include safe-ctype.h, not ctype.h.  No need to
      	wrap ctype macros.  Don't test ISUPPER(x) before calling TOLOWER(x).
      gcc/ch:
      	* lex.c: Don't bother checking whether ISUPPER(c) before
      	calling TOLOWER(c).  Don't bother checking whether isascii(c)
      	before testing ISSPACE(c); ISSPACE(c) includes '\n'.
      gcc/f:
      	* Make-lang.in: Link f/fini with safe-ctype.o.
      	* bad.c: Don't test ISUPPER(c) || ISLOWER(c) before calling TOUPPER(c).
      	* com.c: Use TOUPPER, not ffesrc_toupper.
      	* fini.c: Don't test ISALPHA(c) before calling TOUPPER(c)/TOLOWER(c).
      	* intrin.c: Don't test IN_CTYPE_DOMAIN(c).
      	* src.c: Delete ffesrc_toupper_ and ffesrc_tolower_ and their
      	initializing code; use TOUPPER and TOLOWER instead of
      	ffesrc_toupper and ffesrc_tolower.
      	* src.h: Don't declare ffesrc_toupper_ or ffesrc_tolower_.
      	Don't define ffesrc_toupper or ffesrc_tolower.
      gcc/java:
      	* jvgenmain.c: Use ISPRINT not isascii.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38124 138bc75d-0d04-0410-961f-82ee72b054a4
      93ce8ce4
  22. Dec 07, 2000
  23. Dec 05, 2000
  24. Dec 04, 2000
  25. Nov 22, 2000
    • zack's avatar
      gcc: · ec255163
      zack authored
              * Makefile.in, config.gcc, configure.in: Expunge remaining
              traces of facility for running MD files through C preprocessor.
      
      libiberty:
              * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
              (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
              * configure.in: Call AC_C_INLINE and AC_C_CONST.  Use three
              argument form of AC_DEFINE in dummy definitions block.  Use
              AC_DEFINE_NOAUTOHEADER for real definitions of things defined
              in dummy block.  Preload cache variables instead of bypassing
              tests, where possible.
              * acconfig.h: Removed.
      
              * xmalloc.c (xmalloc_failed): New function, does error
              reporting on failed allocation.
              (xmalloc, xcalloc, xrealloc): Use it.
              * libiberty.h: Move #includes to top.  Prototype xmalloc_failed.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37650 138bc75d-0d04-0410-961f-82ee72b054a4
      ec255163
  26. Nov 15, 2000
  27. Nov 04, 2000
  28. Nov 03, 2000
  29. Sep 10, 2000
  30. Sep 06, 2000
  31. Sep 05, 2000
    • samuel's avatar
      In include: · 40e00cb0
      samuel authored
              * dyn-string.h: Adjust formatting.
              (dyn_string_insert_char): New macro.  New declaration.
      
      In libiberty:
      
              * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
              (substitution_def): Remove template_parm_number.
              (NOT_TEMPLATE_PARM): Remove.
              (result_insert_string): New macro.
              (result_insert): Likewise.
              (result_insert_char): Likewise.
              (substitution_add): Remove last parameter.  Don't store template
              parm number.
              (BFT_NO_RETURN_TYPE): Define as NULL.
              (demangle_encoding): Adjust call to demangle_bare_function_type.
              (demangle_name): Adjust substitution.  Adjust call to
              substitution_add.
              (demangle_prefix): Adjust call to substitution_add.
              (demangle_identifier): Handle anonymous namespaces.
              (demangle_operator_name): Change demangling of vendor-extended
              operator to match ABI changes.
              (demangle_type_ptr): Change parameters.  Make recursive.  Handle
              substitutions here.
              (demangle_type): Adjust calls to demangle_template_param,
              substitution_add, and demangle_type_ptr.  Fix substitution of
              templated types.
              (demangle_function_type): Change parameter to a pointer.
              (demangle_bare_function_type): Likewise.  Adjust insertion point.
              (demangle_template_param): Remove last parameter.
              (demangle_expr_primary): Remove unused variable.  Adjust call to
              demangle_template_param.
              (is_mangled_char): Accept `$' and `.'.
              * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
              * dyn-string.c (dyn_string_insert_char): New function.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36148 138bc75d-0d04-0410-961f-82ee72b054a4
      40e00cb0
  32. Aug 29, 2000
    • jason's avatar
      2000-08-28 Daniel Berlin <dberlin@redhat.com> · 19f716e5
      jason authored
              * dwarf2out.c (DIE_LABEL_PREFIX): Remove leading "__".
              (print_die): If we don't know the offset of the
              target die, try the symbol.  Add a trailing newline.
              (reverse_all_dies): New fn.
              (dwarf2out_finish): Call it.
              (break_out_includes): Reorganize for clarity.
              (add_sibling_attributes): Don't call reverse_die_lists.
              (output_comp_unit): Rename from output_comdat_comp_unit.  Use for
              primary CU, too.
              * flags.h: Add flag_eliminate_dwarf2_dups.
              * toplev.c (f_options): Support -feliminate-dwarf2-dups.
      
      2000-08-28  Jason Merrill  <jason@redhat.com>
      
              * dwarf2.h (DW_TAG_GNU_BINCL, DW_TAG_GNU_EINCL): New tags.
              * dwarf2out.c: #include "md5.h".
              (DIE_LABEL_PREFIX): New macro.
              (dw_val_struct): Add 'external' flag to val_die_ref.
              (add_AT_die_ref, AT_ref): Adjust.
              (AT_ref_external, set_AT_ref_external): New fns.
              (build_abbrev_table): Call set_AT_ref_external.
              (value_format): Call AT_ref_external.
              (die_struct): Add die_symbol field.
              (new_die): Clear it.
              (dwarf_tag_name): Handle BINCL/EINCL.
              (dwarf2out_start_source_file): Add BINCL DIE.
              (dwarf2out_end_source_file): Add EINCL DIE.
              (push_new_compile_unit, pop_compile_unit, clear_die_sizes): New fns.
              (loc_checksum, attr_checksum, die_checksum): New fns.
              (is_type_die, is_comdat_die, is_symbol_die): New fns.
              (compute_section_prefix, assign_symbol_names): New fns.
              (gen_internal_sym, output_die_symbol, output_symbolic_ref): New fns.
              (output_die): Call output_die_symbol and AT_ref_external.
              (output_comdat_comp_unit): New fn, split out from...
              (dwarf2out_finish): ...here.  Also call add_sibling_attributes for
              secondary CUs.
              (output_pubnames, output_aranges): Abort if we see entries from
              secondary CUs.
              * toplev.h: Declare file_name_nondirectory.
              * toplev.c (file_name_nondirectory): New fn, moved from C++ frontend.
              (rest_of_type_compilation): Call dwarf2out_decl if at toplevel.
              (debug_start_source_file): Call dwarf2out_start_source_file
              regardless of debug verbosity.
              (debug_end_source_file): Similarly.
              * tree.h: Declare clean_symbol_name.
              * tree.c (clean_symbol_name): Split out from...
              (get_file_function_name_long): ...here.
      
              * dwarf2out.c (new_loc_descr): Use calloc.
              (splice_child_die): Remove the die from the right parent.
              (gen_struct_or_union_die): Don't add AT_name to a specification DIE.
      
      gcc/cp:
      2000-08-28  Jason Merrill  <jason@redhat.com>
      
              * lex.c (file_name_nondirectory): Move to toplev.c.
      
      libiberty:
      2000-08-28  Jason Merrill  <jason@redhat.com>
      
              * Makefile.in (REQUIRED_OFILES): Add md5.o.
              (CFILES): Add md5.c.
              * md5.c: New file.
      
      include:
      2000-08-28  Jason Merrill  <jason@redhat.com>
      
              * md5.h: New file.
      
      gcc/cp:
      2000-08-28  Jason Merrill  <jason@redhat.com>
      
              * cp-tree.h (LOCAL_CLASS_P): New macro.
              * class.c (finish_struct_1): Use it.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36022 138bc75d-0d04-0410-961f-82ee72b054a4
      19f716e5
  33. Aug 24, 2000
  34. Jul 24, 2000
  35. Jun 23, 2000
    • samuel's avatar
      in include/ChangeLog: · 140d75d7
      samuel authored
      	* 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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34657 138bc75d-0d04-0410-961f-82ee72b054a4
      140d75d7
  36. Jun 07, 2000
    • ghazi's avatar
      libiberty: · da8bd873
      ghazi authored
      	* 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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34447 138bc75d-0d04-0410-961f-82ee72b054a4
      da8bd873
  37. Jun 05, 2000
    • samuel's avatar
      In include, · 168d63e5
      samuel authored
      	* 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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34397 138bc75d-0d04-0410-961f-82ee72b054a4
      168d63e5
Loading