1. 23 Jan, 2003 22 commits
  2. 22 Jan, 2003 18 commits
    • re PR c++/2738 (ICE on return type specification of a destructor) · 68aab9ee
      	PR c++/2738
      	* g++.dg/parse/ret-type1.C: New test.
      
      	PR c++/3792
      	* g++.dg/parse/tmpl-outside1.C: New test.
      
      	PR c++/4207
      	* g++.dg/parse/int-as-enum1.C: New test.
      
      	PR c++/4903
      	* g++.dg/parse/no-typename1.C: New test.
      
      	PR c++/5533
      	* g++.dg/parse/no-value1.C: New test.
      
      	PR c++/5921
      	* g++.dg/parse/wrong-inline1.C: New test.
      
      	PR c++/6402
      	* g++.dg/parse/ref1.C: New test.
      
      	PR c++/6992
      	* g++.dg/parse/attr-ctor1.C: New test.
      
      	PR c++/7229
      	* g++.dg/parse/namespace5.C: New test.
      
      	PR c++/7917
      	* g++.dg/parse/func-def1.C: New test.
      
      	PR c++/8143
      	* g++.dg/parse/undefined1.C: New test.
      
      	PR c++/5723, PR c++/8522
      	* g++.dg/parse/specialization1.C: New test.
      
      	PR c++/163, PR c++/8595
      	* g++.dg/parse/struct-as-enum1.C: New test.
      
      	PR c++/9173
      	* g++.dg/parse/undefined2.C: New test.
      
      From-SVN: r61624
      Volker Reichelt committed
    • MAINTAINERS: Move myself from GNATS-only-accounts to write-after-approval. · 02ba6302
      
      	* MAINTAINERS: Move myself from GNATS-only-accounts to
      	write-after-approval.
      
      From-SVN: r61620
      Volker Reichelt committed
    • re PR c++/9298 ([new parser] ICE with function-pointer-type template args) · e0860732
      	PR c++/9298
      	* parser.c (cp_parser_consume_semicolon_at_end_of_statement): New
      	function.
      	(cp_parser_expression_statement): Use it.
      	(cp_parser_explicit_instantiation): Likewise.
      	* pt.c (do_decl_instantiation): Improve error handling logic.
      
      	PR c++/9298
      	* g++.dg/parse/template1.C: New test.
      
      From-SVN: r61618
      Mark Mitchell committed
    • re PR libstdc++/9269 (libstdc++ headers: explicit specialization of function… · b4ec7fc7
      re PR libstdc++/9269 (libstdc++ headers: explicit specialization of function must precede its first use)
      
      
      2003-01-22  Benjamin Kosnik  <bkoz@redhat.com>
      	    Sysoltsev Slawa  <Vyatcheslav.Sysoltsev@intel.com>
      	    Mark Mitchell  <mark@codesourcery.com>
      
      	PR libstdc++/9269
      	* include/std/std_fstream.h (basic_filebuf::uflow): Declare.
      	(basic_filebuf::underflow): Declare.
      	Move definitions.
      
      Co-Authored-By: Mark Mitchell <mark@codesourcery.com>
      Co-Authored-By: Sysoltsev Slawa <Vyatcheslav.Sysoltsev@intel.com>
      
      From-SVN: r61616
      Benjamin Kosnik committed
    • expr.c (build_invokeinterface): Abort if method's context is not an interface. · 906c7c32
      	* expr.c (build_invokeinterface): Abort if method's context is not
      	an interface.
      
      From-SVN: r61615
      Tom Tromey committed
    • gcj.texi (Input and output files): Mention non-class entries. · 3e895978
      	* gcj.texi (Input and output files): Mention non-class entries.
      	* decl.c (java_init_decl_processing): Call
      	init_resource_processing.
      	* java-tree.h (compile_resource_data, write_resource_constructor,
      	compile_resource_file, init_resource_processing): Declare.
      	* config-lang.in (gtfiles): Added resource.c.
      	* Make-lang.in (gt-java-resource.h): New target.
      	(JAVA_OBJS): Added resource.o.
      	(java/resource.o): New target.
      	* resource.c: New file.
      	* class.c (compile_resource_file): Moved to resource.c.
      	(registerResource_libfunc): Likewise.
      	(utf8_decl_list): Mark with GTY; now static.
      	* jcf-parse.c (classify_zip_file): New function.
      	(parse_zip_file_entries): Use it; compile .properties files.
      	(process_zip_dir): Use classify_zip_file and compute_class_name.
      	Don't write class name into zip directory.
      	(java_parse_file): Call write_resource_constructor.
      	(compute_class_name): New function.
      	* jcf-io.c (read_zip_member): Reindented.
      
      From-SVN: r61614
      Tom Tromey committed
    • re PR c++/9384 (ICE in validate_nonmember_using_decl, at cp/decl2.c:4152) · 4eb6d609
      	PR c++/9384
      	* parser.c (cp_parser_using_declaration): Issue error messages
      	about name resolution failures here.
      
      	PR c++/9384
      	* g++.dg/parse/using1.C: New test.
      
      From-SVN: r61611
      Mark Mitchell committed
    • darwin.S (_ffi_call_AIX): Add Augmentation size to unwind info. · be0acd42
      2003-01-22  Andrew Haley  <aph@redhat.com>
      
              * src/powerpc/darwin.S (_ffi_call_AIX): Add Augmentation size to
              unwind info.
      
      From-SVN: r61608
      Andrew Haley committed
    • h8300.c (h8300_shift_needs_scratch_p): Don't request a scratch reg on H8S when… · 75a3503b
      h8300.c (h8300_shift_needs_scratch_p): Don't request a scratch reg on H8S when the shift count is 8.
      
      	* config/h8300/h8300.c (h8300_shift_needs_scratch_p): Don't
      	request a scratch reg on H8S when the shift count is 8.
      
      From-SVN: r61602
      Kazu Hirata committed
    • Fix misapplied patch. · fb13499f
      From-SVN: r61601
      Andrew Haley committed
    • x86_64-signal.h: Add simple handler for x86_64 32-bit mode. · f8061f6a
      2003-01-22  Andrew Haley  <aph@redhat.com>
      
              * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
              * configure.host (CHECKREFSPEC): Define for x86_64.
      
      From-SVN: r61600
      Andrew Haley committed
    • parser.c (cp_parser_simple_declaration): Return quickly when encountering errors. · 00b51d29
      	* parser.c (cp_parser_simple_declaration): Return quickly when
              encountering errors.
      
      From-SVN: r61599
      Mark Mitchell committed
    • re PR c++/9388 ([new parser] ICE in cxx_incomplete_type_diagnostic, at cp/typeck2.c:278) · 1fb3244a
      	PR c++/9388
      	* class.c (currently_open_derived_class): Use dependent_type_p.
      	* cp-tree.h (dependent_type_p): New function.
      	(dependent_template_arg_p): Likewise.
      	(dependent_template_p): Likewise.
      	(type_dependent_expression_p): Likewise.
      	* parser.c (cp_parser_dependent_type_p): Remove.
      	(cp_parser_value_dependent_type_p): Likewise.
      	(cp_parser_type_dependent_expression_p): Likewise.
      	(cp_parser_dependent_template_arg_p): Likewise.
      	(cp_parser_dependent_template_id_p): Likewise.
      	(cp_parser_dependent_template_p): Likewise.
      	(cp_parser_diagnose_invalid_type_name): Replace
      	cp_parser_dependent_type_p with dependent_type_p, etc.
      	(cp_parser_primary_expresion): Likewise.
      	(cp_parser_nested_name_specifier_opt): Likewise.
      	(cp_parser_postfix_expression): Likewise.
      	(cp_parser_unary_expression): Likewise.
      	(cp_parser_template_name): Likewise.
      	(cp_parser_class_name): Likewise.
      	(cp_parser_lookup_name): Likewise.
      	* pt.c (dependent_type_p): New function.
      	(value_dependent_expression_p): Likewise.
      	(type_dependent_expression_p): Likewise.
      	(dependent_template_arg_p): Likewise.
      	(dependent_template_id_p): Likewise.
      	(dependent_template_p): Likewise.
      
      	PR c++/9285
      	PR c++/9294
      	* parser.c (cp_parser_simple_declaration):
      
      	PR c++/9285
      	PR c++/9294
      	* g++.dg/parse/expr2.C: New test.
      
      	PR c++/9388
      	* g++.dg/parse/lookup2.C: Likewise.
      
      From-SVN: r61596
      Mark Mitchell committed
    • s390-protos.h (preferred_la_operand_p): Remove second parameter. · 4888ec5d
      	* config/s390/s390-protos.h (preferred_la_operand_p):
      	Remove second parameter.
      	* config/s390/s390.c (preferred_la_operand_p): Likewise.
      	* config/s390/s390.h (FRAME_REGNO_P, FRAME_REG_P): New macros.
      	(HARD_REGNO_MODE_OK): Use FRAME_REGNO_P.
      	* config/s390/s390.md ("*la_cc_64", "*la_cc_31", splitters): Remove.
      	Add peepholes to transform ADD to LOAD ADDRESS.
      
      From-SVN: r61594
      Ulrich Weigand committed
    • locale_facets.h: Move non-facet classes requiring <string> to... · e6686813
      
      2003-01-22  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/bits/locale_facets.h: Move non-facet classes requiring
      	<string> to...
      	* include/bits/locale_classes.h: New.
      	* include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
      	* include/bits/Makefile.in: Regenerate.
      
      	* include/bits/locale_facets.tcc (__convert_from_v): Move to...
      	* config/locale/gnu/c_locale.h: ...here.
      	* config/locale/generic/c_locale.h: Same.
      
      	* include/bits/locale_facets.tcc: Move declarations to...
      	* include/bits/locale_facets.h: ...here.
      	* include/bits/basic_ios.h: Tweak includes accordingly.
      	* include/std/std_sstream.h: Add streambuf include.
      	* include/std/std_fstream.h: Ditto.
      	* include/std/std_locale.h: Add locale_classes.h include.
      	* include/std/std_iosfwd.h: Tweak.
      	* src/concept-inst.cc: Add iterator include.
      
      	* config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
      	bits as unexported in the future.
      
      From-SVN: r61593
      Benjamin Kosnik committed
    • arm.c (arm_address_register_rtx_p): New function. · 6b990f6b
      * arm.c (arm_address_register_rtx_p): New function.
      (arm_legitimate_address_p): New function.
      (arm_legitimate_index_p): New function.
      (legitimize_pic_address): Use arm_legitimate_index_p.
      * arm-protos.h (arm_legtimate_address_p): Add prototype.
      * arm.h (ARM_GO_IF_LEGITIMATE_INDEX): Delete.
      (ARM_GO_IF_LEGITIMATE_ADDRESS): Call arm_legitimate_address_p.
      
      From-SVN: r61592
      Richard Earnshaw committed
    • s390.md (floatdfdi2): Insn has type 'itof'. · f0bf1270
              * config/s390/s390.md (floatdfdi2): Insn has type 'itof'.
              * config/s390/2064.md (define_bypass): Correct 'Load' and
              'Load-address' bypass values.
      
      From-SVN: r61591
      Hartmut Penner committed