Catherine Moore [Fri, 20 Jul 2001 13:42:57 +0000 (13:42 +0000)]
v850.md (casesi): Generate LABEL_REF with Pmode.
* config/v850/v850.md (casesi): Generate LABEL_REF
with Pmode.
From-SVN: r44197
Toon Moene [Fri, 20 Jul 2001 13:27:40 +0000 (15:27 +0200)]
com.c (ffecom_expr_intrinsic_): case FFEINTRIN_impIBITS: Remove TREE_SHIFT_FULLWIDTH define.
2001-07-20 Toon Moene <toon@moene.indiv.nluug.nl>
* com.c (ffecom_expr_intrinsic_):
case FFEINTRIN_impIBITS: Remove TREE_SHIFT_FULLWIDTH define.
case FFEINTRIN_impISHFT: Ditto. Change LT_EXPR to NE_EXPR.
case FFEINTRIN_impISHFTC: Ditto.
case FFEINTRIN_impMVBITS: Ditto.
From-SVN: r44196
Jan Hubicka [Fri, 20 Jul 2001 12:38:08 +0000 (12:38 +0000)]
oops, missed rej file.
From-SVN: r44195
Jan Hubicka [Fri, 20 Jul 2001 12:15:36 +0000 (14:15 +0200)]
i386-protos.h (ix86_zero_extend_to_Pmode): Declare.
* i386-protos.h (ix86_zero_extend_to_Pmode): Declare.
* i386.c (ix86_zero_extend_to_Pmode): Make global.
* i386.md (strclrsi expander): Use it.
From-SVN: r44194
Jan Hubicka [Fri, 20 Jul 2001 11:30:13 +0000 (13:30 +0200)]
integrate.c (copy_insn_list): handle NOTE_INSN_DELETED_LABEL, as if it were CODE_LABEL.
* integrate.c (copy_insn_list): handle
NOTE_INSN_DELETED_LABEL, as if it were CODE_LABEL.
(copy_rtx_and_substitute): Likewise; behave to NOTE_INSN_DELETED_LABEL
identically as to CODE_LABEL.
* fold-const (fold): Convert A/B/C to A/(B*C) and
A/(B/C) to (A/B)*C
* except.c (connect_post_landing_pads): Delete the RESX insns.
From-SVN: r44193
Toon Moene [Fri, 20 Jul 2001 10:52:06 +0000 (10:52 +0000)]
[multiple changes]
2001-07-20 David Billinghurst <David.Billinghurst@riotinto.org>
* g77.f-torture/compile/pr3743.f: New test
2001-07-20 David Billinghurst <David.Billinghurst@riotinto.com>
* g77.f-torture/execute/f90-intrinsic-bit.f: New test
From-SVN: r44192
Aldy Hernandez [Fri, 20 Jul 2001 10:36:09 +0000 (10:36 +0000)]
remove conflicts
From-SVN: r44191
Aldy Hernandez [Fri, 20 Jul 2001 10:35:33 +0000 (10:35 +0000)]
mips.h (ISA_HAS_NMADD_NMSUB): New macro.
* config/mips/mips.h (ISA_HAS_NMADD_NMSUB): New macro.
* config/mips/mips.md (nmadd/nmsub): Use macro.
From-SVN: r44190
Aldy Hernandez [Fri, 20 Jul 2001 10:33:00 +0000 (10:33 +0000)]
this is a test
From-SVN: r44189
Nathan Sidwell [Fri, 20 Jul 2001 10:30:47 +0000 (10:30 +0000)]
cppinit.c (remove_dup_dir): Make static.
* cppinit.c (remove_dup_dir): Make static.
(remove_dup_dirs): Make static. Only warn about preempting a
system directory with a non-system directory.
From-SVN: r44188
GCC Administrator [Fri, 20 Jul 2001 07:16:10 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r44186
Geoffrey Keating [Fri, 20 Jul 2001 03:59:19 +0000 (03:59 +0000)]
ifcvt.c (noce_try_store_flag_constants): Correct order of parameters to trunc_int_for_mode.
* ifcvt.c (noce_try_store_flag_constants): Correct order
of parameters to trunc_int_for_mode.
From-SVN: r44181
Mark Mitchell [Fri, 20 Jul 2001 02:38:57 +0000 (02:38 +0000)]
reorg.c (fill_simple_delay_slots): If an instruction might throw an exception that will be caught within this...
* reorg.c (fill_simple_delay_slots): If an instruction might throw
an exception that will be caught within this function, do not fill
its delay slot with any subsequent instruction.
From-SVN: r44171
Peter Schmid [Fri, 20 Jul 2001 01:17:13 +0000 (01:17 +0000)]
stl_algo.h: Fix typos.
2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* include/bits/stl_algo.h : Fix typos.
* testsuite/25_algorithms/unique.cc: New file.
From-SVN: r44169
Phil Edwards [Fri, 20 Jul 2001 00:09:31 +0000 (00:09 +0000)]
backport: basic_string.h: Qualify symbols with 'template'.
2001-07-19 Phil Edwards <pme@sources.redhat.com>
Mark Mitchell <mark@codesourcery.com>
Merge from cp-parser-branch.
* include/bits/basic_string.h: Qualify symbols with 'template'.
* include/bits/basic_string.tcc: Likewise.
* include/bits/fstream.tcc: Likewise.
* include/bits/istream.tcc: Likewise.
* include/bits/sstream.tcc: Likewise.
* include/bits/std_istream.h: Likewise.
* include/bits/stl_iterator.h: Likewise.
* include/bits/streambuf.tcc: Likewise.
* src/gen-num-limits.cc: Add 'template<>' to specializations.
* src/locale.cc: Likewise.
Co-Authored-By: Mark Mitchell <mark@codesourcery.com>
From-SVN: r44167
Steve Ellcey [Thu, 19 Jul 2001 23:26:51 +0000 (23:26 +0000)]
* tm.texi (POINTERS_EXTEND_UNSIGNED) Modify definition.
* optabs.c (can_extend_p) Check HAVE_ptr_extend for a specialized
pointer extension instruction.
* combine.c (nonzero_bits,num_sign_bit_copies) Likewise.
* simplify-rtx.c (simplify_unary_operation) Likewise.
* explow.c (convert_memory_address) Check value of
POINTERS_EXTEND_UNSIGNED to avoid some conversions when
less than zero.
* config/ia64/t-hpux (LIBGCC, INSTALL_LIBGCC, MULTILIB_OPTIONS,
MULTILIB_DIRNAMES, MULTILIB_MATCHES) Add multilib support.
* config/ia64/hpux.h (CPP_SPEC, ASM_SPEC, SUBTARGET_SWITCHES)
Add Multilib Support.
(POINTERS_EXTEND_UNSIGNED) Define for ILP32 support.
* config/ia64/ia64.h (MASK_ILP32, TARGET_ILP32, SUBTARGET_SWITCHES)
Add Multilib Support.
(POINTER_SIZE, LONG_TYPE_SIZE, MAX_LONG_TYPE_SIZE) Modify for ILP32
support.
* config/ia64/ia64.c (rtx_needs_barrier) Add support for addp4.
* config/ia64/ia64.md (ptr_extend) New instruction to "swizzle"
a 32 bit HP-UX pointer into a 64 bit HP-UX pointer.
From-SVN: r44166
Alexandre Oliva [Thu, 19 Jul 2001 22:42:07 +0000 (22:42 +0000)]
simplify-rtx.c (simplify_replace_rtx): Try to obtain mode from old and new operands in `<', `3' and `b'.
2001-07-19 Alexandre Oliva <aoliva@redhat.com>
* simplify-rtx.c (simplify_replace_rtx): Try to obtain mode from
old and new operands in `<', `3' and `b'.
From-SVN: r44164
Neil Booth [Thu, 19 Jul 2001 21:17:09 +0000 (21:17 +0000)]
Makefile.in (emit-rtl.o, c-decl.o): Depend on debug.h.
* Makefile.in (emit-rtl.o, c-decl.o): Depend on debug.h.
(final.o): Don't depend on xcoffout.h, dbxout.h or sdbout.h.
(toplev.o): Don't depend on xcoffout.h.
* c-decl.c: Include debug.h
(duplicate_decls): Use debug hook.
* dbxout.c (dbxout_source_file, dbxout_args): Make static.
(dbx_debug_hooks, xcoff_debug_hooks): Update.
(dbxout_types): Remove.
* dbxout.h (dbxout_source_file, dbxout_types, dbxout_args): Remove.
* debug.c (do_nothing_debug_hooks): Update.
(debug_true_tree, debug_nothing_rtx): New.
* debug.h (struct rtx_def): New.
(struct gcc_debug_hooks): New hooks ignore_block,
outlining_inline_function and label.
(debug_true_tree, debug_nothing_rtx, dwarf2out_frame_init,
dwarf2out_frame_finish): New.
* dwarf2out.c (dwarf2out_ignore_block, dwarf2out_abstract_function):
Make static, update prototype.
(dwarf2_debug_hooks): Update.
* dwarf2out.h (dwarf2out_ignore_block, dwarf2out_abstract_function,
dwarf2out_frame_init, dwarf2out_frame_finish): Remove.
* dwarfout.c (dwarf_debug_hooks): Update.
* emit-rtl.c: Include debug.h.
(remove_unnecessary_notes): Use debug hook.
* final.c: Don't include dbxout.h, xcoffout.h or sdbout.h.
(final_scan_insn): Use debug hook.
* integrate.c (output_inline_function): Use debug hook.
* sdbout.c (sdbout_toplevel_data, sdbout_label): Make static.
(sdb_debug_hooks): Update.
* sdbout.h (sdbout_label, sdbout_toplevel_data): Remove.
* toplev.c: Don't include xcoffout.h.
(note_outlining_of_inline_function, debug_ignore_block): Remove.
* toplev.h (note_outlining_of_inline_function, debug_ignore_block):
Remove.
* tree.h (dwarf2out_do_frame): Remove.
From-SVN: r44163
Catherine Moore [Thu, 19 Jul 2001 20:20:42 +0000 (20:20 +0000)]
Restore ASM_OUTPUT_LABEL_REF definition.
From-SVN: r44162
Geoffrey Keating [Thu, 19 Jul 2001 19:46:29 +0000 (19:46 +0000)]
reload1.c (eliminate_regs_in_insn): When updating a set to the frame pointer to the hardware frame pointer...
* reload1.c (eliminate_regs_in_insn): When updating a set
to the frame pointer to the hardware frame pointer, perform
the update always not just when REPLACE is set.
From-SVN: r44161
Geoffrey Keating [Thu, 19 Jul 2001 19:45:24 +0000 (19:45 +0000)]
reload1.c (choose_reload_regs): Don't inherit a reload that crosses multiple registers if...
* reload1.c (choose_reload_regs): Don't inherit a reload
that crosses multiple registers if registers past the first
don't fit in the desired class.
From-SVN: r44160
Jakub Jelinek [Thu, 19 Jul 2001 19:44:12 +0000 (21:44 +0200)]
top.c (ffe_decode_option): Disallow lang-independent processing for -ffixed-form.
* top.c (ffe_decode_option): Disallow lang-independent processing
for -ffixed-form.
From-SVN: r44159
Geoffrey Keating [Thu, 19 Jul 2001 19:43:44 +0000 (19:43 +0000)]
ifcvt.c (noce_try_store_flag_constants): Use trunc_int_for_mode when negating constants.
* ifcvt.c (noce_try_store_flag_constants): Use trunc_int_for_mode
when negating constants.
From-SVN: r44158
Toon Moene [Thu, 19 Jul 2001 18:33:30 +0000 (20:33 +0200)]
tree.def: Document restriction on {L|R}SHIFT_EXPR's second argument.
2001-07-19 Toon Moene <toon@moene.indiv.nluug.nl>
* tree.def: Document restriction on {L|R}SHIFT_EXPR's second argument.
* doc/tree.texi: Ditto.
* f/com.c (ffecom_expr_intrinsic_): Cope with it.
From-SVN: r44156
Mark Kettenis [Thu, 19 Jul 2001 18:20:49 +0000 (20:20 +0200)]
unwind-dw2.c (_Unwind_FrameState): Add eh_ptr.
* unwind-dw2.c (_Unwind_FrameState): Add eh_ptr.
(extract_cie_info): Handle "eh" augmentation properly,
remember eh_ptr.
(struct frame_state, __frame_state_for): New.
Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
From-SVN: r44155
Rainer Orth [Thu, 19 Jul 2001 18:08:17 +0000 (18:08 +0000)]
osf.h (ASM_OUTPUT_WEAK_ALIAS, [...]): Define.
* config/alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL,
HANDLE_SYSV_PRAGMA): Define.
* mips-tfile.c (add_ext_symbol): Pass complete symbol ptr, inline
previous args.
(copy_object): Caller changed.
testsuite:
* g++.old-deja/g++.pt/static3.C: Removed alpha*-*-osf* XFAIL.
g++.old-deja/g++.pt/static6.C: Likewise.
* lib/target-supports.exp (check_weak_available): alpha*-*-osf*
supports weak symbols.
From-SVN: r44153
Jeff Sturm [Thu, 19 Jul 2001 14:03:08 +0000 (14:03 +0000)]
re PR java/3731 (gcj should generate class init code for instanceof)
* libjava.lang/PR3731.java: New file.
* libjava.lang/PR3731.out: New file.
* libjava.lang/PR3731.xfail: New file.
From-SVN: r44151
Andreas Schwab [Thu, 19 Jul 2001 09:59:50 +0000 (09:59 +0000)]
configure.in (assembler dwarf2 debug_line support): Define nop insn for m68k.
* configure.in (assembler dwarf2 debug_line support): Define nop
insn for m68k.
* configure: Regenerated.
From-SVN: r44149
Mark Mitchell [Thu, 19 Jul 2001 07:22:40 +0000 (07:22 +0000)]
* class.c (finish_struct_anon): Forbid nested classes.
From-SVN: r44148
GCC Administrator [Thu, 19 Jul 2001 07:16:10 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r44146
Neil Booth [Thu, 19 Jul 2001 06:22:04 +0000 (06:22 +0000)]
Makefile.in (toplev.o, [...]): Don't depend on dwarfout.h.
* Makefile.in (toplev.o, dwarfout.o, final.o): Don't depend on
dwarfout.h.
* dbxout.c (dbxout_function): Rename dbxout_funciton_decl, move
to conditionally compiled block.
(dbx_debug_hooks, xcoff_debug_hooks): Update.
* dbxout.h (dbxout_function): Remove.
* debug.c (do_nothing_debug_hooks): Update.
* debug.h (struct gcc_debug_hooks): New hooks function_decl,
global_decl, deferred_inline_function.
* dwarf2out.c (dwarf2_debug_hooks): Update.
(dwarf2out_global_decl): New.
* dwarfout.c: Don't include dwarfout.h.
(dwarfout_global_decl, dwarfout_function_decl,
dwarfout_deferred_inline_function): New.
(dwarf_debug_hooks): Update.
* dwarfout.h: Remove.
* final.c: Don't include dwarfout.h.
* sdbout.c (sdbout_global_decl): New.
(sdbout_debug_hooks): Update.
* toplev.c: Don't include dwarfout.h.
(check_global_declarations, rest_of_compilation): Use new debug hooks.
(note_deferral_of_defined_inline_function): Remove.
* toplev.h (note_deferral_of_defined_inline_function): Remove.
* ch/Makefile.in (lex.o): No dependence on dwarfout.h.
* ch/lex.c: Don't include dwarfout.h.
* cp/Make-lang.in (decl2.o): No dependence on dwarfout.h, dwarf2out.h.
(semantics.o, optimize.o): Depend on debug.h not dwarfout.h.
* cp/decl2.c: Don't include dwarfout.h and dwarf2out.h.
* cp/optimize.c: Include debug.h.
(maybe_clone_body): Use debug hook.
* cp/semantics.c: Include debug.h.
(expand_body): Use debug hook.
* po/POTFILES.in: Remove dwarfout.h.
From-SVN: r44145
Neil Booth [Thu, 19 Jul 2001 06:12:50 +0000 (06:12 +0000)]
c-lex.c (c_lex): Remove CPP_INT, CPP_FLOAT cases.
* c-lex.c (c_lex): Remove CPP_INT, CPP_FLOAT cases.
* c-parse.in (yyerror, _yylex): Similarly.
* cppexp.c (parse_number, parse_defined, lex, _cpp_parse_expr):
Don't use CPP_INT, CPP_FLOAT; CPP_NUMBER is enough.
Update comments.
* cpplib.h (CPP_INT, CPP_FLOAT): Remove.
* cp/spew.c (read_token, yyerror): Remove CPP_INT, CPP_FLOAT cases.
From-SVN: r44144
Mark Mitchell [Thu, 19 Jul 2001 04:27:16 +0000 (04:27 +0000)]
class.c (type_requires_array_cookie): New function.
* class.c (type_requires_array_cookie): New function.
(check_methods): Don't try to figure out whether the type needs a
cookie here.
(check_bases_and_members): Set TYPE_VEC_NEW_USES_COOKIE here.
* cp-tree.h (TYPE_VEC_DELETE_TAKES_SIZE): Remove.
(TYPE_VEC_NEW_USES_COOKIE): Reimplement.
* pt.c (instantiate_class_template): Don't set
TYPE_VEC_DELETE_TAKES_SIZE.
* NEWS: Document ABI changes from GCC 3.0.
From-SVN: r44142
Jeff Sturm [Thu, 19 Jul 2001 03:50:07 +0000 (03:50 +0000)]
dwarf2out.c (dwarf2out_abstract_function): Don't emit in-class declaration at -g1.
* dwarf2out.c (dwarf2out_abstract_function): Don't emit
in-class declaration at -g1. Fixes c++/2814.
From-SVN: r44141
Gabriel Dos Reis [Thu, 19 Jul 2001 03:06:01 +0000 (03:06 +0000)]
gen-num-limits.cc (set_signals_handler): New function.
* src/gen-num-limits.cc (set_signals_handler): New function.
Factor out signals setting. Set signal handler for SIGILL.
Co-Authored-By: Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
From-SVN: r44139
DJ Delorie [Wed, 18 Jul 2001 23:40:00 +0000 (19:40 -0400)]
merge from glibc
From-SVN: r44138
Richard Henderson [Wed, 18 Jul 2001 22:02:07 +0000 (15:02 -0700)]
Fix markup for reload_in/out.
From-SVN: r44137
Phil Edwards [Wed, 18 Jul 2001 21:37:06 +0000 (21:37 +0000)]
howto.html: Fix typo.
2001-07-18 Phil Edwards <pme@sources.redhat.com>
* docs/html/27_io/howto.html: Fix typo.
* docs/html/faq/index.html: Minor updates for 3.0 all around.
* docs/html/faq/index.txt: Regenerated.
From-SVN: r44135
Richard Henderson [Wed, 18 Jul 2001 21:34:15 +0000 (14:34 -0700)]
md.texi (reload_in/out): Document restrictions in predicates and constraints for these patterns.
* doc/md.texi (reload_in/out): Document restrictions in predicates
and constraints for these patterns. Document empty string matching
ALL_REGS.
From-SVN: r44134
Toon Moene [Wed, 18 Jul 2001 20:50:54 +0000 (22:50 +0200)]
configure.in (_XOPEN_SOURCE, [...]): Move these defines before tests which might be affected by them.
2001-07-18 Toon Moene <toon@moene.indiv.nluug.nl>
* libI77/configure.in (_XOPEN_SOURCE, _FILE_OFFSET_BITS): Move
these defines before tests which might be affected by them.
(_XOPEN_SOURCE_EXTENDED): Define.
* libI77/configure, libI77/config.h.in: Regenerate.
From-SVN: r44133
Rainer Orth [Wed, 18 Jul 2001 20:43:40 +0000 (20:43 +0000)]
* defaults.h (ASM_OUTPUT_WEAK_ALIAS): Check for ASM_WEAKEN_LABEL.
From-SVN: r44131
Rainer Orth [Wed, 18 Jul 2001 20:39:52 +0000 (20:39 +0000)]
natPlainDatagramSocketImpl.cc (mcastGrp): Use new RFC 2533 socket options IPV6_JOIN_GROUP...
* java/net/natPlainDatagramSocketImpl.cc (mcastGrp): Use new RFC
2533 socket options IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP, falling
back to old RFC 2133 variants if missing.
From-SVN: r44130
Xavier Delacour [Wed, 18 Jul 2001 19:09:25 +0000 (19:09 +0000)]
NEWS (Changes in GCC 3.0): Fix typo.
* NEWS (Changes in GCC 3.0): Fix typo.
Co-Authored-By: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
From-SVN: r44128
Jan Hubicka [Wed, 18 Jul 2001 18:52:41 +0000 (20:52 +0200)]
* cse.c: Undo my previous patch.
From-SVN: r44126
Tom Tromey [Wed, 18 Jul 2001 18:35:12 +0000 (18:35 +0000)]
natFileWin32.cc (_access): Renamed.
* java/io/natFileWin32.cc (_access): Renamed.
(_stat): Likewise.
* java/io/natFile.cc (_access): Renamed.
(_stat): Likewise.
* java/io/File.java (access, stat): Add leading `_' to name.
Updated all callers.
From-SVN: r44124
Stephen M. Webb [Wed, 18 Jul 2001 17:58:37 +0000 (17:58 +0000)]
ostream.tcc (ostream::put): Fixed error condition check.
2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
Roman Sulzhyk <roman_sulzhyk@yahoo.com>
libstdc++/3599
* include/bits/ostream.tcc (ostream::put): Fixed error condition check.
* testsuite/27_io/streambuf.cc (test07): Added new regression test.
Co-Authored-By: Roman Sulzhyk <roman_sulzhyk@yahoo.com>
From-SVN: r44122
Tom Tromey [Wed, 18 Jul 2001 17:18:55 +0000 (17:18 +0000)]
For PR java/2812:
* lex.h: Use HAVE_ICONV, not HAVE_ICONV_H.
* lex.c (java_new_lexer): Use ICONV_CONST.
(java_read_char): Likewise.
* Make-lang.in (jc1$(exeext)): Link against LIBICONV.
(jv-scan$(exeext)): Likewise.
From-SVN: r44120
Tom Tromey [Wed, 18 Jul 2001 17:17:03 +0000 (17:17 +0000)]
For PR java/2812:
* configure: Rebuilt.
* configure.in: Don't check for iconv.h or iconv(); use AM_ICONV
instead.
* aclocal.m4 (AM_ICONV): New macro from Bruno Haible.
From-SVN: r44119
Richard Henderson [Wed, 18 Jul 2001 17:11:11 +0000 (10:11 -0700)]
flow.c (redirect_edge_and_branch): Bail out on complex edges.
* flow.c (redirect_edge_and_branch): Bail out on complex edges.
(try_optimize_cfg): Do not remove tail recursive labels before sibcall.
* jump.c (mark_jump_label): Do not forward branches.
Co-Authored-By: Jan Hubicka <jh@suse.cz>
From-SVN: r44118
Stephen M. Webb [Wed, 18 Jul 2001 17:09:02 +0000 (17:09 +0000)]
All occurrences of the __value_type() and __distance_type() functions...
2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
All occurrences of the __value_type() and __distance_type()
functions, which were required to support the HP STL, have been
removed along with all the auxiliary forwarding functions that
were required to support their use.
The __iterator_category() function was pretty much left alone
because there was no benefit to removing it and its use made code
just a little more readable.
Incidences of distance() with nonstandard argument list were
replaced by calls to the standard function (only in the files
affected by the removal of the other HP functions).
The signature of the rotate() algorithm was changed to match the
standard.
Headers were reformatted under C++STYLE guidelines (indentation,
linebreaks, typename keyword).
* include/bits/stl_algo.h: replaced __value_type() and
__distance_type() with iterator_traits, eliminated auxiliary
support functions required to support said function usage.
Changed nonstandard distance() call to standard call.
* include/bits/stl_algobase.h: Same.
* include/bits/stl_heap.h: Same.
* include/bits/stl_numeric.h: Same.
* include/bits/stl_uninitialized.h: Same.
* include/bits/stl_iterator_base_types.h (__value_type()):
Removed.
(__distance_type()): Removed.
(value_type()): Gone.
(distance_type()): Done in.
(iterator_category()): Hasta la vista, baby.
* include/bits/stl_iterator_base_funcs.h (iterator_category()):
Replaced with __iterator_category().
* include/backward/iterator.h: moved definition of value_type(),
distance_type(), and iterator_category() out of std:: and into
here.
* testsuite/23_containers/vector_ctor.cc (test03): New testcases.
* testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
* testsuite/25_algorithms/rotate.cc: New testcase.
* testsuite/25_algorithms/copy.cc: New testcase.
* testsuite/25_algorithms/sort.cc: Same.
* testsuite/25_algorithms/heap.cc: Same.
* testsuite/25_algorithms/partition.cc: Same.
* testsuite/25_algorithms/binary_search.cc: Same.
* testsuite/26_numerics/sum_diff.cc: Ditto.
From-SVN: r44117
Tom Tromey [Wed, 18 Jul 2001 17:06:24 +0000 (17:06 +0000)]
For PR java/2812:
* libgcj.spec.in (*lib): Added LIBICONV.
* configure: Rebuilt.
* configure.in: Call AM_ICONV. Don't check for iconv function.
Add parameters to JV_HASH_SYNCHRONIZATION define.
* acinclude.m4 (AM_ICONV): New macro, from Bruno Haible.
From-SVN: r44116
Jan Hubicka [Wed, 18 Jul 2001 16:36:33 +0000 (18:36 +0200)]
cse.c (delete_trivially_dead_insns): Delete the libcall block when return value is unused.
* cse.c (delete_trivially_dead_insns): Delete the libcall block
when return value is unused.
From-SVN: r44112
Jan Hubicka [Wed, 18 Jul 2001 16:29:50 +0000 (18:29 +0200)]
* gcse.c (pre_insert_copy_insn): Call update_ld_motion_stores.
From-SVN: r44111
Andreas Jaeger [Wed, 18 Jul 2001 16:26:45 +0000 (18:26 +0200)]
vtgc1.C: Revert patch from 2001-04-26 since vtable-gc is supported again.
* g++.dg/vtgc1.C: Revert patch from 2001-04-26 since vtable-gc is
supported again.
From-SVN: r44110
Kaveh R. Ghazi [Wed, 18 Jul 2001 15:16:10 +0000 (15:16 +0000)]
configure.in (_XOPEN_SOURCE, [...]): Move these defines before tests which might be affected by them.
* libU77/configure.in (_XOPEN_SOURCE, _FILE_OFFSET_BITS): Move
these defines before tests which might be affected by them.
(_XOPEN_SOURCE_EXTENDED): Define.
* libU77/configure, libU77/config.hin: Regenerate.
From-SVN: r44108
Nicola Pero [Wed, 18 Jul 2001 11:55:24 +0000 (11:55 +0000)]
Save a function call in common mutex locking/unlocking operations
From-SVN: r44107
Nicola Pero [Wed, 18 Jul 2001 11:54:03 +0000 (11:54 +0000)]
Save a function call on mutex locking/unlocking
From-SVN: r44106
Nicola Pero [Wed, 18 Jul 2001 11:22:37 +0000 (11:22 +0000)]
Fixed bug in gthr-posix.h - buggy backend thread functions for objective-c
From-SVN: r44105
Nicola Pero [Wed, 18 Jul 2001 11:21:20 +0000 (11:21 +0000)]
Fixed backend function of objc_mutex_trylock which was broken
From-SVN: r44104
GCC Administrator [Wed, 18 Jul 2001 07:16:08 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r44100
Andreas Jaeger [Wed, 18 Jul 2001 07:13:09 +0000 (09:13 +0200)]
* gcc.dg/iftrap-1.c: Fix target line.
From-SVN: r44099
Andreas Jaeger [Wed, 18 Jul 2001 06:35:24 +0000 (08:35 +0200)]
* integrate.c (output_inline_function): Correct type of debug_hooks.
From-SVN: r44098
Toon Moene [Wed, 18 Jul 2001 05:26:38 +0000 (07:26 +0200)]
combine.c (combine_simplify_rtx): DIV can be treated associatively for floats if...
2001-07-18 Toon Moene <toon@moene.indiv.nluug.nl>
* combine.c (combine_simplify_rtx): DIV can be treated
associatively for floats if unsafe math optimisations are enabled.
From-SVN: r44097
Richard Henderson [Wed, 18 Jul 2001 03:32:46 +0000 (20:32 -0700)]
* reload.c (push_secondary_reload): Accept empty-string for ALL_REGS.
From-SVN: r44096
Richard Henderson [Wed, 18 Jul 2001 03:24:53 +0000 (20:24 -0700)]
calls.c (prepare_call_address): New parameter SIBCALLP.
* calls.c (prepare_call_address): New parameter SIBCALLP. If true,
don't force the function address into a register.
(expand_call, emit_library_call_value_1): Update callers.
* builtins.c (expand_builtin_apply): Likewise.
* expr.h (prepare_call_address): Update decl.
From-SVN: r44095
Chandra Chavva [Wed, 18 Jul 2001 03:10:10 +0000 (23:10 -0400)]
config.gcc: For *-*-chorusos triplet, get chorus.h file from config directory.
* config.gcc: For *-*-chorusos triplet, get chorus.h file from
config directory.
* config/i386/chorus.h: Move up.
* config/sparc/chorus.h: Likewise.
* config/rs6000/chorus.h: Likewise.
* config/chorus.h: Moved here
From-SVN: r44094
Alexandre Petit-Bianco [Tue, 17 Jul 2001 23:59:07 +0000 (16:59 -0700)]
i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Removed unused local `_ebp.'
2001-07-13 Alexandre Petit-Bianco <apbianco@redhat.com>
* include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Removed unused
local `_ebp.'
(http://gcc.gnu.org/ml/java-patches/2001-q3/msg00070.html )
From-SVN: r44093
Chandra Chavva [Tue, 17 Jul 2001 21:54:37 +0000 (17:54 -0400)]
config.gcc: For *-*-chorusos triplet, get chorus.h file from config directory.
* config.gcc: For *-*-chorusos triplet, get chorus.h file from
config directory.
* config/i386/chorus.h: Move up.
* config/sparc/chorus.h: Likewise.
* config/rs6000/chorus.h: Likewise.
* config/chorus.h: Moved here.
From-SVN: r44092
Andreas Schwab [Tue, 17 Jul 2001 21:51:19 +0000 (21:51 +0000)]
configure.in (assembler eh_frame optimization): Handle big endian.
* configure.in (assembler eh_frame optimization): Handle big
endian.
* configure: Regenerated.
From-SVN: r44091
Jan Hubicka [Tue, 17 Jul 2001 21:44:57 +0000 (23:44 +0200)]
expr.c (epxand_expr): Convert divisions into multiplications by reciprocals if -ffast-math.
* expr.c (epxand_expr): Convert divisions into multiplications by
reciprocals if -ffast-math.
From-SVN: r44090
Neil Booth [Tue, 17 Jul 2001 19:47:58 +0000 (19:47 +0000)]
dbxout.c (dbxout_really_begin_function): Rename to dbxout_begin_function.
* dbxout.c (dbxout_really_begin_function): Rename to
dbxout_begin_function.
(dbx_debug_hooks, xcoff_debug_hooks): Update.
(dbxout_begin_function): Remove.
(dbxout_function): Update.
(dbxout_source_line): Update prototype.
* dbxout.h (dbxout_begin_function): Remove.
* debug.c (do_nothing_debug_hooks): Update.
(debug_nothing_tree): Update.
(debug_nothing_charstar_rtx): Remove.
* debug.h (union tree_node): Declare.
(struct rtx_def): Remove.
(gcc_debug_hooks): New hooks begin_prologue, end_prologue,
begin_function. Change source_line prototype.
(debug_nothing_tree): New.
(debug_nothing_charstar_rtx): Delete.
(dwarf2out_begin_prologue): Moved from ...
* tree.h: ... here.
* dwarf2out.c (dwarf2_debug_hooks): Update.
(dwarf2out_begin_prologue): Update prototype. If genuine dwarf2
debug info, call dwarf2out_source_line.
(dwarf2out_souce_line): Update prototype.
* dwarfout.c (dwarfout_begin_function): Rename dwarfout_end_prologue.
Change prototype, make static.
(dwarfout_source_line): Update prototype.
(dwarf_debug_hooks): Update.
* dwarfout.h (dwarfout_begin_function): Remove.
* final.c (final_start_function, final_scan_insn): Use appropriate
debug hooks, update to use notice_source_line.
(output_source_line): Rename notice_source_line. Don't call the
source_line debug hook.
* sdbout.c (sdbout_begin_function): Rename sdbout_begin_prologue,
make static, update prototype.
(sdbout_mark_begin_function): Rename sdbout_begin_function, update
prototype.
(sdbout_end_prologue): New.
(sdbout_source_line): Update prototype.
(sdbout_debug_hooks): Update.
(sdbout_symbol): Remove unused var.
* sdbout.h (sdbout_begin_function, sdbout_mark_begin_function):
Delete.
* varasm.c: Include debug.h.
(assemble_start_function): Use begin_function debug_hook.
* xcoffout.c (xcoffout_begin_prologue): Rename xcoffout_begin_function,
update with prototype.
(xcoffout_source_line): Update prototype.
* xcoffout.h (xcoffout_begin_prologue): Rename xcoffout_begin_function,
update prototype.
(xcoffout_source_line): Update prototype.
From-SVN: r44087
Richard Henderson [Tue, 17 Jul 2001 19:01:54 +0000 (12:01 -0700)]
c-typeck.c (build_binary_op): Do not shorten unsigned right shift after sign extension.
* c-typeck.c (build_binary_op): Do not shorten unsigned
right shift after sign extension.
From-SVN: r44080
Benjamin Kosnik [Tue, 17 Jul 2001 18:47:34 +0000 (18:47 +0000)]
README: Add notes on naming test cases.
2001-07-17 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/README: Add notes on naming test cases.
* testsuite/22_locale/members.cc: Mark as xfail.
* testsuite/22_locale/numpunct_char_members.cc: Same.
From-SVN: r44076
Benjamin Kosnik [Tue, 17 Jul 2001 18:43:28 +0000 (18:43 +0000)]
README: Add notes on naming test cases.
2001-07-17 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/README: Add notes on naming test cases.
* testsuite/22_locale/members.cc: Mark as xfail.
* testsuite/22_locale/numpunct_char_members.cc: Same.
From-SVN: r44074
Jan Hubicka [Tue, 17 Jul 2001 15:11:56 +0000 (17:11 +0200)]
combine.c (combine_simplify_rtx): Attempt to simplify a*(b/c) as (a*b)/c for floats in unsafe_math mode.
* combine.c (combine_simplify_rtx): Attempt to simplify
a*(b/c) as (a*b)/c for floats in unsafe_math mode.
* simplify-rtx.c (avoid_constatn_pool_reference): New static function.
(simplify_binary_operation, simplify_unary_operation,
simplify_relational_operation): Use it.
* combine.c (combine_simplify_rtx): Don't do associative law
on divisions; allow associative law on floats.
From-SVN: r44073
H.J. Lu [Tue, 17 Jul 2001 12:55:19 +0000 (12:55 +0000)]
c-pragma.h (HANDLE_PRAGMA_WEAK): Define iff ASM_WEAKEN_LABEL and ASM_OUTPUT_WEAK_ALIAS are defined.
* c-pragma.h (HANDLE_PRAGMA_WEAK): Define iff ASM_WEAKEN_LABEL and
ASM_OUTPUT_WEAK_ALIAS are defined.
* defaults.h (ASM_OUTPUT_WEAK_ALIAS): Define if possible.
* config/mips/iris6.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL):
Moved ...
* config/mips/iris5.h: ... here.
(HANDLE_SYSV_PRAGMA): Defined as 1.
* varasm.c (weak_finish): Use ASM_OUTPUT_WEAK_ALIAS.
* doc/tm.texi (ASM_OUTPUT_WEAK_ALIAS): Support the undefined weak
symbol.
Co-Authored-By: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
From-SVN: r44072
Joseph Myers [Tue, 17 Jul 2001 11:58:54 +0000 (12:58 +0100)]
c-parse.in (all_prefix_attributes): New variable.
* c-parse.in (all_prefix_attributes): New variable.
(PUSH_DECLSPEC_STACK, POP_DECLSPEC_STACK): New macros.
(maybe_resetattrs): New production.
(c_parse_init, datadef, fndef, datadecl, setspecs, setattrs, decl,
maybe_type_quals_setattrs, initdecls, notype_initdecls, initdcl,
notype_initdcl, nested_function, notype_nested_function,
component_decl, components, components_notype,
component_declarator, component_notype_declarator,
absdcl_maybe_attribute, parm, firstparm, setspecs_fp, ivar_decl,
ivars, mydecl, myparm): Update. Avoid prefix attributes just
after a comma being applied to more than one declarator.
* doc/extend.texi (Attribute Syntax): Update. Remove
documentation of bugs that are no longer present.
testsuite:
* gcc.c-torture/compile/
20010714-1.c, gcc.dg/format/attr-4.c: New
tests.
From-SVN: r44070
Toon Moene [Tue, 17 Jul 2001 10:42:57 +0000 (12:42 +0200)]
com.c (lang_print_error_function): Argument context is unused.
2001-07-17 Toon Moene <toon@moene.indiv.nluug.nl>
* com.c (lang_print_error_function): Argument context
is unused.
From-SVN: r44069
Eric Christopher [Tue, 17 Jul 2001 10:29:18 +0000 (10:29 +0000)]
mips.h: Change TUNE_MIPS* options to use mips_tune.
2001-07-16 Eric Christopher <echristo@redhat.com>
* config/mips/mips.h: Change TUNE_MIPS* options to use
mips_tune.
(EXTRA_SPECS): Add cc1_cpu_spec.
* config/mips/mips.md (muldf3): Fix typo.
From-SVN: r44068
GCC Administrator [Tue, 17 Jul 2001 07:16:17 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r44066
Richard Henderson [Tue, 17 Jul 2001 06:54:45 +0000 (23:54 -0700)]
m68k.c: Include expr.h and reload.h.
* config/m68k/m68k.c: Include expr.h and reload.h.
(print_operand_address) [16 bit int]: Cast INTVAL to int for %d.
[general int]: Use HOST_WIDE_INT_PRINT_DEC.
From-SVN: r44065
Daniel Berlin [Tue, 17 Jul 2001 06:44:57 +0000 (06:44 +0000)]
cse.c (set_live_p): Take INSN argument for cc0; update callers.
* cse.c (set_live_p): Take INSN argument for cc0; update callers.
(insn_live_p): Fix fall off end of function.
(dead_libcall_p): Remove COUNTS argument; update callers.
(delete_trivially_dead_insns): Remove unused variables.
Co-Authored-By: Richard Henderson <rth@redhat.com>
From-SVN: r44064
Andreas Jaeger [Tue, 17 Jul 2001 05:09:29 +0000 (07:09 +0200)]
Fix typo in my last entry.
From-SVN: r44063
Andreas Jaeger [Tue, 17 Jul 2001 04:55:25 +0000 (06:55 +0200)]
unix.h (ASM_OUTPUT_MI_THUNK): Fix output format for x86-64 pic support.
* config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix output format for
x86-64 pic support.
* lcm.c (optimize_mode_switching): Avoid warning for unused
variable if !NORMAL_MODE
* flow.c (try_crossjump_to_edge): Remove unused variable.
From-SVN: r44062
Bruce Korb [Tue, 17 Jul 2001 04:00:12 +0000 (04:00 +0000)]
regenerate
From-SVN: r44061
Bruce Korb [Tue, 17 Jul 2001 03:59:18 +0000 (03:59 +0000)]
update the sample output
From-SVN: r44060
Peter Schmid [Tue, 17 Jul 2001 03:26:34 +0000 (03:26 +0000)]
* g++.old-deja/g++.robertl/eb130.C: Include the correct header file.
From-SVN: r44059
Bruce Korb [Tue, 17 Jul 2001 03:02:52 +0000 (03:02 +0000)]
HPUX-es vsnprintf and Ultrix-es atexit declaration
From-SVN: r44058
Bryce McKinlay [Tue, 17 Jul 2001 01:56:38 +0000 (01:56 +0000)]
LinkedList.java (clone): Clear the copy list with clear(), not by setting its size field.
* java/util/LinkedList.java (clone): Clear the copy list with clear(),
not by setting its size field.
From-SVN: r44057
Jan Hubicka [Mon, 16 Jul 2001 20:54:44 +0000 (22:54 +0200)]
basic-block.h (CLEANUP_PRE_SIBCALL): New constant.
* basic-block.h (CLEANUP_PRE_SIBCALL): New constant.
* except.c (finish_eh_generation): Update call of cleanup_cfg;
do rebuild_jump_labels instead of jump_optimize
* sibcall.c (optimize_sibling_and_tail_recursive_call): Likewise.
* toplev.c (rest_of_compulation): Likewise for -Wreturn_type.
* flow.c (try_optimize_cfg): Remove unneeded code_labels.
* flow.c: Include timevar.h
(find_basic_block): Push/pop timevar;
(cleanup_cfg): Likewise.
* timevar.def (TV_CFG, TV_CLEANUP_CFG): New.
* Makefile: Add dependencies on timevar.h
* integrate.c (save_for_inline): Kill all BASIC_BLOCK notes.
(copy_insn_list): Avoid killing of BASIC_BLOCK notes.
* rtl.h (delete_trivially_dead_insns): Add new parameter.
* toplev.c (rest_of_compilation): Update calls.
* cse.c (set_live_p, insn_live_p, dead_libcall_p): Break out from ...
(delete_trivially_dead_insns): ... here; accept new argument
preserve_basic_blocks; preserve basic blocks if set.
* reg-stack.c (stack_regs_mentioned): Return 0 if
stack_regs_mentioned_data is not initialized.
(reg_to_stack): Make stack_regs_mentioned survive after the
reg-stack is completted; do not call cleanup_cfg.
* toplev.c (rest_of_compilation): Do cleanup_cfg before bb-reorder;
make cleanup_cfg after bb-reorder to output to debug file.
From-SVN: r44056
Daniel Berlin [Mon, 16 Jul 2001 20:02:08 +0000 (20:02 +0000)]
gcse.c: Update comment at top.
* gcse.c: Update comment at top.
Update comment on mem handling.
mem_last_set, mem_first_set, mem_set_in_block: gone.
Declaration of reg_set_info: gone.
(oprs_unchanged_p): Don't use mem_*set_* anymore. They are
pointless with load_killed_in_block_p (they are *more*
conservative then it, not less, and less accurate).
(oprs_not_set_p): Ditto.
(alloc_gcse_mem): Don't allocate mem_set_in_block
(free_gcse_mem): Don't free it, either.
(record_last_mem_set_info): Update comment in front, remove
mem_*set_* stuff. Note the reason we don't handle stores directly
here.
(compute_hash_table): Update comments to reflect reality. Remove
mem_*set_* references.
(reset_opr_set_tables): Remove mem_*set_* references.
(mark_call): Ditto.
(mark_set): Ditto. Also remove double sets of bitmaps for REG's.
(mark_clobber): Ditto (on both parts, we double set here too).
(expr_killed_p): Remove mem_set_in_block test.
(compute_transp): Remove mem_set_in_block test.
From-SVN: r44055
Richard Henderson [Mon, 16 Jul 2001 17:57:11 +0000 (10:57 -0700)]
regclass.c (init_reg_sets): Use only 32 bits per initializer from int_reg_class_contents.
* regclass.c (init_reg_sets): Use only 32 bits per initializer
from int_reg_class_contents.
From-SVN: r44054
Richard Henderson [Mon, 16 Jul 2001 17:54:34 +0000 (10:54 -0700)]
hard-reg-set.h (regs_invalidated_by_call): Declare.
* hard-reg-set.h (regs_invalidated_by_call): Declare.
* regclass.c (regs_invalidated_by_call): Move from cse.c.
(init_reg_sets_1): Move initialization from cse_main.
* cse.c (regs_invalidated_by_call): Move to regclass.c.
(cse_main): Move its initialization also.
* df.c (df_insn_refs_record): Use regs_invalidated_by_call.
* flow.c (propagate_one_insn): Likewise.
* gcse.c (compute_hash_table): Likewise.
(compute_kill_rd, compute_store_table): Likewise.
* sched-deps.c (sched_analyze_1): Likewise.
From-SVN: r44053
Stephen M. Webb [Mon, 16 Jul 2001 17:43:54 +0000 (17:43 +0000)]
acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when setting C_INCLUDE_DIR.
2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
* acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
setting C_INCLUDE_DIR.
* configure.in: Revert yesterday's LN_S change.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r44052
Rainer Orth [Mon, 16 Jul 2001 17:20:58 +0000 (17:20 +0000)]
20001229-1.c: Include <sys/proc.h> for UAC_SIGBUS, UAC_NOPRINT definitions.
* gcc.c-torture/execute/
20001229-1.c: Include <sys/proc.h> for
UAC_SIGBUS, UAC_NOPRINT definitions.
From-SVN: r44051
J"orn Rennecke [Mon, 16 Jul 2001 17:18:48 +0000 (17:18 +0000)]
gcse.c (pre_insert_copy_insn): Use gen_move_insn instead of gen_rtx_SET.
* gcse.c (pre_insert_copy_insn): Use gen_move_insn instead of
gen_rtx_SET.
From-SVN: r44048
Rainer Orth [Mon, 16 Jul 2001 17:12:14 +0000 (17:12 +0000)]
sysv.S: Avoid gas-only .balign directive.
* src/x86/sysv.S: Avoid gas-only .balign directive.
Use C style comments.
From-SVN: r44046
Rainer Orth [Mon, 16 Jul 2001 16:53:43 +0000 (16:53 +0000)]
re PR bootstrap/3563 (Error building libffi)
* src/alpha/ffi.c (ffi_prep_closure): Avoid gas-only mnemonic.
Fixes PR bootstrap/3563.
From-SVN: r44045
Steve Ellcey [Mon, 16 Jul 2001 16:48:31 +0000 (16:48 +0000)]
dominance.c (calc_dfs_tree_nonrec): Reverse order of tests in if statement so we don't access undefined memory.
* dominance.c (calc_dfs_tree_nonrec): Reverse order of tests
in if statement so we don't access undefined memory.
From-SVN: r44043
Daniel Berlin [Mon, 16 Jul 2001 16:23:40 +0000 (16:23 +0000)]
ssa-ccp.c: (optimize_unexecutable_edges): Add note about removal of edge...
* ssa-ccp.c: (optimize_unexecutable_edges): Add note about removal
of edge, and removal of phi alternative to dump file.
(ssa_ccp_substitute_constants): Add note about register now being
constant, and which uses were replaced in what insns to dump file.
From-SVN: r44042