gcc.git
23 years agostl_algo.h: Fix typos.
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

23 years agobackport: basic_string.h: Qualify symbols with 'template'.
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

23 years ago* tm.texi (POINTERS_EXTEND_UNSIGNED) Modify definition.
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

23 years agosimplify-rtx.c (simplify_replace_rtx): Try to obtain mode from old and new operands...
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

23 years agoMakefile.in (emit-rtl.o, c-decl.o): Depend on debug.h.
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

23 years agoRestore ASM_OUTPUT_LABEL_REF definition.
Catherine Moore [Thu, 19 Jul 2001 20:20:42 +0000 (20:20 +0000)]
Restore ASM_OUTPUT_LABEL_REF definition.

From-SVN: r44162

23 years agoreload1.c (eliminate_regs_in_insn): When updating a set to the frame pointer to the...
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

23 years agoreload1.c (choose_reload_regs): Don't inherit a reload that crosses multiple register...
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

23 years agotop.c (ffe_decode_option): Disallow lang-independent processing for -ffixed-form.
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

23 years agoifcvt.c (noce_try_store_flag_constants): Use trunc_int_for_mode when negating constants.
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

23 years agotree.def: Document restriction on {L|R}SHIFT_EXPR's second argument.
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

23 years agounwind-dw2.c (_Unwind_FrameState): Add eh_ptr.
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

23 years agoosf.h (ASM_OUTPUT_WEAK_ALIAS, [...]): Define.
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

23 years agore PR java/3731 (gcj should generate class init code for instanceof)
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

23 years agoconfigure.in (assembler dwarf2 debug_line support): Define nop insn for m68k.
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

23 years ago* class.c (finish_struct_anon): Forbid nested classes.
Mark Mitchell [Thu, 19 Jul 2001 07:22:40 +0000 (07:22 +0000)]
* class.c (finish_struct_anon): Forbid nested classes.

From-SVN: r44148

