- 10 May, 2003 9 commits
-
-
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 -
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 -
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 -
* 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 -
* 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 -
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 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 -
* g++.dg/other/stdarg1.C: Make sure arg "3" is passed as a long, and not an int. From-SVN: r66653
DJ Delorie committed -
From-SVN: r66651
GCC Administrator committed
-
- 09 May, 2003 21 commits
-
-
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 -
From-SVN: r66647
Tim Josling committed -
2003-05-09 Matt Kraai <kraai@alumni.cmu.edu> * mklibgcc.in: Remove extra quotes. From-SVN: r66644
Matt Kraai committed -
* config/rs6000/rs6000.c (spe_init_builtins): Fix typo in creation of int_ftype_void. From-SVN: r66642
Mark Mitchell committed -
* 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 -
* 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 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 -
From-SVN: r66637
Richard Earnshaw committed -
From-SVN: r66636
Bob Wilson committed -
* 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 * 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. (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. From-SVN: r66630
Diego Novillo committed -
* 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. (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 -
* 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 -
* 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 -
* 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. 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 -
From-SVN: r66621
GCC Administrator committed -
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
-
- 08 May, 2003 10 commits
-
-
* gcc.c-torture/execute/20020404-1.x: New, skip for 16-bit targets. * gcc.c-torture/execute/20021024-1.x: Likewise. * gcc.c-torture/execute/shiftdi.x: Likewise. * g++.old-deja/g++.mike/p700.C: Handle 16-bit targets. * g++.old-deja/g++.other/exprstmt1.C: Likewise. * gcc.dg/20021018-1.c: Likewise. From-SVN: r66618
DJ Delorie committed -
From-SVN: r66617
Jeff Sturm committed -
2003-05-07 Aldy Hernandez <aldyh@redhat.com> * mklibgcc.in: Use mkinstalldirs when installing multilib directories. From-SVN: r66613
Aldy Hernandez committed -
* sh.c (gen_block_redirect, split_branches): Use CODE_FOR_jump_compact instead of CODE_FOR_jump From-SVN: r66611
J"orn Rennecke committed -
* configure.host <powerpc64*-*>: Set with_libffi_default and libgcj_interpreter to "yes". From-SVN: r66609
Tom Tromey committed -
2003-05-08 Scott Gilbertson <scottg@mantatest.com> * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code. From-SVN: r66608
Scott Gilbertson committed -
* objc/objc-act.c (error_with_ivar): Don't use error_with_file_and_line. (warn_with_method): Don't use warning_with_file_and_line. From-SVN: r66607
Gabriel Dos Reis committed -
* stmt.c (emit_locus): New macro. (emit_filename): Remove. (emit_lineno): Likewise. (struct stmt_status): Replace members x_emit_filename and x_emit_lineno with x_emit_locus. (set_file_and_line_for_stmt): Adjust. (expand_expr_stmt_value): Don't use warning_with_file_and_file. (warn_if_unused_value): Likewise. (check_seenlabel): Likewise. From-SVN: r66603
Gabriel Dos Reis committed -
From-SVN: r66602
David O'Brien committed -
From-SVN: r66601
Kaveh R. Ghazi committed
-