1. 05 Dec, 2001 27 commits
  2. 04 Dec, 2001 13 commits
    • verify.cc (_Jv_BytecodeVerifier::linked_utf8): New structure. · 0c88d7f8
      	* verify.cc (_Jv_BytecodeVerifier::linked_utf8): New structure.
      	(_Jv_BytecodeVerifier::utf8_list): New field.
      	(_Jv_BytecodeVerifier::_Jv_BytecodeVerifier): Initialize it.
      	(_Jv_BytecodeVerifier::~_Jv_BytecodeVerifier): Free it.
      	(_Jv_BytecodeVerifier::make_utf8_const): New method.
      	(_Jv_BytecodeVerifier::get_one_type): Use it.
      	(_Jv_BytecodeVerifier::type::merge): When using local semantics,
      	if the destination type is already unsuitable then we didn't
      	change.
      
      From-SVN: r47634
      Tom Tromey committed
    • Makefile.in: Add INSTALL_SCRIPT using INSTALL definition. · 7c1e8336
      2001-12-04  Phil Edwards  <pme@gcc.gnu.org>
      
      	* Makefile.in:  Add INSTALL_SCRIPT using INSTALL definition.
      
      From-SVN: r47633
      Phil Edwards committed
    • re PR bootstrap/3388 (3.0 bootstrap failure, native sparc-sun-solaris2.5.1, fixinc/fixincl.c) · ffe85584
      * fixinc/fixincl.c (initialize): Avoid problemsome macro
      parameter names (PR 3388).
      
      From-SVN: r47632
      DJ Delorie committed
    • rs6000.c (rs6000_legitimize_address): Fix typo. · c3bb62b9
      	* config/rs6000/rs6000.c (rs6000_legitimize_address): Fix typo.
      	* config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Here too.
      
      From-SVN: r47631
      Alan Modra committed
    • Makefile.adalib: Clarify step 3 (use of gnat.adc) as it causes more confusion than it solves. · e59b3387
      	* Makefile.adalib: Clarify step 3 (use of gnat.adc) as it causes
      	more confusion than it solves.
      
      From-SVN: r47630
      Arnaud Charlet committed
    • re PR c/4787 (Different anonymous variables declared but only one allocated when… · db3acfa5
      re PR c/4787 (Different anonymous variables declared but only one allocated when the initialization is the same)
      
      	* c-common.def (COMPOUND_LITERAL_EXPR): New.
      	* c-common.c (c_expand_expr): Handle COMPOUND_LITERAL_EXPR.
      	(c_staticp): New function.
      	* c-common.h (COMPOUND_LITERAL_EXPR_DECL): New.
      	(c_staticp): Declare.
      	* c-typeck.c (default_function_array_conversion, build_unary_op):
      	Don't handle CONSTRUCTOR specially.
      	(lvalue_p, mark_addressable): Handle COMPOUND_LITERAL_EXPR.
      	* c-decl.c (build_compound_literal): New function.
      	* c-tree.h (build_compound_literal): Declare.
      	* c-parse.in (primary): Use build_compound_literal.
      	* c-lang.c (LANG_HOOKS_STATICP): Define.
      	* objc/objc-lang.c (LANG_HOOKS_STATICP): Likewise.
      	* doc/c-tree.texi: Document COMPOUND_LITERAL_EXPR.
      	* doc/extend.texi: Update documentation of compound literals.
      	Fixes PR c/4787.
      
      testsuite:
      	* gcc.c-torture/execute/20000722-1.x,
      	gcc.c-torture/execute/20010123-1.x: Remove.
      	* gcc.c-torture/compile/init-3.c: Don't use a compound literal.
      	* gcc.dg/c90-complit-1.c, gcc.dg/c99-complit-1.c,
      	gcc.dg/c99-complit-2.c: New tests.
      
      From-SVN: r47629
      Joseph Myers committed
    • langhooks.h (struct lang_hooks): Add staticp. · d062a680
      	* langhooks.h (struct lang_hooks): Add staticp.
      	* langhooks-def.h (lhd_staticp, LANG_HOOKS_STATICP): New.
      	(LANG_HOOKS_INITIALIZER): Add LANG_HOOKS_STATICP.
      	* langhooks.c (lhd_staticp): New function.
      	* tree.c (staticp): Call lang_hooks.staticp for language-specific
      	tree codes.
      
      From-SVN: r47628
      Joseph Myers committed
    • cppspec.c (lang_specific_driver): Set is_cpp_driver. · 69927b59
      	* cppspec.c (lang_specific_driver): Set is_cpp_driver.
      	* gcc.c (process_command): Ensure the cpp driver sees
      	--help and --target-help, and that the help is printed
      	exactly once.
      
      From-SVN: r47627
      Neil Booth committed
    • Makefile.in (update-sources): New target. · 5ac21013
      	* Makefile.in (update-sources): New target.
      	For use by gcc_release script.
      
      From-SVN: r47625
      Geert Bosch committed
    • sem_prag.adb (Analyze_Pragma, [...]): do not treat as a configuration pragma... · 7dd5bd5e
      	* sem_prag.adb (Analyze_Pragma, case Validity_Checks): do not treat as
      	a configuration pragma, it is now legal wherever a pragma can appear.
      
      From-SVN: r47624
      Ed Schonberg committed
    • defineclass.cc (read_one_method_attribute): `end_pc' for an exception can be equal to code length. · ef9f3bc4
      	* defineclass.cc (read_one_method_attribute): `end_pc' for an
      	exception can be equal to code length.
      	* verify.cc (_Jv_BytecodeVerifier::verify_instructions_0): Removed
      	`start_PC' from error invocation where it didn't make sense, and
      	updated error message.  Use `copy' to copy a state.  Only try to
      	merge current state with saved state when we've fallen through
      	from the previous instruction.
      	(_Jv_BytecodeVerifier::pop_ref_or_return): New method.
      	(_Jv_BytecodeVerifier::verify_instructions_0) [op_astore_0]: Use
      	pop_ref_or_return.
      	(_Jv_BytecodeVerifier::verify_instructions_0) [op_astore]:
      	Likewise.
      	(_Jv_BytecodeVerifier::push_jump_merge): Pass max_locals, not
      	max_stack, to merge.
      	(_Jv_BytecodeVerifier::verify_instructions_0): Likewise.
      	(_Jv_BytecodeVerifier::push_jump_merge): Merge from new state into
      	state at branch target, not vice versa.
      	(_Jv_BytecodeVerifier::branch_prepass): Allow end of exception to
      	be equal to code length.  Removed redundant test to see if
      	exception start is after exception end.
      	(_Jv_BytecodeVerifier::verify_instructions_0): Type of argument to
      	`finally' is Throwable.
      
      From-SVN: r47623
      Tom Tromey committed
    • [multiple changes] · 5b5e609d
      
      2001-12-04  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* src/Makefile.am (sources): Add ext-inst.cc.
      	* src/Makefile.in: Regenerate.
      	* src/ext-inst.cc: New file.
      	* include/bits/stl_threads.h: Format.
      	* src/globals.cc: Add instantiation for _S_swap_lock.
      
      	* testsuite/18_support/numeric_limits.cc: Add numeric_limits<B>
      	instantiation.
      
      2001-12-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
      
      	* testsuite/22_locale/numpunct_members_wchar_t.cc: Only compile
      	and execute test01 if _GLIBCPP_USE_WCHAR_T is defined.
      	* testsuite/26_numerics/complex_inserters_extractors.cc: Provide
      	for explicit instantiation of class std::basic_string<char,
      	gnu_char_traits, std::allocator<char> >.
      
      From-SVN: r47622
      Benjamin Kosnik committed