1. 20 Aug, 2003 14 commits
    • gcj.texi (Extensions): Added xref. · b7d6f12a
      	* gcj.texi (Extensions): Added xref.
      	(libgcj Runtime Properties): Document
      	gnu.gcj.runtime.VMClassLoader.library_control.
      
      From-SVN: r70601
      Tom Tromey committed
    • re PR libgcj/9125 (VMClassLoader should cache the result of Runtime.(internal)loadLibrary()) · 3f1923dc
      	Fix for PR libgcj/9125:
      	* gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
      	object outside of loop.  Respect lib_control setting.
      	* gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
      	field.
      	(lib_control): New field.
      	(LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
      	(VMClassLoader): Initialize new field.
      
      From-SVN: r70600
      Tom Tromey committed
    • natReference.cc (finalize_referred_to_object): Set `list->reference' to… · 9c6f74cd
      natReference.cc (finalize_referred_to_object): Set `list->reference' to DELETED_REFERENCE when removing dead object.
      
      	* java/lang/ref/natReference.cc (finalize_referred_to_object):
      	Set `list->reference' to DELETED_REFERENCE when removing dead
      	object.
      	(find_slot): Added an assert.
      	(DELETED_REFERENCE): New define.
      	(add_to_hash): Check for DELETED_REFERENCE.
      	(remove_from_hash): Just return if found slot isn't ours.
      
      From-SVN: r70599
      Tom Tromey committed
    • prims.cc (unblock_signal): New function. · 2510de8d
      2003-08-19  Andrew Haley  <aph@redhat.com>
      
      	* prims.cc (unblock_signal): New function.
      	(SIGNAL_HANDLER): Use it.
      	(SIGNAL_HANDLER): Likewise.
      
      From-SVN: r70598
      Andrew Haley committed
    • stor-layout.c (do_type_align): Only copy DECL_USER_ALIGN from TYPE_USER_ALIGN for FIELD_DECLs. · 3acef2ae
              * stor-layout.c (do_type_align): Only copy DECL_USER_ALIGN from
              TYPE_USER_ALIGN for FIELD_DECLs.
      
              * attribs.c (decl_attributes): Rebuild the function pointer type after
              changing the target type.
              * tree.c (get_qualified_type): Also check that the attributes match.
      
      From-SVN: r70597
      Jason Merrill committed
    • Makefile.in (STAGESTUFF): Move cc1obj$(exeext) from here ... · 8f7d850c
      	* Makefile.in (STAGESTUFF): Move cc1obj$(exeext) from here ...
      	* objc/config-lang.in (stagestuff): ... to here.
      
      From-SVN: r70596
      Matt Kraai committed
    • Fix typo in ChangeLog · b2c9df93
      From-SVN: r70594
      Mark Mitchell committed
    • re PR c++/11946 (fun and merriment with enums as function arguments) · 4b0d3cbe
      	PR c++/11946
      	* convert.c (convert_to_integer): Use CONVERT_EXPR (instead of
      	NOP_EXPR) when necessary.
      	* c-common.c (c_common_signed_or_unsigned_type): Correctly handle
      	types with precisions other than those given by native machine
      	modes.
      
      	PR c++/11684
      	* cp-tree.h (grok_op_properties): Change prototype.
      	* decl.c (grok_op_properties): Add complain parameter.
      	(grokfndecl): Pass it.
      	* pt.c (tsubst_decl): Adjust accordingly.
      
      	PR c++/10926
      	* decl.c (start_method): Return immediately if push_template_decl
      	does not like the declaration.
      	* pt.c (push_template_decl_real): Disallow member template
      	destructors.
      
      	PR c++/11036.C
      	* cp-tree.h (add_binding): Add prototype.
      	* class.c (add_method): Set TYPE_HAS_DESTRUCTOR if appropriate.
      	(maybe_warn_about_overly_private_class): Use
      	CLASSTYPE_DESTRUCTORS.
      	(pushclass): Adjust call to set_identifier_type_value.
      	* decl.c (add_binding): Give it external linkage.
      	(push_local_binding): Adjust call to add_binding.
      	(push_class_binding): Likewise.
      	(set_identifier_type_value_with_scope): Change prototype.  Use
      	add_binding for global bindings.
      	(set_identifier_type_value): Adjust accordingly.
      	(pushtag): Likewise.
      	(pushdecl): Use set_identifier_type_value, not
      	set_identifier_type_value_with_scope.
      	(pushdecl_namespace_level): Adjust calls to
      	SET_IDENTIFIER_TYPE_VALUE to pass a DECL.
      	(pushdecl_class_level): Likewise.
      	(lookup_tag): Use select_decl.
      	(select_decl): Improve comment.
      	(record_builtin_type): Do not call pushdecl.
      	(cxx_init_decl_processing): Do not call xref_tag for bad_alloc.
      	(cp_finish_decl): Adjust call to set_identifier_type_value.
      	(check_elaborated_type_specifier): Improve checks for invalid uses
      	of typedefs.
      	(xref_tag): Adjust call to check_elaborated_type_specifier.
      	* decl2.c (grokclassfn): Do not set TYPE_HAS_DESTRUCTOR.
      	* name-lookup.c (set_namespace_binding): Use add_binding.
      	* parser.c (cp_parser_simple_type_specifier): Return a TYPE_DECL,
      	rather than an IDENTIFIER_NODE, to represent built-in types, if
      	requested by the caller.
      	(cp_parser_postfix_expression): Adjust call.
      	(cp_parser_type_specifier): Likewise.
      	(cp_parser_elaborated_type_specifier): Adjust call to
      	check_elaborated_type_specifier.
      	* typeck2.c (build_functional_cast): Do not perform name lookups.
      
      	PR c++/10717
      	* decl.c (expand_static_init): Remove unncessary code.
      
      	PR c++/10926
      	* g++.dg/template/dtor2.C: New test.
      
      	PR c++/11684
      	* g++.dg/template/operator1.C: New test.
      	* g++.dg/parse/operator4.C: New test.
      
      	PR c++/11946.C
      	* g++.dg/expr/enum1.C: New test.
      	* gcc.dg/c99-bool-1.c: Remove bogus warning.
      
      	PR c++/11036.C
      	* g++.dg/parse/elab2.C: New test.
      	* g++.dg/parse/typedef4.C: Change error message.
      	* g++.old-deja/g++.robertl/eb133.C: Remove bogus error markers.
      	* g++.old-deja/g++.robertl/eb133a.C: Remove bogus error markers.
      	* g++.old-deja/g++.robertl/eb133b.C: Remove bogus error markers.
      
      From-SVN: r70593
      Mark Mitchell committed
    • cpppch.c (cpp_valid_state): Re-add warning about PCH not used because some macro is defined. · ccc01444
      2003-08-19  Geoffrey Keating  <geoffk@apple.com>
      
      	* cpppch.c (cpp_valid_state): Re-add warning about PCH not used
      	because some macro is defined.
      
      Index: testsuite/ChangeLog
      2003-08-19  Geoffrey Keating  <geoffk@apple.com>
      
      	* gcc.dg/pch/warn-1.c: New.
      	* gcc.dg/pch/warn-1.hs: New.
      
      	* lib/dg-pch.exp (dg-pch): Use 'return' not 'continue' to skip
      	not-tested file.
      
      From-SVN: r70592
      Geoffrey Keating committed
    • crossconfig.m4 (*-darwin*): Add a large and boring stanza for crosses to Darwin targets. · a6f3e253
      	* crossconfig.m4 (*-darwin*): Add a large and boring stanza for
      	crosses to Darwin targets.
      	* configure: Regenerate.
      
      From-SVN: r70590
      Geoffrey Keating committed
    • darwin.h (LINK_COMMAND_SPEC): Add -arch and -arch_only options. · 3a7e8b87
      	* config/darwin.h (LINK_COMMAND_SPEC): Add -arch and -arch_only
      	options.
      	* config/i386/darwin.h (ASM_SPEC): New.
      	(SUBTARGET_EXTRA_SPECS): New.
      	* config/rs6000/darwin.h (ASM_SPEC): New.
      	(SUBTARGET_EXTRA_SPECS): New.
      	* configure.in: Don't set CROSS or SYSTEM_HEADER_DIR when building
      	a cross-compiler between two different processors on Darwin.
      	* configure: Regenerate.
      
      From-SVN: r70589
      Geoffrey Keating committed
    • * gcc.dg/uninit-E.c: Add forgotten dg-warning marker. · c0d4955f
      From-SVN: r70588
      Andrew Pinski committed
    • configure.in: Disable libgcj for darwin not on powerpc. · 940cde4d
      	* configure.in: Disable libgcj for darwin not on powerpc.
      	* configure: Rebuild.
      
      From-SVN: r70587
      Geoffrey Keating committed
    • Daily bump. · ea1ce0d1
      From-SVN: r70585
      GCC Administrator committed
  2. 19 Aug, 2003 24 commits
  3. 18 Aug, 2003 2 commits