1. 11 Aug, 2001 9 commits
    • cpphash.c (_cpp_destroy_hashtable): Use ht_destroy. · bef985f3
      	* cpphash.c (_cpp_destroy_hashtable): Use ht_destroy.
      	* cpphash.h (CPP_IN_SYSTEM_HEADER): Fix.
      	(struct cpp_pool): New member first.
      	* cppinit.c (append_include_chain): Plug memory leaks.
      	* cpplib.c (cpp_register_pragma, cpp_register_pragma_space):
      	Allocate pragma structures from the (aligned) macro pool to
      	avoid leaking memory.
      	* cpplex.c (_cpp_init_pool, _cpp_free_pool): Use pool->first
      	so we don't leak memory.
      	* hashtable.c (ht_destroy): New.
      	* hashtable.h (ht_destroy): New.
      
      From-SVN: r44794
      Neil Booth committed
    • pt.c (maybe_fold_nontype_arg): Use TREE_TYPE of ARG as the criterion to avoid… · 4d5f3fbd
      pt.c (maybe_fold_nontype_arg): Use TREE_TYPE of ARG as the criterion to avoid rebuilding expression tree...
      
      	* pt.c (maybe_fold_nontype_arg): Use TREE_TYPE of ARG as the
      	criterion to avoid rebuilding expression tree instead of
      	processing_template_decl.
      
      	* g++.dg/template/unify1.C: New test.
      
      From-SVN: r44793
      Kriang Lerdsuwanakij committed
    • * Makefile.in (check-c++): Add missing semicolon. · 91b54f7f
      From-SVN: r44792
      Graham Stott committed
    • std_limits.h (__glibcpp_char_is_signed): Use __CHAR_UNSIGNED__. · 63814ec1
             * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
             __CHAR_UNSIGNED__.
      
             * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
             Likewise.
             * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
             Remove.
      
      From-SVN: r44791
      Gabriel Dos Reis committed
    • cpphash.h, cpplib.c: Correct erroneous previous checkin. · f80f7e8c
      	* cpphash.h, cpplib.c: Correct erroneous previous checkin.
      
      Co-Authored-By: Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
      
      From-SVN: r44790
      Neil Booth committed
    • c-lex.c (map): Make const. · 47d89cf3
      	* c-lex.c (map): Make const.
      	(cb_file_change): Update for callback passing a line map.
      	Don't assume we have a previous map.  Remove sanity check
      	about popping too many files.
      	* cpperror.c (print_location): Make map const.
      	* cppfiles.c (stack_include_file): Update; line maps now hold sysp.
      	(cpp_make_system_header): Similarly.
      	(search_from): Similarly.
      	(_cpp_execute_include): Don't remember where we came from.
      	* cpphash.h (struct cpp_buffer): Remove return_to_line, sysp.
      	(struct cpp_reader): Make map const.
      	(CPP_IN_SYSTEM_HEADER, _cpp_do_file_change): Update.
      	* cpplib.c (do_line): Update; line maps now hold sysp.
      	(cpp_push_buffer): Similarly.
      	(_cpp_do_file_change): Similarly; callback with map instead.
      	(cpp_get_line_maps): Constify return value.
      	(_cpp_pop_buffer): Update.
      	* cpplib.h (struct cpp_file_change): Remove.
      	(struct cpp_callbacks): Update.
      	(cpp_get_line_maps): Constify return value.
      	* cppmacro.c (_cpp_create_definition): Update.
      	* cppmain.c (struct printer): Constify map.
      	(maybe_print_line): Similarly.
      	(print_line): Similarly.  Deduce flags 1 and 2 here.
      	(cb_file_change): Update.
      	* line-map.c (free_line_maps): Warn regardless.
      	(add_line_map): Return pointer to const.  When passed NULL to_file
      	with LC_LEAVE, use the obvious values for the return point so the
      	caller doesn't have to figure them out.
      	(lookup_line): Return pointer to const.
      	(print_containing_files): Take pointer to const.
      	* line-map.h (struct line_map): New members reason, sysp.
      	(add_line_map): Return pointer to const.
      	(lookup_line): Similarly.
      	(print_containing_files): Take pointer to const.
      
      From-SVN: r44789
      Neil Booth committed
    • Daily bump. · 16568b92
      From-SVN: r44787
      GCC Administrator committed
    • regmove.c (regmove_optimize): Avoid setting a register twice in a parallel set. · bb948ad3
              * regmove.c (regmove_optimize): Avoid setting a register twice in
              a parallel set.
      
      Co-Authored-By: Richard Henderson <rth@redhat.com>
      
      From-SVN: r44785
      Roman Zippel committed
    • extend.texi (Arrays and pointers implementation): Document behavior of pointer/integer conversion. · cbf4c36f
              * doc/extend.texi (Arrays and pointers implementation): Document
              behavior of pointer/integer conversion.
      
      From-SVN: r44784
      Richard Henderson committed
  2. 10 Aug, 2001 27 commits
  3. 09 Aug, 2001 4 commits