1. 28 Apr, 2002 6 commits
    • cppexp.c (lex): Update to use state.skip_eval. · 87ed109f
      	* cppexp.c (lex): Update to use state.skip_eval.
      	(struct op): Remove prio and flags members.
      	(FLAG_BITS, FLAG_MASK, PRIO_SHIFT, EXTRACT_PRIO, EXTRACT_FLAGS,
      	SHORT_CIRCUIT, RIGHT_ASSOC, ..._PRIO, op_to_prio): Remove.
      	(LEFT_ASSOC): New macro.
      	(optab): New table of operator priorities and flags.
      	(SHIFT): Update.
      	(_cpp_parse_expr): Clean up logic.  Return bool.  Use a
      	malloc-ed parser stack.
      	(reduce): New; reduce the operator stack.
      	(_cpp_expand_op_stack): Expand the operator stack as necessary.
      	* cpphash.h (struct op): Predeclare.
      	(struct cpp_reader): New members op_stack, op_limit.
      	(struct lexer_state): New member skip_eval.
      	(_cpp_parse_expr): Update.
      	(_cpp_expand_op_stack): New.
      	* cpplib.c (do_if): Update.
      	* cppinit.c (cpp_create_reader): Create op stack.
      	(cpp_destroy): And destroy it.
      	* cpplib.h (CPP_LAST_CPP_OP): Correct.
      	(TTYPE_TABLE): Correct.
      testsuite:
      	* gcc.dg/cpp/if-mop.c: Update.
      	* gcc.dg/cpp/if-mpar.c: Add test.
      	* gcc.dg/cpp/if-oppr.c: Update.
      
      From-SVN: r52853
      Neil Booth committed
    • * .cvsignore: Remove files that are present in CVS. · 14dbfa70
      From-SVN: r52845
      Mark Mitchell committed
    • re PR c/6343 (attribute((weak)) not working on second declaration) · 45806a3f
      	2002-04-28  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
      
      	PR c/6343
      	* c-decl.c (duplicate_decls): Call merge_weak.
      	* c-pragma.c (apply_pragma_weak): Warn about misuse.
      	* output.h (merge_weak): Prototype merge_weak.
      	* varasm.c (merge_weak): New function.
      	(declare_weak): Make sure we don't give an error on VAR_DECLs.
      	Mark RTL with SYMBOL_REF_WEAK.
      
      cp:
      	* decl.c (duplicate_decls): Call merge_weak.
      
      testsuite:
      	* gcc.dg/weak-[2-7].c: New tests.
      
      From-SVN: r52844
      Franz Sirl committed
    • [multiple changes] · 32c8d100
      2002-04-28  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
      
      	* include/ext/stl_hashtable.h: Import __iterator_category
      
      2002-04-28  Paolo Carlini  <pcarlini@unitus.it>
                  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
      
      	* testsuite/ext/hash_set.cc: New testfile.
      
      From-SVN: r52843
      Paolo Carlini committed
    • Daily bump. · ba29591d
      From-SVN: r52842
      GCC Administrator committed
    • os_defines.h: Remove _G_USING_THUNKS. · 82f637d1
      
      
      
      
      2002-04-27  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* config/os/solaris/solaris2.5/bits/os_defines.h: Remove
      	_G_USING_THUNKS.
      	* config/os/solaris/solaris2.6/bits/os_defines.h: Same.
      	* config/os/solaris/solaris2.7/bits/os_defines.h: Same.
      
      From-SVN: r52838
      Benjamin Kosnik committed
  2. 27 Apr, 2002 9 commits
  3. 26 Apr, 2002 23 commits
  4. 25 Apr, 2002 2 commits