1. 14 Aug, 2006 8 commits
    • re PR c++/28288 (ICE with min/max operator) · b52dbbf8
      	PR c++/28288
      	PR c++/14556
      	* operators.def: Remove <?, ?>, <?=, and >?= operators.
      	* parser.c: Remove CPP_MIN, CPP_MAX, CPP_MIN_EQ, and CPP_MAX_EQ.
      	(cp_parser_warn_min_max): Remove.
      	* include/cpplib.h: Remove <?, >?, <?=, and >?= tokens.
      	(CPP_LAST_EQ): Change.
      	(CPP_LAST_PUNCTUATOR): Change.
      	* expr.c (cpp_operator): Remove MIN and MAX.
      	(reduce): Remove CPP_MIN and CPP_MAX.
      	(num_binary_op): Ditto.
      	* lex.c (_cpp_lex_direct): Ditto.
      	(cpp_avoid_paste): Remove ? as legal symbol after > or <.
      
      From-SVN: r116140
      Steve Ellcey committed
    • Imported GNU Classpath 0.92 · ac1ed908
      2006-08-14  Mark Wielaard  <mark@klomp.org>
      
             Imported GNU Classpath 0.92
             * HACKING: Add more importing hints. Update automake version
             requirement.
      
             * configure.ac (gconf-peer): New enable AC argument.
             Add --disable-gconf-peer and --enable-default-preferences-peer
             to classpath configure when gconf is disabled.
             * scripts/makemake.tcl: Set gnu/java/util/prefs/gconf and
             gnu/java/awt/dnd/peer/gtk to bc. Classify
             gnu/java/security/Configuration.java as generated source file.
      
             * gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
             gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
             gnu/java/lang/management/VMClassLoadingMXBeanImpl.java,
             gnu/java/lang/management/VMRuntimeMXBeanImpl.java,
             gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java,
             gnu/java/lang/management/VMThreadMXBeanImpl.java,
             gnu/java/lang/management/VMMemoryMXBeanImpl.java,
             gnu/java/lang/management/VMCompilationMXBeanImpl.java: New VM stub
             classes.
             * java/lang/management/VMManagementFactory.java: Likewise.
             * java/net/VMURLConnection.java: Likewise.
             * gnu/java/nio/VMChannel.java: Likewise.
      
             * java/lang/Thread.java (getState): Add stub implementation.
             * java/lang/Class.java (isEnum): Likewise.
             * java/lang/Class.h (isEnum): Likewise.
      
             * gnu/awt/xlib/XToolkit.java (getClasspathTextLayoutPeer): Removed.
      
             * javax/naming/spi/NamingManager.java: New override for StackWalker
             functionality.
      
             * configure, sources.am, Makefile.in, gcj/Makefile.in,
             include/Makefile.in, testsuite/Makefile.in: Regenerated.
      
      From-SVN: r116139
      Mark Wielaard committed
    • re PR c++/28559 (ICE with friend and __attribute__) · abab4604
              PR c++/28559
              * parser.c (cp_parser_elaborated_type_specifier): Also ignore
              attributes applied to a TYPENAME_TYPE.
      
      From-SVN: r116137
      Jason Merrill committed
    • * c-decl.c, var-tracking.c: Fix comment typos. · 96ff6c8c
      From-SVN: r116134
      Kazu Hirata committed
    • re PR testsuite/28703 (FAIL: gcc.c-torture/execute/pr28651.c execution) · c5183e0f
      2006-08-14  Richard Guenther  <rguenther@suse.de>
       
      	PR testsuite/28703
      	* gcc.c-torture/execute/pr28651.c: Do not use argc
      	to avoid optimization, instead forbid inlining.
      
      From-SVN: r116129
      Richard Guenther committed
    • Thread.java (accessControlState): New field. · be6415be
      2006-08-14  Gary Benson  <gbenson@redhat.com>
      
      	* java/lang/Thread.java (accessControlState): New field.
      	* java/security/VMAccessControlState.java: New file.
      	* java/security/natVMAccessControlState.cc: Likewise.
      	* java/security/VMAccessController.java
      	(contexts, inGetContext): Removed.
      	(pushContext, popContext, getContext): Use VMAccessControlState.
      	* Makefile.am (nat_source_files): Updated.
      	* sources.am, Makefile.in: Rebuilt.
      
      From-SVN: r116128
      Gary Benson committed
    • re PR rtl-optimization/28634 (rounding problem with -fdelayed-branch on hppa/mips) · 2b3969fa
      gcc/
      	PR rtl-optimization/28634
      	* reorg.c (fill_slots_from_thread): Do not assume A + X - X == A
      	for floating-point modes unless flag_unsafe_math_optimizations.
      
      gcc/testsuite/
      	PR rtl-optimization/28634
      	* gcc.c-torture/execute/ieee/pr28634.c: New test.
      
      From-SVN: r116124
      Richard Sandiford committed
    • Daily bump. · 62eed976
      From-SVN: r116120
      GCC Administrator committed
  2. 13 Aug, 2006 5 commits
  3. 12 Aug, 2006 4 commits
  4. 11 Aug, 2006 5 commits
  5. 10 Aug, 2006 9 commits
  6. 09 Aug, 2006 9 commits
    • stl_bvector.h (vector<bool>::_M_copy_aligned): New. · 976e25f4
      2006-08-09  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/bits/stl_bvector.h (vector<bool>::_M_copy_aligned): New.
      	(vector<bool>::vector(const vector&), operator=(const vector&),
      	reserve(size_type), _M_fill_insert(iterator, size_type, bool),
      	_M_insert_range(iterator, _ForwardIterator, _ForwardIterator,
      	std::forward_iterator_tag), _M_insert_aux(iterator, bool)): Use it.
      	* testsuite/performance/23_containers/copy_construct/
      	vector_bool.cc: New.
      
      	* testsuite/23_containers/vector/bool/cons/1.cc: New.
      	* testsuite/23_containers/vector/bool/cons/2.cc: Likewise.
      
      	* include/bits/stl_bvector.h (vector<bool>::_M_fill): Remove.
      	(fill(_Bit_iterator, _Bit_iterator, const bool&)): New.
      	(vector<bool>::_M_fill_insert(iterator, size_type, bool)): Adjust.
      
      	* include/bits/stl_bvector.h (_M_initialize_range(_InputIterator,
      	_InputIterator, std::input_iterator_tag)): Remove redundant
      	assignments.
      
      	* include/bits/stl_algo.h (find(istreambuf_iterator<>,
      	istreambuf_iterator<>, _CharT)): Adjust signature.
      	* include/bits/streambuf_iterator.h: Likewise.
      	* include/std/std_streambuf.h: Likewise.
      
      From-SVN: r116049
      Paolo Carlini committed
    • gcov.c (no_data_file): New flag. · 80b3502b
      	* gcov.c (no_data_file): New flag.
      	(read_count_file): Set it if data file not present.  Assume counts
      	zero if not found.
      	(output_lines): Don't name the data file, if there wasn't one.
      
      From-SVN: r116045
      Nathan Sidwell committed
    • re PR awt/28666 (IllegalAccessError in gtk peers) · 1506961e
      	PR classpath/28666:
      	* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
      	(Java_gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice_nativeGetDisplayModes):
      	Create a 'short' array.
      
      From-SVN: r116044
      Tom Tromey committed
    • re PR c++/28637 (ICE on invalid template parameter) · 2d8ba2c7
      2006-08-09  Lee Millward  <lee.millward@codesourcery.com>
      
             PR c++/28637
             * pt.c (coerce_template_parms): Copy across the
             invalid template arguments to the new template inner arguments.
             (retrieve_specialization): Robustify.
      
             * g++.dg/template/void3.C: New test.
      
             PR c++/28638
             * pt.c (coerce_template_template_parms): Robustify.
             
             * g++.dg/template/void4.C: New test.
      
             PR c++/28639
             * error.c (dump_template_parms): Robustify.
      
             PR c++/28640
             * pt.c (redeclare_class_template): Robustify
      
             * g++.dg/template/void5.C: New test.
      
             PR c++/28641
             * pt.c (type_unification_real): Robustify.
      
      From-SVN: r116043
      Lee Millward committed
    • rs6000.c (print_operand): Fix comment and adjust. · cef6b86c
      	* config/rs6000/rs6000.c (print_operand) <D>: Fix comment and adjust.
      	(rs6000_generate_compare): Tweak comments.
      	* config/rs6000/rs6000.md (UNSPEC_MV_CR_GT): Fix comment.
      
      From-SVN: r116041
      Eric Botcazou committed
    • stacktrace.cc (accesscontrol_trace_fn): Skip non-Java frames. · 9e7ef3a8
      2006-08-09  Gary Benson  <gbenson@redhat.com>
      
      	* stacktrace.cc (accesscontrol_trace_fn): Skip non-Java frames.
      
      From-SVN: r116038
      Gary Benson committed
    • stl_algobase.h (fill(const _Deque_iterator<>&, const _Deque_iterator<>&, const _Tp&)): Move... · 62c7a041
      2006-08-09  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/bits/stl_algobase.h (fill(const _Deque_iterator<>&,
      	const _Deque_iterator<>&, const _Tp&)): Move...
      	* include/bits/deque.tcc: ... here.
      	* include/bits/stl_deque.h: Declare.
      
      From-SVN: r116034
      Paolo Carlini committed
    • System.java (setSecurityManager): Javadoc fix. · fac186e5
      2006-08-09  Gary Benson  <gbenson@redhat.com>
      
      	* java/lang/System.java (setSecurityManager): Javadoc fix.
      	* java/security/VMAccessController.java (getContext): Comment fix.
      
      From-SVN: r116033
      Gary Benson committed
    • java-stack.h (accesscontrol_trace_fn): Declare. · c7dc750a
      2006-08-09  Gary Benson  <gbenson@redhat.com>
      
      	* include/java-stack.h (accesscontrol_trace_fn): Declare.
      	(GetAccessControlStack): Likewise.
      	(GetClassMethodStack): Remove.
      	* stacktrace.cc (accesscontrol_trace_fn): New method.
      	(GetAccessControlStack): Likewise.
      	(GetClassMethodStack): Remove.
      	* java/security/natVMAccessController.cc (getStack): Use
      	GetAccessControlStack.
      
      From-SVN: r116032
      Gary Benson committed