1. 10 May, 2003 9 commits
    • re PR c++/9252 ([New parser] Errors due to legally used "typename") · 78757caa
      	PR c++/9252
      	* cp-tree.h (saved_scope): Remove check_access field.
      	(tsubst_flags_t): Remove tf_parsing.
      	* decl.c (maybe_push_to_top_level): Don't initialize
      	scope_chain->check_access.
      	(make_typename_type, make_unbound_class_template): Don't use
      	tf_parsing.
      	(register_dtor_fn): Use push/pop_deferring_access_checks
      	instead of scope_chain->check_access.
      	* method.c (use_thunk): Likewise.
      	* parser.c (cp_parser_explicit_instantiation
      	(cp_parser_constructor_declarator_p): Don't call
      	push/pop_deferring_access_checks here.
      	(cp_parser_template_argument, cp_parser_class_name): Don't use
      	tf_parsing.
      	(yyparse): Check flag_access_control.
      	* pt.c (instantiate_class_template): Call
      	push/pop_deferring_access_checks.
      	* semantics.c (push_deferring_access_checks): Propagate
      	dk_no_check.
      	(perform_or_defer_access_check): Make sure basetype_path is
      	a type before comparison.
      	* call.c (build_op_delete_call, build_over_call): Use
      	perform_or_defer_access_check.
      	* class.c (alter_access): Likewise.
      	* init.c (build_offset_ref): Likewise.
      	* lex.c (do_identifier): Likewise.
      	* method.c (hack_identifier): Likewise.
      	* search.c (lookup_member): Likewise.
      	* semantics.c (finish_non_static_data_member): Likewise.
      	(simplify_aggr_init_exprs_r): Use push/pop_deferring_access_checks
      	instead of flag_access_control.
      
      	* g++.dg/parse/access8.C: New test.
      	* g++.dg/parse/access9.C: New test.
      
      From-SVN: r66660
      Kriang Lerdsuwanakij committed
    • re PR c++/9554 (Out of class declaration of member class template specialisation rejected) · 8d241e0b
      	PR c++/9554
      	* parser.c (cp_parser_class_name): Remove check_access parameter.
      	All caller adjusted.  Update declaration.
      	(cp_parser_lookup_name): Likewise.
      	* semantics.c (push_deferring_access_checks): Change parameter type
      	to enum deferring_kind.  All caller adjusted.
      	(resume_deferring_access_checks): Adjust to use new enum.
      	(stop_deferring_access_checks): Likewise.
      	(perform_or_defer_access_check): Likewise.
      	* cp-tree.h (deferring_kind): New enum.
      	(deferred_access): Adjust field type.
      	(push_deferring_access_checks): Update declaration.
      
      	* g++.dg/parse/access1.C: New test.
      
      From-SVN: r66659
      Kriang Lerdsuwanakij committed
    • ButtonUI.java, [...]: New versions from classpath. · 9ca5e694
      2003-05-10  Michael Koch  <konqueror@gmx.de>
      
      	* javax/swing/plaf/ButtonUI.java,
      	javax/swing/plaf/ColorUIResource.java,
      	javax/swing/plaf/ComponentUI.java,
      	javax/swing/plaf/DimensionUIResource.java,
      	javax/swing/plaf/FontUIResource.java,
      	javax/swing/plaf/IconUIResource.java,
      	javax/swing/plaf/InsetsUIResource.java,
      	javax/swing/plaf/LabelUI.java,
      	javax/swing/plaf/ListUI.java,
      	javax/swing/plaf/OptionPaneUI.java,
      	javax/swing/plaf/PanelUI.java,
      	javax/swing/plaf/TabbedPaneUI.java,
      	javax/swing/plaf/TextUI.java,
      	javax/swing/plaf/TreeUI.java,
      	javax/swing/plaf/ViewportUI.java,
      	javax/swing/plaf/basic/BasicBorders.java,
      	javax/swing/plaf/basic/BasicButtonUI.java,
      	javax/swing/plaf/basic/BasicCheckBoxUI.java,
      	javax/swing/plaf/basic/BasicDefaults.java,
      	javax/swing/plaf/basic/BasicGraphicsUtils.java,
      	javax/swing/plaf/basic/BasicIconFactory.java,
      	javax/swing/plaf/basic/BasicLabelUI.java,
      	javax/swing/plaf/basic/BasicListUI.java,
      	javax/swing/plaf/basic/BasicOptionPaneUI.java,
      	javax/swing/plaf/basic/BasicPanelUI.java,
      	javax/swing/plaf/basic/BasicRadioButtonUI.java,
      	javax/swing/plaf/basic/BasicScrollPaneUI.java,
      	javax/swing/plaf/basic/BasicTabbedPaneUI.java,
      	javax/swing/plaf/basic/BasicTextUI.java,
      	javax/swing/plaf/basic/BasicToggleButtonUI.java,
      	javax/swing/plaf/basic/BasicTreeUI.java,
      	javax/swing/plaf/basic/BasicViewportUI.java,
      	javax/swing/plaf/metal/MetalLookAndFeel.java:
      	New versions from classpath. This adds copyrights to all files and
      	some serialVersionUIDs.
      
      From-SVN: r66658
      Michael Koch committed
    • 2003-05-10 Michael Koch <konqueror@gmx.de> · ddf87cfa
      	* java/nio/CharBuffer.java
      	(offset): Make it package-private.
      	(backing_buffer): Likewise.
      	* java/nio/DoubleBuffer.java
      	(offset): Make it package-private.
      	(backing_buffer): Likewise.
      	(put): Reformatted.
      	* java/nio/FloatBuffer.java
      	(offset): Make it package-private.
      	(backing_buffer): Likewise.
      	* java/nio/IntBuffer.java
      	(offset): Make it package-private.
      	(backing_buffer): Likewise.
      	* java/nio/LongBuffer.java
      	(offset): Make it package-private.
      	(backing_buffer): Likewise.
      	* java/nio/ShortBuffer.java
      	(offset): Make it package-private.
      	(backing_buffer): Likewise.
      
      From-SVN: r66657
      Michael Koch committed
    • 2003-05-10 Michael Koch <konqueror@gmx.de> · c363e02d
      	* java/nio/CharBuffer.java
      	(put): Fixed precondtion check.
      	(toString): Make it work without backing array.
      	(put): Skip one level of method calling.
      
      From-SVN: r66656
      Michael Koch committed
    • Identity.java, [...]: New versions from classpath. · 2d133a9f
      2003-05-10  Michael Koch  <konqueror@gmx.de>
      
      	* java/security/Identity.java,
      	java/security/IdentityScope.java,
      	java/security/Key.java,
      	java/security/KeyPair.java,
      	java/security/PrivateKey.java,
      	java/security/Provider.java,
      	java/security/PublicKey.java,
      	java/security/SecureRandom.java,
      	java/security/SecureRandomSpi.java,
      	java/security/SignedObject.java,
      	java/security/Signer.java,
      	java/security/cert/Certificate.java,
      	java/security/cert/PKIXCertPathBuilderResult.java,
      	java/security/cert/X509Certificate.java:
      	New versions from classpath.
      
      From-SVN: r66655
      Michael Koch committed
    • alpha.c (alpha_start_function): Declare frame_size as unsigned to avoid… · 3ee10665
      alpha.c (alpha_start_function): Declare frame_size as unsigned to avoid signed/unsigned comparison warnings.
      
      
      	* config/alpha/alpha.c (alpha_start_function): Declare frame_size
      	as unsigned to avoid signed/unsigned comparison warnings.
      
      From-SVN: r66654
      Roger Sayle committed
    • stdarg1.C: Make sure arg "3" is passed as a long, and not an int. · eddfe825
      * g++.dg/other/stdarg1.C: Make sure arg "3" is passed as a
      long, and not an int.
      
      From-SVN: r66653
      DJ Delorie committed
    • Daily bump. · 05c6099a
      From-SVN: r66651
      GCC Administrator committed
  2. 09 May, 2003 21 commits
    • xtensa.c (xtensa_emit_loop_end): Only use "nop.n" instruction if the Xtensa… · 0bd0703d
      xtensa.c (xtensa_emit_loop_end): Only use "nop.n" instruction if the Xtensa density option is enabled.
      
              * config/xtensa/xtensa.c (xtensa_emit_loop_end): Only use "nop.n"
              instruction if the Xtensa density option is enabled.
      
      From-SVN: r66649
      Bob Wilson committed
    • Treelang fixes including built failures on PPC and others. · 886c07bc
      From-SVN: r66647
      Tim Josling committed
    • mklibgcc.in: Remove extra quotes. · 1476c9d9
      2003-05-09  Matt Kraai <kraai@alumni.cmu.edu>
      
             * mklibgcc.in: Remove extra quotes.
      
      From-SVN: r66644
      Matt Kraai committed
    • rs6000.c (spe_init_builtins): Fix typo in creation of int_ftype_void. · 36e8d515
      	* config/rs6000/rs6000.c (spe_init_builtins): Fix typo in creation
      	of int_ftype_void.
      
      From-SVN: r66642
      Mark Mitchell committed
    • Makefile.in: Rebuilt. · 553ada10
      	* Makefile.in: Rebuilt.
      	* Makefile.am (nat_source_files): Removed old files.
      	* gnu/java/nio/natDoubleBufferImpl.cc: Removed.
      	* gnu/java/nio/natFloatBufferImpl.cc: Removed.
      	* gnu/java/nio/natIntBufferImpl.cc: Removed.
      	* gnu/java/nio/natLongBufferImpl.cc: Removed.
      	* gnu/java/nio/natShortBufferImpl.cc: Removed.
      
      From-SVN: r66640
      Tom Tromey committed
    • vxxscale.h, [...]: New files. · b3dd7e32
      	* config/arm/vxxscale.h, config/arm/vxxscale-coff.h: New files.
      	* config/arm/vxxscale-elf.h, config/arm/t-vxxscale-elf: Likewise.
      	* config.gcc (xscale-coff-vxworks, xscale-wrs-vxworks): New new cases.
      	* fixinc/fixinc.copy: New file.
      	* fixinc/mkfixinc.sh (*-vxworks*): New case, using above.
      
      From-SVN: r66639
      Olivier Hainque committed
    • reload1.c (reload_cse_move2add): Don't turn an implicit truncation into a… · f8a30250
      reload1.c (reload_cse_move2add): Don't turn an implicit truncation into a self-set in the narrow mode.
      
      * reload1.c (reload_cse_move2add): Don't turn an implicit
      truncation into a self-set in the narrow mode.
      
      From-SVN: r66638
      Alexandre Oliva committed
    • * arm.md (clzsi2): The CLZ instruction is predicable. · e912eadf
      From-SVN: r66637
      Richard Earnshaw committed
    • * config/xtensa/xtensa.c: Formatting. · 638db43e
      From-SVN: r66636
      Bob Wilson committed
    • tree-dump.c (dequeue_and_dump): Use CONSTRUCTOR_ELTS... · 5675294b
      
      	* tree-dump.c (dequeue_and_dump): Use CONSTRUCTOR_ELTS,
      	instead of TREE_OPERAND to access the operand of a
      	CONSTRUCTOR node.
      
      From-SVN: r66635
      Diego Novillo committed
    • PR c++/10555, c++/10576 · 88e98cfe
      	PR c++/10555, c++/10576
      	* pt.c (lookup_template_class): Handle class template with
      	multiple levels of parameters when one of the levels contain
      	errors.
      
      	* g++.dg/template/memclass1.C: New test.
      
      From-SVN: r66634
      Kriang Lerdsuwanakij committed
    • update_version (ADD_BRANCHES): Add, set to MAIN and tree-ssa-20020619-branch. · f4e12a7c
      	* update_version (ADD_BRANCHES): Add, set to MAIN and
      	tree-ssa-20020619-branch.
      	(BRANCHES): Always consider branches given by $ADD_BRANCHES.
      
      From-SVN: r66633
      Gerald Pfeifer committed
    • tree-dump.c (dequeue_and_dump): CONSTRUCTOR nodes contain only one operand. · ec0f4995
      
      	* tree-dump.c (dequeue_and_dump): CONSTRUCTOR nodes contain only
      	one operand.
      
      From-SVN: r66630
      Diego Novillo committed
    • toplev.h (warning_with_file_and_line): Don't declare. · 3c4b6438
      	* toplev.h (warning_with_file_and_line): Don't declare.
      	(error_with_file_and_line): Likewise.
      	* diagnostic.c (error_with_file_and_line): Remove.
      	(warning_with_file_and_line): Likewise.
      
      From-SVN: r66628
      Gabriel Dos Reis committed
    • c-parse.in (if_stmt_locus): New object. · 49468c8b
      	* c-parse.in (if_stmt_locus): New object.
      	(if_prefix rule): Use it.  Don't use warning_with_file_and_line.
      	(select_or_iter_stmt rule): Likewise.
      	(if_stmt_file): Remove.
      	(if_stmt_line): Likewise.
      	* jump.c: include "diagnostic.h"
      	(never_reached_warning): Don't use warning_with_file_and_line.
      	* Makefile.in (jump.o): Add dependce on diagnostic.h
      
      From-SVN: r66627
      Gabriel Dos Reis committed
    • 2003-05-09 Michael Koch <konqueror@gmx.de> · 2c478ce3
      	* gnu/java/nio/ByteBufferImpl.java
      	(nio_cast): Removed.
      	(ByteBufferImpl): Removed.
      	(nio_get_Byte): Removed.
      	(nio_put_Byte): Removed.
      	(asByteBuffer): Removed.
      	(asCharBuffer): Removed implementation and throw exception.
      	(asShortBuffer): Likewise.
      	(asIntBuffer): Likewise.
      	(asLongBuffer): Likewise.
      	(asFloatBuffer): Likewise.
      	(asDoubleBuffer): Likewise.
      	* gnu/java/nio/CharBufferImpl.java
      	(CharBufferImpl): Removed.
      	(nio_get_Byte): Removed.
      	(nio_put_Byte): Removed.
      	(asByteBuffer): Removed.
      	* gnu/java/nio/DoubleBufferImpl.java
      	(DoubleBufferImpl): Removed.
      	(nio_get_Byte): Removed.
      	(nio_put_Byte): Removed.
      	(asByteBuffer): Removed.
      	* gnu/java/nio/FloatBufferImpl.java
      	(FloatBufferImpl): Removed.
      	(nio_get_Byte): Removed.
      	(nio_put_Byte): Removed.
      	(asByteBuffer): Removed.
      	* gnu/java/nio/IntBufferImpl.java
      	(IntBufferImpl): Removed.
      	(nio_get_Byte): Removed.
      	(nio_put_Byte): Removed.
      	(asByteBuffer): Removed.
      	* gnu/java/nio/LongBufferImpl.java
      	(LongBufferImpl): Removed.
      	(nio_get_Byte): Removed.
      	(nio_put_Byte): Removed.
      	(asByteBuffer): Removed.
      	* gnu/java/nio/ShortBufferImpl.java
      	(ShortBufferImpl): Removed.
      	(nio_get_Byte): Removed.
      	(nio_put_Byte): Removed.
      	(asByteBuffer): Removed.
      	* gnu/java/nio/natByteBufferImpl.cc
      	(nio_cast): Removed.
      	(nio_get_Byte): Removed.
      	(nio_put_Byte): Removed.
      	* gnu/java/nio/natCharBufferImpl.cc
      	(nio_get_Byte): Removed.
      	(nio_put_Byte): Removed.
      
      From-SVN: r66626
      Michael Koch committed
    • 2003-05-09 Michael Koch <konqueror@gmx.de> · 44db872c
      	* java/net/JarURLConnection.java
      	(getJarEntry): Merged documentation from classpath.
      	(getJarFile): Likewise.
      	(getMainAttributes): Likewise.
      	(getAttributes): Likewise.
      	(getManifest): Likewise.
      	(getCertificates): Reformatted.
      	* java/net/URLConnection.java:
      	Little classpath merge.
      
      From-SVN: r66625
      Michael Koch committed
    • 2003-05-09 Michael Koch <konqueror@gmx.de> · d8048dc2
      	* java/io/DataOutputStream.java
      	(writeShort): Made it synchronized.
      	(writeChar): Likewise.
      	(writeInt): Likewise.
      	(writeLong): Liekwise.
      	(writeUTF): Made it synchronized, renamed argument to match classpath.
      	* java/io/InputStreamReader.java
      	(converter): Added documentation.
      	(read): Merged documentation from classpath.
      	* java/io/OutputStreamWriter.java
      	(OutputStreamWriter): Merged documentation from classpath.
      	(close): Reformatted.
      	(getEncoding): Likewise.
      	(flush): Likewise.
      	(write): Merged documentation from classpath, reformatted.
      
      From-SVN: r66624
      Michael Koch committed
    • expr.c (move_block_from_reg): Remove "size" parm. · c6b97fac
      	* expr.c (move_block_from_reg): Remove "size" parm.  Localize vars.
      	Move code handling pieces not larger than a word to..
      	* function.c (assign_parms): ..here, but use change_address instead
      	of adjust_address and operand_subword, and expand_binop instead of
      	expand_shift.  Adjust calls to move_block_from_reg.
      	* expr.h (move_block_from_reg): Update declaration.
      	(copy_blkmode_from_reg): Formatting.
      	* Makefile.in (function.o): Add $(OPTABS_H) to deps.
      	* config/alpha/alpha.c (alpha_setup_incoming_varargs): Adjust
      	move_block_from_reg calls.
      	* config/arc/arc.c (arc_setup_incoming_varargs): Likewise.
      	* config/i960/i960.c (i960_setup_incoming_varargs): Likewise.
      	* config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise.
      	* config/m88k/m88k.c (m88k_builtin_saveregsk): Likewise.
      	* config/mips/mips.c (mips_setup_incoming_varargs): Likewise.
      	* config/pa/pa.c (hppa_builtin_saveregs): Likewise.
      	* config/romp/romp.h (SETUP_INCOMING_VARARGS): Likewise.
      	* config/rs6000/rs6000.c (setup_incoming_varargs): Likewise.
      	* config/sh/sh.c (sh_builtin_saveregs): Likewise.
      
      From-SVN: r66623
      Alan Modra committed
    • Daily bump. · 8ac3815a
      From-SVN: r66621
      GCC Administrator committed
    • stormy16.c (xstormy16_expand_builtin_va_arg): Fix to handle arguments for which… · 06d22853
      stormy16.c (xstormy16_expand_builtin_va_arg): Fix to handle arguments for which MUST_PASS_IN_STACK is true (e.g....
      
      * config/stormy16/stormy16.c (xstormy16_expand_builtin_va_arg): Fix
      to handle arguments for which MUST_PASS_IN_STACK is true (e.g.,
      variable-sized types).
      (xstormy16_function_arg): New.  Pass them that way too.
      * config/stormy16/stormy16-protos.h (xstormy16_function_arg): New.
      * config/stormy16/stormy16.h (FUNCTION_ARG): Call it.
      
      From-SVN: r66619
      DJ Delorie committed
  3. 08 May, 2003 10 commits