Benjamin Kosnik
40e5b28399
ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
...
2002-04-02 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/5268
* src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
* testsuite/27_io/ios_init.cc (tests04): Add test.
libstdc++/3983
* include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
(basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
* include/bits/basic_ios.tcc: Same. Remove outdated comments.
* include/bits/istream.tcc: Use _M_fctype, make consistent with
ostream.
* testsuite/27_io/ios_init.cc (tests03): Add test.
From-SVN: r51777
2002-04-03 02:32:52 +00:00
Richard Henderson
7a145e929d
local-alloc.c (contains_replace_regs): LO_SUM may contain replace regs.
...
* local-alloc.c (contains_replace_regs): LO_SUM may contain
replace regs.
* gcc.c-torture/execute/20020402-2.c: New.
From-SVN: r51773
2002-04-02 18:06:26 -08:00
Hans-Peter Nilsson
d32c91705d
bprob.exp: Skip for mmix-*-* and cris-*-*.
...
* g77.dg/bprob/bprob.exp: Skip for mmix-*-* and cris-*-*.
* g++.dg/bprob/bprob.exp, gcc.misc-tests/bprob.exp: Ditto.
From-SVN: r51772
2002-04-03 02:01:31 +00:00
Hans-Peter Nilsson
e78c4529cb
f77-edit-i-in.f: xfail for mmix-knuth-mmixware.
...
* g77.dg/f77-edit-i-in.f: xfail for mmix-knuth-mmixware.
* g77.f-torture/execute/io0.x, g77.f-torture/execute/io1.x,
g77.f-torture/execute/20001201.x,
g77.f-torture/execute/u77-test.x: New files.
From-SVN: r51771
2002-04-03 01:45:43 +00:00
Hans-Peter Nilsson
a06c96f411
wint_t-1.c: Mark excess errors for mmix-knuth-mmixware.
...
* gcc.dg/wint_t-1.c: Mark excess errors for mmix-knuth-mmixware.
* gcc.dg/wchar_t-1.c: Ditto.
From-SVN: r51770
2002-04-03 01:22:14 +00:00
Richard Henderson
3a07982299
* doc/standards.texi: Document required freestanding libc entry points.
...
From-SVN: r51768
2002-04-02 16:12:59 -08:00
Alan Modra
c94ccb87d7
rs6000.md (ctrdi*): Add FPR constraint and associated splitter.
...
2002-04-02 Alan Modra <amodra@bigpond.net.au>
* config/rs6000/rs6000.md (ctrdi*): Add FPR constraint and
associated splitter. Remove MQ constraint.
(ctrdi_internal4): Correct CCmode clobber.
From-SVN: r51767
2002-04-02 17:49:44 -05:00
Tom Tromey
c544921cc0
natClassLoader.cc (findClass): Compare against `3', not `0'.
...
* java/lang/natClassLoader.cc (findClass): Compare against `3',
not `0'.
From-SVN: r51764
2002-04-02 22:20:30 +00:00
Franz Sirl
cfe834f307
20020402-1.c: New test.
...
2002-04-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.c-torture/execute/20020402-1.c: New test.
From-SVN: r51762
2002-04-02 22:01:54 +00:00
John David Anglin
fe660a1a19
milli64.S ($$dyncall): New function.
...
* milli64.S ($$dyncall): New function.
* t-linux (LIB1ASMFUNCS): Revise module list.
(LIB1ASMSRC): Use pa/milli64.S.
From-SVN: r51760
2002-04-02 19:44:45 +00:00
Richard Henderson
eadc0202ff
inclhack.def (AAB_solaris_sys_varargs_h): Move and rename solaris_sys_varargs_h.
...
* fixinc/inclhack.def (AAB_solaris_sys_varargs_h): Move and
rename solaris_sys_varargs_h.
From-SVN: r51759
2002-04-02 10:32:10 -08:00
Nick Clifton
c414f8a95d
Remove previous delta
...
From-SVN: r51757
2002-04-02 16:44:39 +00:00
Mark Wielaard
36aadc29f3
mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to list of testsuite crashers.
...
* mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
list of testsuite crashers.
From-SVN: r51753
2002-04-02 14:20:44 +00:00
Bryce McKinlay
df88ca6f49
IdentityHashMap.java (put): Set new threshold correctly when resizing table.
...
* java/util/IdentityHashMap.java (put): Set new threshold correctly
when resizing table.
From-SVN: r51751
2002-04-02 14:55:14 +01:00
Nick Clifton
36f09faa05
(output_return_instruction): Do not create the conditional part of the return instruction...
...
(output_return_instruction): Do not create the conditional part of the return
instruction, if there is no condition to be used.
From-SVN: r51750
2002-04-02 13:51:01 +00:00
Phil Edwards
3741b1abe0
Makefile.am (install-data-local): Use mkinstalldirs.
...
2002-04-02 Phil Edwards <pme@gcc.gnu.org>
* include/Makefile.am (install-data-local): Use mkinstalldirs.
* include/Makefile.in: Regenerate.
From-SVN: r51747
2002-04-02 12:57:23 +00:00
Paolo Carlini
418bb88063
basic_string.h (replace(i1, i2, _CharT* k1, _CharT* k2), [...]): New specializations to optimize for the common cases of pointers and iterators.
...
2002-04-02 Paolo Carlini <pcarlini@unitus.it>
Nathan Myers <ncm@cantrip.org>
Philip Martin <philip@codematters.co.uk>
* include/bits/basic_string.h
(replace(i1, i2, _CharT* k1, _CharT* k2),
replace(i2, i2, const _CharT* k1, const _CharT* k2),
replace(i1, i2, iterator k1, iterator k2,
replace(i1, i2, const_iterator k1, const_iterator k2):
New specializations to optimize for the common cases of
pointers and iterators.
(replace(pos, n1, s, n2)): Tweak.
* include/bits/basic_string.tcc: Tweak comments.
* testsuite/21_strings/replace.cc (test04): New tests.
Co-Authored-By: Nathan Myers <ncm@cantrip.org>
Co-Authored-By: Philip Martin <philip@codematters.co.uk>
From-SVN: r51746
2002-04-02 12:07:07 +00:00
Richard Kenner
a14713223f
stor-layout.c (layout_type, [...]): Give one-element array the same mode as its component.
...
* stor-layout.c (layout_type, case ARRAY_TYPE): Give one-element array
the same mode as its component.
From-SVN: r51745
2002-04-02 07:00:30 -05:00
Richard Henderson
c8b947688f
re PR rtl-optimization/190 (Optimization bug for x86 target)
...
PR opt/190
* final.c (this_is_asm_operands): Export.
* output.h (this_is_asm_operands): Declare.
* config/i386/i386.c (print_operand): Error odd asm operands.
From-SVN: r51741
2002-04-02 00:35:51 -08:00
GCC Administrator
9cb88bc20c
Daily bump.
...
From-SVN: r51740
2002-04-02 08:18:58 +00:00
Richard Henderson
161eb4fc98
* config/m68k/m68k.md (dbcc peepholes): Match four forms of dbra.
...
From-SVN: r51736
2002-04-02 00:14:57 -08:00
Benjamin Kosnik
501e321e0d
acinclude: More extensive checks for msgfmt, --enable-nls.
...
2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/5542
* acinclude: More extensive checks for msgfmt, --enable-nls.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r51732
2002-04-02 02:41:50 +00:00
Phil Edwards
efe44c60eb
exception (__verbose_terminate_handler): Point to docs.
...
2002-04-01 Phil Edwards <pme@gcc.gnu.org>
* libsupc++/exception (__verbose_terminate_handler): Point to docs.
* docs/doxygen/doxygroups.cc: Doxygen hooks for abi::__cxa_demangle.
* docs/html/18_support/howto.html: Document the demangler.
* docs/html/17_intro/howto.html: And link to it.
* docs/doxygen/mainpage.html: Describe user-vs-maintainer docs.
* docs/doxygen/run_doxygen: Print user-vs-maintainer.
From-SVN: r51730
2002-04-02 02:07:22 +00:00
Richard Henderson
b88a94c603
inclhack.def (solaris_sys_varargs_h): New.
...
* fixinc/inclhack.def (solaris_sys_varargs_h): New.
* fixinc/fixincl.x: Rebuild.
From-SVN: r51729
2002-04-01 17:44:51 -08:00
Richard Henderson
9b14a23707
* gcc.c-torture/compile/920625-1.x: XFAIL -O1.
...
From-SVN: r51726
2002-04-01 16:05:39 -08:00
Richard Henderson
72e3287637
unwind-ia64.c: Include ia64intrin.h.
...
* config/ia64/unwind-ia64.c: Include ia64intrin.h.
(atomic_alloc, atomic_free): New.
(SIZE, MASK_FOR, PTR_IN): New.
(emergency_reg_state, emergency_reg_state_free): New.
(emergency_labeled_state, emergency_labeled_state_free): New.
(reg_state_alloced, labeled_state_alloced): New.
(alloc_reg_state, free_reg_state): New.
(alloc_label_state, free_label_state, free_label_states): New.
(push, pop, dup_state_stack, free_state_stack): Use them.
(desc_label_state): Likewise.
(uw_frame_state_for): Free label states and state stack.
(uw_update_reg_address): Eliminate warnings.
From-SVN: r51722
2002-04-01 15:28:46 -08:00
Vladimir Makarov
84d760747e
pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON, [...]): Redefine them.
...
2002-04-01 Vladimir Makarov <vmakarov@redhat.com>
* config/pa/pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON,
ASM_OUTPUT_ALIGNED_LOCAL): Redefine them.
From-SVN: r51713
2002-04-01 22:44:29 +00:00
Phil Edwards
76f6aa8b6c
linker-map.gnu: Export __verbose_terminate_handler.
...
2002-04-01 Phil Edwards <pme@gcc.gnu.org>
* config/linker-map.gnu: Export __verbose_terminate_handler.
* libsupc++/Makefile.am (sources): Add cxa_demangle.c, dyn-string.c.
Make new LTCOMPILE variable, use it in new special build rules.
* libsupc++/Makefile.in: Rebuild.
* src/vterminate.cc (__verbose_terminate_handler): Enable use of
runtime __cxa_demangle.
* docs/html/install.html: Update prereqs and instructions.
* docs/html/19_diagnostics/howto.html: Bring naming for
verbose_terminate_handler into line with reality.
From-SVN: r51709
2002-04-01 21:56:42 +00:00
Phil Edwards
bd7e6f2d20
cp-demangle.c (__cxa_demangle): Also protect with IN_GLIBCPP_V3.
...
2002-04-01 Phil Edwards <pme@gcc.gnu.org>
* cp-demangle.c (__cxa_demangle): Also protect with IN_GLIBCPP_V3.
(is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor): Conditionally
not compile if IN_GLIBCPP_V3 defined.
* dyn-string.c: Also allow IN_GLIBCPP_V3 to change allocation scheme.
From-SVN: r51708
2002-04-01 21:55:12 +00:00
Phil Edwards
7bf421c163
dyn-string.h: Also allow IN_GLIBCPP_V3 to redefine names.
...
2002-04-01 Phil Edwards <pme@gcc.gnu.org>
* dyn-string.h: Also allow IN_GLIBCPP_V3 to redefine names.
From-SVN: r51707
2002-04-01 21:54:28 +00:00
Neil Booth
dffd7eb68a
c-decl.c (grokdeclarator): Update.
...
* c-decl.c (grokdeclarator): Update.
* c-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
* c-tree.h (c_mark_addressable): New.
* c-typeck.c (default_function_array_conversion, build_unary_op,
build_array_ref, convert_for_assignment): Update.
(mark_addressable): Rename.
* calls.c (try_to_integrate, expand_call): Use langhook.
* expr.c (expand_expr): Use langhook.
* langhooks-def.h (LANG_HOOKS_INITIALIZER): Update.
* langhooks.h (struct lang_hooks): New hook.
* stmt.c (expand_asm_operands): Use langhook.
* tree.h (mark_addressable): Remove.
ada:
* decl.c (gnat_to_gnu_entity): Update.
* gigi.h (mark_addressable): Rename.
* misc.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
* trans.c (tree_transform): Update.
* utils.c (create_var_decl): Update.
* util2.c (build_binary_op, build_unary_op,
fill_vms_descriptor): Update.
(mark_addressable): Rename, update.
cp:
* call.c (build_addr_func): Update.
* class.c (resolve_address_of_overloaded_function): Update.
* cp-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
* cp-tree.h (cxx_mark_addressable): New.
* decl.c (register_dtor_fn, cxx_maybe_build_cleanup): Update.
* decl2.c (build_cleanup): Update.
* except.c (build_throw): Update.
* init.c (resolve_offset_ref): Update.
* pt.c (convert_nontype_argument): Update.
* semantics.c (finish_asm_stmt, simplify_affr_init_exprs_r): Update.
* typeck.c (decay_conversion, build_array_ref, build_unary_op,
unary_complex_lvalue): Update.
(mark_addressable): Rename.
f:
* com.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
(mark_addressable): Rename.
(ffecom_arrayref_, ffecom_1): Update.
java:
* java-tree.h (java_mark_addressable): New.
* lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
* typeck.c (mark_addressable): Rename, update.
objc:
* objc-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
From-SVN: r51705
2002-04-01 20:26:18 +00:00
Bob Wilson
544ef5b5df
xtensa.c (xtensa_va_arg): Fix compiler warning in previous change.
...
* config/xtensa/xtensa.c (xtensa_va_arg): Fix compiler warning
in previous change.
From-SVN: r51704
2002-04-01 20:07:21 +00:00
Mark Wielaard
29123a37f0
BitSet.java (BitSet(int)): if nbits < 0 throw NegativeArraySizeException
...
* java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
NegativeArraySizeException
(clear(int)): Use sign extended shift.
(flip(int)): Likewise.
(get(int)): Likewise.
(nextClearBit(int)): Likewise.
(nextSetBit(int)): Likewise.
(set(int)): Likewise.
From-SVN: r51701
2002-04-01 19:59:12 +00:00
Bob Wilson
bcf88f9b91
xtensa.c (xtensa_va_arg): Fix to handle arguments for which MUST_PASS_IN_STACK is true (e.g....
...
* config/xtensa/xtensa.c (xtensa_va_arg): Fix to handle arguments
for which MUST_PASS_IN_STACK is true (e.g., variable-sized types).
From-SVN: r51700
2002-04-01 19:52:18 +00:00
Richard Henderson
ed4168d56f
* g++.dg/other/new1.C: Use __SIZE_TYPE__.
...
From-SVN: r51698
2002-04-01 11:28:39 -08:00
Benjamin Kosnik
663653eb3a
basic_ios.h (basic_ios::_M_exception): Move.
...
2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/3129
* include/bits/basic_ios.h (basic_ios::_M_exception): Move.
(basic_ios::_M_streambuf_state): Move.
* include/bits/ios_base (ios_base): To here.
* include/bits/ios_base.h (ios_base::_S_local_words): To
_S_local_word_size.
(ios_base::_M_word_array): To _M_local_word.
(ios_base::_M_words_limit): To _M_word_size.
(ios_base::_M_words): To _M_word.
Comment.
* include/bits/basic_ios.tcc: Adjust.
* src/ios.cc (ios_base::_M_grow_words): Tweak.
* testsuite/27_io/ios_base_storage.cc: Add tests.
libstdc++/5207
Kenny Simpson <theonetruekenny@yahoo.com>
* include/bits/ios_base.h: Fix.
Richard Henderson <rth@redhat.com>
* include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
last change.
* include/bits/basic_string.h: Tweak formatting.
From-SVN: r51695
2002-04-01 18:39:37 +00:00
Mark Wielaard
5517383604
mauve-libgcj: Add JDK1.3...
...
* mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
that can be compiled now and add testsuite crashers to ignore list.
From-SVN: r51693
2002-04-01 18:09:25 +00:00
Kaveh R. Ghazi
ee3c063932
* gcc.misc-tests/linkage.exp: Special case 64-bit solaris2.
...
From-SVN: r51691
2002-04-01 16:33:55 +00:00
Roger Sayle
04a9d0805e
re PR c++/5998 (regression, all builtins disabled)
...
PR c++/5998:
* decl.c (duplicate_decls): Overwrite the RTL when (and only
when) overwriting a built-in function. Don't use COPY_DECL_RTL,
but follow the SET_DECL_RTL idiom used elsewhere in the function.
From-SVN: r51690
2002-04-01 16:32:59 +00:00
Gabriel Dos Reis
d5ecb9cb6c
template-as-base.C: Expect error.
...
* g++.dg/inherit/template-as-base.C: Expect error.
* g++.dg/inherit/namespace-as-base.C: Likewise.
From-SVN: r51687
2002-04-01 14:01:24 +00:00
Paolo Carlini
99b629fa30
2002-04-01 Paolo Carlini <pcarlini@unitus.it>
...
* config/locale/ieee_1003.1-2001/codecvt_specializations.h
(codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
By definition, sizeof(char) == 1.
* include/bits/locale_facets.tcc (money_get::do_get,
money_put::do_put): Ditto.
* testsuite/21_strings/inserters_extractors.cc
(test04): Ditto.
From-SVN: r51685
2002-04-01 08:55:05 +00:00
Neil Booth
ceef8ce4b4
c-common.c (unsigned_conversion_warning, [...]): Use new hooks.
...
* c-common.c (unsigned_conversion_warning, convert_and_check,
unsigned_type, signed_type, shorten_compare,
c_common_get_alias_set, c_common_nodes_and_builtins): Use new hooks.
(unsigned_type, signed_type, signed_or_unsigned_type): Rename.
* c-common.h (unsigned_type, signed_type, signed_or_unsigned_type):
New.
* c-decl.c (grokdeclarator): Update.
* c-format.c (check_format_types): Update.
* c-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
* c-typeck.c (build_binary_op, convert_for_assignment): Update.
* convert.c (convert_to_integer): Use new hooks.
* expmed.c (make_tree): Use new hooks.
* expr.c (store_expr): Use new hooks.
* fold-const.c (operand_equal_for_comparison_p, build_range_check,
all_ones_mask_p, unextend, fold): Use new hooks.
* langhooks.h (struct lang_hooks_for_types): New hooks.
* tree.h (signed_or_unsigned_type, signed_type,
unsigned_type): Remove.
ada:
* gigi.h (unsigned_type, signed_type, signed_or_unsigned_type):
Rename.
* misc.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
* trans.c (tree_transform, convert_with_check): Update.
* utils.c (unsigned_type, signed_type, signed_or_unsigned_type):
Rename.
cp:
* cp-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
* decl.c (grokdeclarator): Update.
* mangle.c (write_integer_cst): Update.
* typeck.c (build_binary_op): Update.
f:
* com.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
(unsigned_type, signed_type, signed_or_unsigned_type): Rename.
java:
* expr.c (build_java_binop): Update.
* java-tree.h (java_signed_type, java_unsigned_type,
java_signed_or_unsigned_type): Update.
* lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
* parse.y (patch_binop): Update.
* typeck.c (signed_or_unsigned_type, unsigned_type,
signed_type): Update.
objc:
* objc-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
From-SVN: r51684
2002-04-01 08:46:10 +00:00
GCC Administrator
c7a39ea995
Daily bump.
...
From-SVN: r51683
2002-04-01 08:17:05 +00:00
Richard Henderson
1d9ad0e01a
unwind-ia64.c (alloc_spill_area): Fix offset.
...
* config/ia64/unwind-ia64.c (alloc_spill_area): Fix offset.
(desc_frgr_mem): Fix reference to f16-f31.
From-SVN: r51679
2002-03-31 22:52:45 -08:00
Kaveh R. Ghazi
d875078437
varray.h (VARRAY_CHECK): Const-ify.
...
* varray.h (VARRAY_CHECK): Const-ify.
* ggc.h (ggc_mark_rtx, ggc_mark_tree, ggc_mark_nonnull_tree,
ggc_mark_rtvec, ggc_mark): Const-ify.
From-SVN: r51677
2002-04-01 05:08:51 +00:00
Kaveh R. Ghazi
d544bc3983
rtl.h (RTL_CHECK1, [...]): Const-ify.
...
* rtl.h (RTL_CHECK1, RTL_CHECK2, RTL_CHECKC1, RTL_CHECKC2,
RTVEC_ELT): Const-ify.
From-SVN: r51676
2002-04-01 03:18:49 +00:00
Neil Booth
b18101c75f
diagnostic.c: Include langhooks-def.h.
...
* diagnostic.c: Include langhooks-def.h.
* Makefile.in (diagnostic.o): Update.
From-SVN: r51674
2002-03-31 22:59:14 +00:00
Neil Booth
48a7a23514
c-common.c (c_unsafe_for_reeval): Rename.
...
* c-common.c (c_unsafe_for_reeval): Rename.
* c-common.h (c_unsafe_for_reeval): Rename.
* c-decl.c (finish_incomplete_decl): Rename.
(c_init_decl_processing): Don't set langhook.
* c-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL,
LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine.
* c-objc-common.c (c_objc_common_init): Don't set langhook.
* c-tree.h (finish_incomplete_decl): Rename.
* langhooks-def.h (lhd_unsafe_for_reeval): New.
(LANG_HOOKS_FINISH_INCOMPLETE_DECL, LANG_HOOKS_UNSAFE_FOR_REEVAL): New.
(LANG_HOOKS_INITIALIZER): Update.
* langhooks.c (lhd_unsafe_For_reeval): New.
* langhooks.h (struct langhooks): New hooks.
* toplev.c (incomplete_decl_finalize_hook): Remove.
(wrapup_global_declarations): Update.
* tree.c (lang_unsafe_for_reeval): Remove.
(unsafe_for_reeval): Update.
* tree.h (lang_unsafe_for_reeval, incomplete_decl_finalize_hook):
Remove.
ada:
* gigi.h (finish_incomplete_decl): Rename.
* misc.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL): Redefine.
* utils.c (gnat_init_decl_processing): Don't set hook.
(finish_incomplete_decl): Rename.
cp:
* cp-lang.c (LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine.
* lex.c (cxx_init): Don't set hook.
objc:
* objc-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL,
LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine.
From-SVN: r51673
2002-03-31 22:40:57 +00:00
Neil Booth
7cb3282270
diagnostic.c (print_error_function): Remove.
...
* diagnostic.c (print_error_function): Remove.
(default_print_error_function): Rename.
(report_error_function): Update.
* diagnostic.h (print_error_function): Remove.
(default_print_error_function): Remove.
* langhooks-def.h (struct diagnostic_context): Predeclare.
(lhd_print_error_function, LANG_HOOKS_PRINT_ERROR_FUNCTION): New.
(LANG_HOOKS_INITIALIZER): Update.
* langhooks.h (struct diagnostic context): Predeclare.
(struct lang_hooks): New hook.
cp:
* Make-lang.in (error.o): Update.
* cp-lang.c (LANG_HOOKS_PRINT_ERROR_FUNCTION): Redefine.
* cp-tree.h (struct diagnostic_context): Predeclare.
(cxx_print_error_function): New.
* error.c: Include langhooks-def.h.
(lang_print_error_function): Rename. Update.
(init_error): Don't set hook.
f:
* com.c (lang_print_error_function): Rename.
(LANG_HOOKS_PRINT_ERROR_FUNCTION): Redefine.
(ffe_init): Don't set hook.
java:
* lang.c (LANG_HOOKS_PRINT_ERROR_FUNCTION): Redefine.
(java_dummy_print): Remove.
(lang_print_error): Rename. Exit early if inhibiting output.
(inhibit_error_printing_function): New.
(java_init): Don't set hook.
(lang_init_source): Use new boolean.
From-SVN: r51672
2002-03-31 22:32:05 +00:00
Franz Sirl
1db0243780
rs6000.h (RS6000_PIC_OFFSET_TABLE_REGNUM): New.
...
2002-03-31 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* config/rs6000/rs6000.h (RS6000_PIC_OFFSET_TABLE_REGNUM): New.
(PIC_OFFSET_TABLE_REGNUM): Use it and return INVALID_REGNUM if
!flag_pic.
(CONDITIONAL_REGISTER_USAGE): Adjust accordingly.
* config/rs6000/rs6000.h: Use RS6000_PIC_OFFSET_TABLE_REGNUM instead
of PIC_OFFSET_TABLE_REGNUM thruout.
* config/rs6000/rs6000.md: Likewise.
* config/rs6000/darwin.h: Likewise.
From-SVN: r51671
2002-03-31 22:12:27 +00:00