23 years agoDaily bump.
GCC Administrator [Thu, 19 Jul 2001 07:16:10 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r44146

23 years agoMakefile.in (toplev.o, [...]): Don't depend on dwarfout.h.
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

23 years agoc-lex.c (c_lex): Remove CPP_INT, CPP_FLOAT cases.
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

23 years agoclass.c (type_requires_array_cookie): New function.
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

23 years agodwarf2out.c (dwarf2out_abstract_function): Don't emit in-class declaration at -g1.
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

23 years agogen-num-limits.cc (set_signals_handler): New function.
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

23 years agomerge from glibc
DJ Delorie [Wed, 18 Jul 2001 23:40:00 +0000 (19:40 -0400)]
merge from glibc

From-SVN: r44138

23 years agoFix markup for reload_in/out.
Richard Henderson [Wed, 18 Jul 2001 22:02:07 +0000 (15:02 -0700)]
Fix markup for reload_in/out.

From-SVN: r44137

23 years agohowto.html: Fix typo.
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

23 years agomd.texi (reload_in/out): Document restrictions in predicates and constraints for...
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

23 years agoconfigure.in (_XOPEN_SOURCE, [...]): Move these defines before tests which might...
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

23 years ago* defaults.h (ASM_OUTPUT_WEAK_ALIAS): Check for ASM_WEAKEN_LABEL.
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

23 years agonatPlainDatagramSocketImpl.cc (mcastGrp): Use new RFC 2533 socket options IPV6_JOIN_G...
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

23 years agoNEWS (Changes in GCC 3.0): Fix typo.
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

23 years ago* cse.c: Undo my previous patch.
Jan Hubicka [Wed, 18 Jul 2001 18:52:41 +0000 (20:52 +0200)]
* cse.c: Undo my previous patch.

From-SVN: r44126

23 years agonatFileWin32.cc (_access): Renamed.
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

23 years agoostream.tcc (ostream::put): Fixed error condition check.
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

23 years agoFor PR java/2812:
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

23 years agoFor PR java/2812:
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

23 years agoflow.c (redirect_edge_and_branch): Bail out on complex edges.
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

23 years agoAll occurrences of the __value_type() and __distance_type() functions...
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

23 years agoFor PR java/2812:
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

23 years agocse.c (delete_trivially_dead_insns): Delete the libcall block when return value is...
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

23 years ago* gcse.c (pre_insert_copy_insn): Call update_ld_motion_stores.
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

23 years agovtgc1.C: Revert patch from 2001-04-26 since vtable-gc is supported again.
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

23 years agoconfigure.in (_XOPEN_SOURCE, [...]): Move these defines before tests which might...
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

23 years agoSave a function call in common mutex locking/unlocking operations
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

23 years agoSave a function call on mutex locking/unlocking
Nicola Pero [Wed, 18 Jul 2001 11:54:03 +0000 (11:54 +0000)]
Save a function call on mutex locking/unlocking

From-SVN: r44106

23 years agoFixed bug in gthr-posix.h - buggy backend thread functions for objective-c
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

23 years agoFixed backend function of objc_mutex_trylock which was broken
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

23 years agoDaily bump.
GCC Administrator [Wed, 18 Jul 2001 07:16:08 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r44100

23 years ago* gcc.dg/iftrap-1.c: Fix target line.
Andreas Jaeger [Wed, 18 Jul 2001 07:13:09 +0000 (09:13 +0200)]
* gcc.dg/iftrap-1.c: Fix target line.

From-SVN: r44099

23 years ago* integrate.c (output_inline_function): Correct type of debug_hooks.
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

23 years agocombine.c (combine_simplify_rtx): DIV can be treated associatively for floats if...
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

23 years ago* reload.c (push_secondary_reload): Accept empty-string for ALL_REGS.
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

23 years agocalls.c (prepare_call_address): New parameter SIBCALLP.
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

23 years agoconfig.gcc: For *-*-chorusos triplet, get chorus.h file from config directory.
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

23 years agoi386-signal.h (HANDLE_DIVIDE_OVERFLOW): Removed unused local `_ebp.'
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

23 years agoconfig.gcc: For *-*-chorusos triplet, get chorus.h file from config directory.
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

23 years agoconfigure.in (assembler eh_frame optimization): Handle big endian.
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

23 years agoexpr.c (epxand_expr): Convert divisions into multiplications by reciprocals if -ffast...
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

23 years agodbxout.c (dbxout_really_begin_function): Rename to dbxout_begin_function.
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

23 years agoc-typeck.c (build_binary_op): Do not shorten unsigned right shift after sign extension.
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

23 years agoREADME: Add notes on naming test cases.
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

23 years agoREADME: Add notes on naming test cases.
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

23 years agocombine.c (combine_simplify_rtx): Attempt to simplify a*(b/c) as (a*b)/c for floats...
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

23 years agoc-pragma.h (HANDLE_PRAGMA_WEAK): Define iff ASM_WEAKEN_LABEL and ASM_OUTPUT_WEAK_ALIA...
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

23 years agoc-parse.in (all_prefix_attributes): New variable.
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

23 years agocom.c (lang_print_error_function): Argument context is unused.
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

23 years agomips.h: Change TUNE_MIPS* options to use mips_tune.
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

23 years agoDaily bump.
GCC Administrator [Tue, 17 Jul 2001 07:16:17 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r44066

23 years agom68k.c: Include expr.h and reload.h.
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

23 years agocse.c (set_live_p): Take INSN argument for cc0; update callers.
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

23 years agoFix typo in my last entry.
Andreas Jaeger [Tue, 17 Jul 2001 05:09:29 +0000 (07:09 +0200)]
Fix typo in my last entry.

From-SVN: r44063

23 years agounix.h (ASM_OUTPUT_MI_THUNK): Fix output format for x86-64 pic support.
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

23 years agoregenerate
Bruce Korb [Tue, 17 Jul 2001 04:00:12 +0000 (04:00 +0000)]
regenerate

From-SVN: r44061

23 years agoupdate the sample output
Bruce Korb [Tue, 17 Jul 2001 03:59:18 +0000 (03:59 +0000)]
update the sample output

From-SVN: r44060

23 years ago* g++.old-deja/g++.robertl/eb130.C: Include the correct header file.
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

23 years agoHPUX-es vsnprintf and Ultrix-es atexit declaration
Bruce Korb [Tue, 17 Jul 2001 03:02:52 +0000 (03:02 +0000)]
HPUX-es vsnprintf and Ultrix-es atexit declaration

From-SVN: r44058

23 years agoLinkedList.java (clone): Clear the copy list with clear(), not by setting its size...
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

23 years agobasic-block.h (CLEANUP_PRE_SIBCALL): New constant.
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

23 years agogcse.c: Update comment at top.
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

23 years agoregclass.c (init_reg_sets): Use only 32 bits per initializer from int_reg_class_contents.
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

23 years agohard-reg-set.h (regs_invalidated_by_call): Declare.
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

23 years agoacinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when setting C_INCLUDE_DIR.
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

23 years ago20001229-1.c: Include <sys/proc.h> for UAC_SIGBUS, UAC_NOPRINT definitions.
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

23 years agogcse.c (pre_insert_copy_insn): Use gen_move_insn instead of gen_rtx_SET.
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

23 years agosysv.S: Avoid gas-only .balign directive.
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

23 years agore PR bootstrap/3563 (Error building libffi)
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

23 years agodominance.c (calc_dfs_tree_nonrec): Reverse order of tests in if statement so we...
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

23 years agossa-ccp.c: (optimize_unexecutable_edges): Add note about removal of edge...
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

23 years agoAdded two new objc tests
Nicola Pero [Mon, 16 Jul 2001 11:38:13 +0000 (11:38 +0000)]
Added two new objc tests

From-SVN: r44041

23 years agoNew tests
Nicola Pero [Mon, 16 Jul 2001 11:37:23 +0000 (11:37 +0000)]
New tests

From-SVN: r44040

23 years agoFixed object_is_class and object_is_metaclass
Nicola Pero [Mon, 16 Jul 2001 11:36:24 +0000 (13:36 +0200)]
Fixed object_is_class and object_is_metaclass

From-SVN: r44039

23 years agoconfig.sub: Fix mips64vr5000el typo in CPU-COMPANY.
Aldy Hernandez [Mon, 16 Jul 2001 10:02:53 +0000 (10:02 +0000)]
config.sub: Fix mips64vr5000el typo in CPU-COMPANY.

2001-07-16  Aldy Hernandez  <aldyh@redhat.com>

        * config.sub: Fix mips64vr5000el typo in CPU-COMPANY.

From-SVN: r44034

23 years agogcov.c (output_data): Use HOST_WIDEST_INT_PRINT_DEC to output variables of type HOST_...
Andreas Jaeger [Mon, 16 Jul 2001 09:16:04 +0000 (11:16 +0200)]
gcov.c (output_data): Use HOST_WIDEST_INT_PRINT_DEC to output variables of type HOST_WIDEST_INT.

* gcov.c (output_data): Use HOST_WIDEST_INT_PRINT_DEC to output
variables of type HOST_WIDEST_INT.

* libgcc2.c (__bb_exit_func): Handle gcov_type as long long.
(__bb_exit_func): Correct type of count_max to avoid overflow.
(num_digits): Handle long long argument.

* combine.c (gen_lowpart_for_combine): Remove unused variable.

From-SVN: r44033

23 years agoDaily bump.
GCC Administrator [Mon, 16 Jul 2001 07:16:10 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r44031

23 years agooutput.h (sdb_begin_function_line): Restore as an extern variable.
Neil Booth [Mon, 16 Jul 2001 06:01:40 +0000 (06:01 +0000)]
output.h (sdb_begin_function_line): Restore as an extern variable.

* output.h (sdb_begin_function_line): Restore as an extern
variable.
* sdbout.c (sdb_begin_function_line): Make extern.

From-SVN: r44030

23 years agomachmode.def (Pmode): Redefine if GENERATOR_FILE.
Richard Henderson [Mon, 16 Jul 2001 00:28:20 +0000 (17:28 -0700)]
machmode.def (Pmode): Redefine if GENERATOR_FILE.

        * machmode.def (Pmode): Redefine if GENERATOR_FILE.
        * genrecog.c (maybe_both_true_mode): New.
        (maybe_both_true_2): Use it.
        (write_switch): Don't put Pmode in a switch.
        * rtl.c (mode arrays): Don't explicitly size them.

From-SVN: r44029

23 years agoconfigure.in: Temporarily force LN_S to copy instead of symlink.
Phil Edwards [Sun, 15 Jul 2001 22:17:43 +0000 (22:17 +0000)]
configure.in: Temporarily force LN_S to copy instead of symlink.

2001-07-15  Phil Edwards  <pme@sources.redhat.com>

* configure.in:  Temporarily force LN_S to copy instead of symlink.
* configure:  Regenerate.

From-SVN: r44028

23 years agotoplev.c (rest_of_compilation): Fix register_life_up_to_date handling...
Jan Hubicka [Sun, 15 Jul 2001 16:59:06 +0000 (18:59 +0200)]
toplev.c (rest_of_compilation): Fix register_life_up_to_date handling...

* toplev.c (rest_of_compilation): Fix register_life_up_to_date
handling; move unconditional splitting before mode switching.

* i386.md (type): Add fistp type.
(i387, length_attr, scheduling definitions): Handle this type.
(fix_trunc?f?i2): Revamp to use mode switching.
(fix_trunct?f?i_nonmemory, fix_trunc?f?i_memory): New patterns.
* i386.h (fp_cw_mode): New enum
(OPTIMIZE_MODE_SWITCHING, NUM_MODES_FOR_MODE_SWITCHING, MODE_NEEDED,
MODE_PRIORITY_TO_MODE, ENUM_MODE_SET): New macros.

From-SVN: r44027

23 years agoMakefile.in (integrate.o): Add debug.h.
Richard Kenner [Sun, 15 Jul 2001 16:50:41 +0000 (16:50 +0000)]
Makefile.in (integrate.o): Add debug.h.

* Makefile.in (integrate.o): Add debug.h.
* integrate.c (debug.h): Add.
(output_inline_function): Save, reset, and restore debug_hooks.

From-SVN: r44026

23 years agoalpha.c (alpha_emit_xfloating_compare): Use CCmode instead of COMPARE for the EQUIV...
Richard Henderson [Sun, 15 Jul 2001 15:56:46 +0000 (08:56 -0700)]
alpha.c (alpha_emit_xfloating_compare): Use CCmode instead of COMPARE for the EQUIV expression.

        * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use CCmode
        instead of COMPARE for the EQUIV expression.

From-SVN: r44024

23 years agoflow.c (redirect_edge_and_branch_force): Initialize global_live_at_start and global_l...
Richard Henderson [Sun, 15 Jul 2001 15:47:05 +0000 (08:47 -0700)]
flow.c (redirect_edge_and_branch_force): Initialize global_live_at_start and global_live_at_end.

        * flow.c (redirect_edge_and_branch_force): Initialize
        global_live_at_start and global_live_at_end.
        (allocate_bb_life_data): Export.
        * basic-block.h (allocate_bb_life_data): Declare it.
        * toplev.c (rest_of_compilation): Call it.

From-SVN: r44023