Kaveh R. Ghazi [Fri, 28 Sep 2001 15:31:03 +0000 (15:31 +0000)]
* concat.c: Include stdlib.h.
From-SVN: r45861
Neil Booth [Fri, 28 Sep 2001 13:25:38 +0000 (13:25 +0000)]
cpplex.c (new_buff, [...]): Use size_t everywhere, make definitions consistent with prototypes.
* cpplex.c (new_buff, _cpp_get_buff, _cpp_extend_buff):
Use size_t everywhere, make definitions consistent with
prototypes.
From-SVN: r45860
Jan Hubicka [Fri, 28 Sep 2001 13:01:41 +0000 (15:01 +0200)]
gcse.c (replace_store_insn): Use delete_insn.
* gcse.c (replace_store_insn): Use delete_insn.
* loop.c (move_movables): Likewise; avoid delete_insn
from clobbering notes moved elsewhere.
(check_dbra_loop): Use delete_insn.
* ssa.c (convert_from_ssa): Likewise.
* cse.c (cse_insn): Use delete_insn.
From-SVN: r45859
Neil Booth [Fri, 28 Sep 2001 09:40:22 +0000 (09:40 +0000)]
cpphash.h (struct cpp_buff): Make unsigned.
* cpphash.h (struct cpp_buff): Make unsigned.
(_cpp_get_buff): Take length of size_t.
(_cpp_unaligned_alloc): New.
(BUFF_ROOM, BUFF_FRONT, BUFF_LIMIT): New.
(struct cpp_reader): Remove ident_pool. Add u_buff.
* cppinit.c (cpp_create_reader): Initialize u_buff, not ident_pool.
(cpp_destroy): Destroy u_buff, not ident_pool.
* cpplex.c (parse_number, parse_string, save_comment,
cpp_token_as_text): Update to use the unaligned buffer.
(new_buff): Make unsigned.
(_cpp_unaligned_alloc): New.
* cpplib.c (glue_header_name): Update to use the unaligned buffer.
* cppmacro.c (new_number_token, builtin_macro, stringify_arg):
Similarly.
(collect_args): Make unsigned.
From-SVN: r45858
GCC Administrator [Fri, 28 Sep 2001 07:16:44 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r45857
Zack Weinberg [Fri, 28 Sep 2001 07:00:27 +0000 (07:00 +0000)]
cpplex.c (cpp_output_token): Use a putc loop for SPELL_OPERATOR, and fwrite for SPELL_IDENT.
* cpplex.c (cpp_output_token): Use a putc loop for
SPELL_OPERATOR, and fwrite for SPELL_IDENT.
* configure.in: Detect fwrite_unlocked and fprintf_unlocked.
* configure, config.in: Regenerate.
* system.h: Replace fwrite and fprintf with their unlocked
variants if available.
From-SVN: r45855
Robert Anderson [Fri, 28 Sep 2001 06:21:55 +0000 (06:21 +0000)]
expr.c (ffeexpr_sym_rhs_dimlist_): Allow array elements as bounds of adjustable arrays.
2001-09-28 Robert Anderson <rwa@alumni.princeton.edu>
* expr.c (ffeexpr_sym_rhs_dimlist_): Allow array elements
as bounds of adjustable arrays.
From-SVN: r45854
Richard Henderson [Fri, 28 Sep 2001 00:23:54 +0000 (17:23 -0700)]
dwarf2out.c (dwarf2out_frame_finish): Never elide .debug_frame in favour of .eh_frame.
* dwarf2out.c (dwarf2out_frame_finish): Never elide .debug_frame
in favour of .eh_frame.
From-SVN: r45852
Phil Edwards [Thu, 27 Sep 2001 22:44:24 +0000 (22:44 +0000)]
*: Add Doxygen hooks.
2001-09-27 Phil Edwards <pme@gcc.gnu.org>
* include/std/*: Add Doxygen hooks.
* docs/doxygen/Intro.3: New file, general intro to the man pages.
* docs/doxygen/mainpage.doxy: Formatting tweaks. List our own links
rather than using a generated index.
* docs/doxygen/user.cfg.in: Disable the index, enable man pages.
* docs/doxygen/run_doxygen: Massage the generated man pages, using...
* docs/doxygen/stdheader.cc: ...this new file.
From-SVN: r45850
Aldy Hernandez [Thu, 27 Sep 2001 21:48:25 +0000 (21:48 +0000)]
(FUNCTION_VALUE): Change hardcoded 33 and 3 to macros.
LIBCALL_VALUE: Likewise.
From-SVN: r45849
Eli Zaretskii [Thu, 27 Sep 2001 19:55:37 +0000 (21:55 +0200)]
libiberty.texi: (Top level): Add syncodeindex pg.
* libiberty.texi: (Top level): Add syncodeindex pg. Add
@dircategory and @direntry directives. Add @finalout.
(many nodes): Lose the next,prev,up pointers on the @nide line.
(Using, Supplemental Functions, Replacement Functions): Fix
markup.
(Functions): Move around, to allow makeinfo to build the manual
without next,prev,up pointers in thye node lines.
(Licenses): Fix typos.
* index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
* functions.texi: Regenerate.
* copying-lib.texi: Lose the next,prev,up pointers on the @node
line.
From-SVN: r45847
DJ Delorie [Thu, 27 Sep 2001 19:44:32 +0000 (15:44 -0400)]
configure.in: Don't use in-tree texinfo, because libiberty must be built before it.
* configure.in: Don't use in-tree texinfo, because libiberty must
be built before it. Check for makeinfo version 4 or higher.
* functions.texi: Regenerate.
From-SVN: r45846
Geoffrey Keating [Thu, 27 Sep 2001 19:32:24 +0000 (19:32 +0000)]
loop-2e.x: This is a manifestation of a long-standing bug on i686, apparently.
* gcc.c-torture/execute/loop-2e.x: This is a manifestation of a
long-standing bug on i686, apparently.
* gcc.c-torture/execute/loop-2c.x: New file.
* gcc.c-torture/execute/loop-2d.x: New file.
* gcc.c-torture/execute/loop-3c.x: New file.
From-SVN: r45845
Alexandre Petit-Bianco [Thu, 27 Sep 2001 19:20:12 +0000 (12:20 -0700)]
parse.y (check_final_variable_indirect_assignment): For COMPOUND_EXPR...
2001-09-26 Alexandre Petit-Bianco <apbianco@redhat.com>
* parse.y (check_final_variable_indirect_assignment): For
COMPOUND_EXPR, return only if finals were found initialized
properly, if not, keep on checking.
(check_final_variable_global_assignment_flag): New local
error_found, set when appropriate and used to decide whether to
report uninitialized finals. Fixed typo in comment.
( http://gcc.gnu.org/ml/gcc-patches/2001-09/msg01160.html )
From-SVN: r45844
Alexandre Petit-Bianco [Thu, 27 Sep 2001 19:17:16 +0000 (12:17 -0700)]
final_initialization_in_ctor.java: New file
2001-09-27 Alexandre Petit-Bianco <apbianco@redhat.com>
* libjava.compile/final_initialization_in_ctor.java: New file
( http://gcc.gnu.org/ml/gcc-patches/2001-09/msg01160.html )
From-SVN: r45843
Will Cohen [Thu, 27 Sep 2001 18:01:15 +0000 (18:01 +0000)]
configure.in (*-*-linux*): Disable configuration of target-newlib and target-libgloss.
2001-09-26 Will Cohen <wcohen@redhat.com>
* configure.in (*-*-linux*): Disable configuration of target-newlib
and target-libgloss.
From-SVN: r45842
Tom Tromey [Thu, 27 Sep 2001 16:49:13 +0000 (16:49 +0000)]
IdentityHashMap.java (containsKey): Use getHash.
* java/util/IdentityHashMap.java (containsKey): Use getHash.
(get): Likewise.
(put): Likewise.
(remove): Likewise.
(getHash): New method.
(tombstone, emptyslot): Now static final.
(put): Correctly determine when to rehash, and correctly rehash.
(containsKey, remove): Test against table length with `>='.
From-SVN: r45841
Neil Booth [Thu, 27 Sep 2001 12:59:38 +0000 (12:59 +0000)]
cpphash.h: Update comment.
* cpphash.h: Update comment.
* cpplex.c: Update comments.
(_cpp_can_paste): Remove.
* cpplib.h (_cpp_can_paste): Remove.
* cppmacro.c (paste_tokens, paste_all_tokens): Update to use the
lexer rather than _cpp_can_paste.
From-SVN: r45840
Neil Booth [Thu, 27 Sep 2001 11:10:40 +0000 (11:10 +0000)]
* doc/cppinternals.texi: Update.
From-SVN: r45839
GCC Administrator [Thu, 27 Sep 2001 07:16:41 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r45838
Stan Shebs [Thu, 27 Sep 2001 00:48:01 +0000 (00:48 +0000)]
Makefile.am: Remove RCS Id strings.
* include/Makefile.am: Remove RCS Id strings.
* src/Makefile.am: Ditto.
* docs/doxygen/run_doxygen: Ditto.
* docs/html/configopts.html: Ditto.
* docs/html/documentation.html: Ditto.
* docs/html/explanations.html: Ditto.
* docs/html/install.html: Ditto.
* docs/html/17_intro/howto.html: Ditto.
* docs/html/18_support/howto.html: Ditto.
* docs/html/19_diagnostics/howto.html: Ditto.
* docs/html/20_util/howto.html: Ditto.
* docs/html/21_strings/howto.html: Ditto.
* docs/html/22_locale/howto.html: Ditto.
* docs/html/23_containers/howto.html: Ditto.
* docs/html/24_iterators/howto.html: Ditto.
* docs/html/25_algorithms/howto.html: Ditto.
* docs/html/26_numerics/howto.html: Ditto.
* docs/html/27_io/howto.html: Ditto.
* docs/html/ext/howto.html: Ditto.
* docs/html/ext/sgiexts.html: Ditto.
* docs/html/faq/index.html: Ditto.
* docs/html/faq/index.txt: Ditto.
From-SVN: r45836
Tom Tromey [Thu, 27 Sep 2001 00:24:52 +0000 (00:24 +0000)]
Configuration.java.in (INIT_LOAD_LIBRARY): New constant.
* gnu/classpath/Configuration.java.in (INIT_LOAD_LIBRARY): New
constant.
* java/io/StreamTokenizer.java, java/util/ResourceBundle.java:
Re-merged with Classpath.
From-SVN: r45835
Tom Tromey [Wed, 26 Sep 2001 22:49:02 +0000 (22:49 +0000)]
DataInputStream.java (readChar): Use readFully.
* java/io/DataInputStream.java (readChar): Use readFully.
(readInt): Likewise.
(readLong): Likewise.
(readShort): Likewise.
(readUnsignedShort): Likewise.
From-SVN: r45834
Neil Booth [Wed, 26 Sep 2001 21:44:35 +0000 (21:44 +0000)]
cpphash.h (struct cpp_pool): Remove locks and locked.
* cpphash.h (struct cpp_pool): Remove locks and locked.
(struct cpp_context): Add member buff.
(struct cpp_reader): Remove member argument_pool.
(_cpp_lock_pool, _cpp_unlock_pool): Remove.
* cppinit.c (cpp_create_reader, cpp_destroy): Argument_pool is dead.
* cpplex.c (chunk_suitable): Remove pool argument.
(MIN_BUFF_SIZE, BUFF_SIZE_UPPER_BOUND, EXTENDED_BUFF_SIZE): New.
(new_buff, _cpp_extend_buff): Update.
(_cpp_get_buff): Fix silly pointer bug. Be more selective about
which buffer is returned.
(_cpp_next_chunk, _cpp_init_pool): Pool locking removed.
(_cpp_lock_pool, _cpp_unlock_pool): Remove.
* cppmacro.c (lock_pools, unlock_pools): Remove.
(push_ptoken_context): Take a _cpp_buff.
(enter_macro_context): Pool locking removed.
(replace_args): Use a _cpp_buff for the replacement list with
arguments replaced.
(push_token_context): Clear buff.
(expand_arg): Use _cpp_pop_context.
(_cpp_pop_context): Free a context's buffer, if any.
From-SVN: r45833
Alexandre Oliva [Wed, 26 Sep 2001 21:13:34 +0000 (21:13 +0000)]
Makefile.in (EXTRA_TARGET_FLAGS): Pass RANLIB_FOR_TARGET for RANLIB.
* Makefile.in (EXTRA_TARGET_FLAGS): Pass RANLIB_FOR_TARGET for
RANLIB.
From-SVN: r45832
DJ Delorie [Wed, 26 Sep 2001 21:02:16 +0000 (17:02 -0400)]
* c-typeck.c (digest_init): Check for sizeless arrays.
From-SVN: r45831
Richard Henderson [Wed, 26 Sep 2001 20:02:51 +0000 (13:02 -0700)]
optabs.c (init_one_libfunc): Create a dummy function type instead of using error_mark_node.
* optabs.c (init_one_libfunc): Create a dummy function type
instead of using error_mark_node.
From-SVN: r45830
DJ Delorie [Wed, 26 Sep 2001 18:16:17 +0000 (14:16 -0400)]
configure.in (MAKEINFO, PERL): Detect these.
* configure.in (MAKEINFO, PERL): Detect these.
(--enable-maintainer-mode): Add.
* configure: Regenerate.
* Makefile.in (MAKEINFO, PERL): Define.
(libiberty.info, libiberty.dvi, libiberty.html): New.
(CFILES): Add bsearch.c.
(CONFIGURED_OFILES): New, list of objects configure might add.
(maint-missing, maint-buildall): New, for maintainers only.
(clean, mostlyclean): Add info/dvi/html files.
* libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
* gather-docs: New, for maintainers.
* maint-tool: New, for maintainers.
* alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
documentation.
Co-Authored-By: Phil Edwards <pedwards@disaster.jaj.com>
From-SVN: r45828
Neil Booth [Wed, 26 Sep 2001 17:52:50 +0000 (17:52 +0000)]
cpphash.h (struct _cpp_buff, [...]): New.
* cpphash.h (struct _cpp_buff, _cpp_get_buff, _cpp_release_buff,
_cpp_extend_buff, _cpp_free_buff): New.
(struct cpp_reader): New member free_buffs.
* cppinit.c (cpp_destroy): Free buffers.
* cpplex.c (new_buff, _cpp_release_buff, _cpp_get_buff,
_cpp_extend_buff, _cpp_free_buff): New.
* cpplib.h (struct cpp_options): Remove unused member.
* cppmacro.c (collect_args): New. Combines the old parse_arg
and parse_args. Use _cpp_buff for memory allocation.
(funlike_invocation_p, replace_args): Update.
From-SVN: r45827
Rainer Orth [Wed, 26 Sep 2001 13:22:03 +0000 (13:22 +0000)]
solaris_threads.c (MAX_ORIG_STACK_SIZE): Provide special Solaris 2/Intel definition.
* solaris_threads.c (MAX_ORIG_STACK_SIZE) [I386]: Provide special
Solaris 2/Intel definition.
* configure.in (i?86-*-solaris2.[89]*): Define
SOLARIS25_PROC_VDB_BUG_FIXED.
* include/private/gcconfig.h [I386 && SUNOS5]: Use it.
* configure: Regenerate.
* include/private/gcconfig.h [I386 && SUNOS5] (DATASTART): Use _etext.
(DATAEND): Define using _end.
From-SVN: r45825
Jan Hubicka [Wed, 26 Sep 2001 11:22:35 +0000 (13:22 +0200)]
* final.c (final_scan_insn): Use delete_insn instead of delete_note.
From-SVN: r45823
Andrew Haley [Wed, 26 Sep 2001 10:38:18 +0000 (10:38 +0000)]
except.c (sjlj_mark_call_sites): Change address inside sequence.
2001-09-25 Andrew Haley <aph@cambridge.redhat.com>
* except.c (sjlj_mark_call_sites): Change address inside sequence.
From-SVN: r45822
Andrew Haley [Wed, 26 Sep 2001 10:35:46 +0000 (10:35 +0000)]
linux.h (LINK_SPEC): Set dynamic-linker to agree with glibc.
2001-09-24 Andrew Haley <aph@cambridge.redhat.com>
* config/sh/linux.h (LINK_SPEC): Set dynamic-linker to agree with
glibc.
From-SVN: r45821
GCC Administrator [Wed, 26 Sep 2001 07:34:41 +0000 (07:34 +0000)]
Daily bump.
From-SVN: r45820
Phil Edwards [Wed, 26 Sep 2001 01:45:49 +0000 (01:45 +0000)]
c_strings.cc (test01, test02): Increase `carray' size.
2001-09-25 Phil Edwards <pme@gcc.gnu.org>
* testsuite/21_strings/c_strings.cc (test01, test02): Increase
`carray' size.
From-SVN: r45817
Phil Edwards [Tue, 25 Sep 2001 23:51:17 +0000 (23:51 +0000)]
howto.html: Add anchor name.
2001-09-25 Phil Edwards <pme@gcc.gnu.org>
* docs/html/20_util/howto.html: Add anchor name.
* docs/html/23_containers/howto.html: Line wrapping, another link.
* docs/html/25_algorithms/howto.html: Another note.
* docs/html/ext/howto.html: Link to SGI extensions. List DRs and
link to them...
* docs/html/ext/lwg-active.html: ...in this new file (from R19),
* docs/html/ext/lwg-defects.html: and this new file (from R19).
* docs/html/ext/sgiexts.html: New file. Mention SGI extensions
carried over to libstdc++-v3.
* docs/html/faq/index.html: Link to SGI extensions. Mention the
"missing .." pseudobug.
* docs/html/faq/index.txt: Regenerate.
* include/bits/ios_base.h: DR-related comment cleanup.
* include/bits/istream.tcc: Likewise.
* include/bits/locale_facets.h: Likewise.
* include/bits/locale_facets.tcc: Likewise.
* include/bits/ostream.tcc: Likewise.
* include/bits/std_bitset.h: Likewise.
* include/bits/std_iosfwd.h: Likewise.
* include/bits/std_istream.h: Likewise.
* include/bits/std_ostream.h: Likewise.
* include/bits/std_streambuf.h: Likewise.
* include/bits/stl_pair.h: Likewise.
* include/bits/streambuf_iterator.h: Likewise.
* include/bits/std_map.h: Remove unused header inclusion guard
_CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
* include/bits/std_set.h: Likewise.
* include/bits/stl_function.h: Doxygen markup.
* docs/doxygen/doxygroups.cc: New file, specifying module grouping.
* libsupc++/typeinfo: Doxygen markup tweak.
From-SVN: r45816
Kaveh R. Ghazi [Tue, 25 Sep 2001 22:05:40 +0000 (22:05 +0000)]
* concat.c (reconcat): Fix for traditional C.
From-SVN: r45814
Janis Johnson [Tue, 25 Sep 2001 21:17:34 +0000 (21:17 +0000)]
install.texi (Specific, [...]): Document.
* doc/install.texi (Specific, ia64-*-linux): Document.
Co-Authored-By: Jim Wilson <wilson@redhat.com>
From-SVN: r45812
David Edelsohn [Tue, 25 Sep 2001 18:02:42 +0000 (14:02 -0400)]
Fix last patch to allow indexed operand.
From-SVN: r45809
Jan Hubicka [Tue, 25 Sep 2001 15:26:55 +0000 (17:26 +0200)]
Makefile.in (cfgrtl.o): Add.
* Makefile.in (cfgrtl.o): Add.
* basic-block.h (alloc_block, alloc_aux_for_block, alloc_aux_for_blocks,
free_aux_for_block, alloc_aux_for_edge, alloc_aux_for_edges,
free_aux_for_edge): Declare.
* cfg.c
(HAVE_return): Undefine.
* basic-block.h (alloc_block, alloc_aux_for_block, alloc_aux_for_blocks,
free_aux_for_block, alloc_aux_for_edge, alloc_aux_for_edges,
free_aux_for_edge): New global functions.
(first_delete_block): New static variable.
(init_flow): Clear first_delete_block.
(basic_block_for_insn, label_value_list, tail_recursion_label_list,
can_delete_note_p, can_delete_label_p, commit_one_edge_insertion,
try_redirect_by_replacing_jump, last_loop_beg_note,
back_edge_of_syntactic_loop_p, force_nonfallthru_and_redirect,
delete_insn, delete_insn_chain, create_basic_block_structure,
create_basic_block, flow_delete_block, compute_bb_for_insn,
free_bb_for_insn, update_bb_for_insn, set_block_for_insn,
set_block_for_new_insns, split_block, merge_blocks_nomove,
block_label, try_redirect_by_replacing_jump, last_loop_beg_note,
redirect_edge_and_branch, force_nonfallthru_and_redirect,
force_nonfallthru, redirect_edge_and_branch_force, tidy_fallthru_edge,
tidy_fallthru_edges, split_edge, insert_insn_on_edge,
commit_one_edge_insertion, commit_edge_insertions, dump_bb, debug_bb,
debug_bb_n, print_rtl_with_bb, verify_flow_info, purge_dead_edges,
purge_all_dead_edges): Move to ....
* cfgrtl.c: New file; .... Here.
* bb-reorder.c (fixup_reorder_chain): Use alloc_aux_for_block.
(reroder_basic_block): Use alloc_aux_for_blocks.
* predict.c (estimate_bb_frequencies): Likewise; use
alloc_aux_for_edges.
* profile.c (compute_branch_probabilities): Likewise.
(branch_prob): Likewise.
* reg-stack.c (reg_to_stack): Likewise.
* emit-rtl.c (emit_insns_after): Never return NULL.
* basic-block.h (set_block_for_new_insns): Delete.
* cfgrtl.c (set_block_for_new_insns): Delete.
* cfgcleanup.c (try_optimize_cfg): Add fake exit edges for noreturn
calls when crossjumping.
* cfgcleanup.c (try_simplify_condjump): Cleanup invert_jump call.
* unroll.c (copy_loop_body): Use delete_insn.
* final.c (final, final_scan_insn): Use delete_insn/delete_note.
* function.c (fixup_var_refs_insn, fixup_var_refs_1,
keep_stack_depressed): Likewise.
* gcse.c (cprop_cc0_jump): Likewise.
* local-alloc.c (update_equiv_regs): Likewise.
* loop.c (scan_loop, loop_delete_insns): Likewise.
* regmove.c (try_auto_increment, fixup_match_1): Likewise.
* reload1.c (reload, calculate_needs_all_insns, reload_as_needed,
delete_output_reload, delete_address_reloads_1,
reload_cse_delete_noop_set, reload_combine, reload_cse_move2add):
Likewise.
* sibcall.c (replace_call_placeholder): Likewise.
* cse.c (cse_insn): Likewise.
From-SVN: r45807
Bernd Schmidt [Tue, 25 Sep 2001 14:59:36 +0000 (14:59 +0000)]
SSE/MMX builtins bugfixes
From-SVN: r45806
Bernd Schmidt [Tue, 25 Sep 2001 12:26:25 +0000 (12:26 +0000)]
Add target_flags mask bit to builtin definitions
From-SVN: r45805
Graham Stott [Tue, 25 Sep 2001 11:52:13 +0000 (11:52 +0000)]
*
20010925-1.c: New testcase for incorrect sibcall optimization.
From-SVN: r45804
Graham Stott [Tue, 25 Sep 2001 11:39:35 +0000 (11:39 +0000)]
sibcall.c (skip_copy_to_return_value): Tighten return value copy check.
* sibcall.c (skip_copy_to_return_value): Tighten return value
copy check.
From-SVN: r45803
GCC Administrator [Tue, 25 Sep 2001 07:16:10 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r45800
Neil Booth [Tue, 25 Sep 2001 06:18:03 +0000 (06:18 +0000)]
* gcc.dg/cpp/
20000625-2.c: Correct line number.
From-SVN: r45799
Bryce McKinlay [Tue, 25 Sep 2001 04:11:21 +0000 (04:11 +0000)]
* java/security/cert/X509Extension.java: Merge from classpath.
From-SVN: r45798
David Edelsohn [Tue, 25 Sep 2001 00:28:28 +0000 (00:28 +0000)]
* (lwa_operand): Address must be word aligned.
From-SVN: r45795
Richard Kenner [Mon, 24 Sep 2001 22:58:27 +0000 (22:58 +0000)]
tree.c (type_hash_marked_p): Consider as marked if debug symbol number has been set.
* tree.c (type_hash_marked_p): Consider as marked if debug symbol
number has been set.
(type_hash_mark): Mark type itself.
From-SVN: r45794
Neil Booth [Mon, 24 Sep 2001 22:53:12 +0000 (22:53 +0000)]
c-lex.c (cb_def_pragma): Update.
* c-lex.c (cb_def_pragma): Update.
(c_lex): Update, and skip padding.
* cppexp.c (lex, parse_defined): Update, remove unused variable.
* cpphash.h (struct toklist): Delete.
(union utoken): New.
(struct cpp_context): Update.
(struct cpp_reader): New members eof, avoid_paste.
(_cpp_temp_token): New.
* cppinit.c (cpp_create_reader): Update.
* cpplex.c (_cpp_temp_token): New.
(_cpp_lex_direct): Add PREV_WHITE when parsing args.
(cpp_output_token): Don't print leading whitespace.
(cpp_output_line): Update.
* cpplib.c (glue_header_name, parse_include, get__Pragma_string,
do_include_common, do_line, do_ident, do_pragma,
do_pragma_dependency, _cpp_do__Pragma, parse_answer,
parse_assertion): Update.
(get_token_no_padding): New.
* cpplib.h (CPP_PADDING): New.
(AVOID_LPASTE): Delete.
(struct cpp_token): New union member source.
(cpp_get_token): Update.
* cppmacro.c (macro_arg): Convert to use pointers to const tokens.
(builtin_macro, paste_all_tokens, paste_tokens, funlike_invocation_p,
replace_args, quote_string, stringify_arg, parse_arg, next_context,
enter_macro_context, expand_arg, _cpp_pop_context, cpp_scan_nooutput,
_cpp_backup_tokens, _cpp_create_definition): Update.
(push_arg_context): Delete.
(padding_token, push_token_context, push_ptoken_context): New.
(make_string_token, make_number_token): Update, rename.
(cpp_get_token): Update to handle tokens as pointers to const,
and insert padding appropriately.
* cppmain.c (struct printer): New member prev.
(check_multiline_token): Constify.
(do_preprocessing, cb_line_change): Update.
(scan_translation_unit): Update to handle spacing.
* scan-decls.c (get_a_token): New.
(skip_to_closing_brace, scan_decls): Update.
* fix-header.c (read_scan_file): Update.
* doc/cpp.texi: Update.
* gcc.dg/cpp/macro10.c: New test.
* gcc.dg/cpp/strify3.c: New test.
* gcc.dg/cpp/spacing1.c: Add tests.
* gcc.dg/cpp/
19990703-1.c: Remove bogus test.
* gcc.dg/cpp/
20000625-2.c: Fudge to pass.
From-SVN: r45793
Kaveh R. Ghazi [Mon, 24 Sep 2001 22:38:22 +0000 (22:38 +0000)]
libiberty.h (reconcat): New function.
include:
* libiberty.h (reconcat): New function.
libiberty:
* concat.c (reconcat): New function.
gcc:
* c-aux-info.c (affix_data_type): Use ATTRIBUTE_MALLOC. Avoid
leak by passing malloc'ed pointer to reconcat, not concat.
From-SVN: r45789
DJ Delorie [Mon, 24 Sep 2001 20:27:06 +0000 (16:27 -0400)]
* varasm.c (array_size_for_constructor): Handle STRING_CSTs also.
From-SVN: r45785
DJ Delorie [Mon, 24 Sep 2001 20:17:45 +0000 (16:17 -0400)]
* gcc.c-torture/execute/
20010924-1.c: New test.
From-SVN: r45784
Ulrich Weigand [Mon, 24 Sep 2001 20:13:00 +0000 (20:13 +0000)]
flow.c (delete_dead_jumptables): Delete jumptable if the only reference is from the literal pool.
* flow.c (delete_dead_jumptables): Delete jumptable if the only
reference is from the literal pool.
From-SVN: r45783
Neil Booth [Mon, 24 Sep 2001 18:14:46 +0000 (18:14 +0000)]
* testsuite/objc/execute/paste.m: Remove.
From-SVN: r45782
Janis Johnson [Mon, 24 Sep 2001 17:29:37 +0000 (17:29 +0000)]
install.texi (Final install): Request additional information in mail about successful builds.
* doc/install.texi (Final install): Request additional information
in mail about successful builds.
From-SVN: r45779
John David Anglin [Mon, 24 Sep 2001 16:35:04 +0000 (16:35 +0000)]
pa.c (return_addr_rtx): Return NULL_RTX if count is not zero.
* pa.c (return_addr_rtx): Return NULL_RTX if count is not zero. Use
initial value of return pointer register instead of value in frame-20.
Revise comments.
From-SVN: r45778
John David Anglin [Mon, 24 Sep 2001 16:30:28 +0000 (16:30 +0000)]
som.h (ASM_OUTPUT_EXTERNAL): Improve formatting.
* som.h (ASM_OUTPUT_EXTERNAL): Improve formatting.
(ASM_OUTPUT_EXTERNAL_LIBCALL): Only generate a .IMPORT statement for
the libcall if there isn't a referenced identifier for the symbol.
From-SVN: r45777
John David Anglin [Mon, 24 Sep 2001 16:21:09 +0000 (16:21 +0000)]
pa.h (TRAMPOLINE_TEMPLATE): Add two words to the template for non 64-bit machines.
* pa.h (TRAMPOLINE_TEMPLATE): Add two words to the template for
non 64-bit machines. Use these as a plabel for the trampoline.
(TRAMPOLINE_SIZE): Adjust size for new words.
(INITIALIZE_TRAMPOLINE): Initialize new words.
(TRAMPOLINE_ADJUST_ADDRESS): New. Adjust address to make it a
pointer to the plabel in the trampoline.
From-SVN: r45776
John David Anglin [Mon, 24 Sep 2001 16:16:07 +0000 (16:16 +0000)]
pa.c (function_arg): Pass floating arguments in both general and floating registers in indirect...
* pa.c (function_arg): Pass floating arguments in both general and
floating registers in indirect (dynamic) calls when generating code
for the 32 bit ABI and the HP assembler.
From-SVN: r45775
Rainer Orth [Mon, 24 Sep 2001 14:24:42 +0000 (14:24 +0000)]
install.texi: Markup fixes.
* doc/install.texi: Markup fixes.
Use Solaris 2, SunOS 4 as appropriate.
(Specific, *-*-solaris2*): Explain this.
Unconditionally warn against /usr/ucb tools.
Remove Sun as warning, obsolete.
Move X11 header bug workaround here, update patches.
(Specific, sparc-sun-solaris2*): Detail Sun as fix status.
(Specific, sparc-sun-solaris2.7): Update patch 106950 status.
From-SVN: r45773
Richard Sandiford [Mon, 24 Sep 2001 09:17:06 +0000 (09:17 +0000)]
Removed, since DR209 patch was reverted on this branch.
From-SVN: r45771
GCC Administrator [Mon, 24 Sep 2001 07:16:50 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r45767
Bryce McKinlay [Mon, 24 Sep 2001 04:51:50 +0000 (04:51 +0000)]
PosixProcess.java (exitValue): Implement here.
* java/lang/PosixProcess.java (exitValue): Implement here. Throw
IllegalThreadStateException if process hasn't exited yet.
* java/lang/natPosixProcess.cc (exitValue): Removed.
(waitFor): Only check thread interrupted status if waitpid()
returned an error. Use WIFEXITED and WEXITSTATUS to process process's
exit value.
From-SVN: r45766
Zack Weinberg [Mon, 24 Sep 2001 00:27:33 +0000 (00:27 +0000)]
top level:
* errors.h (warning, error, fatal, internal_error): Don't mark
with ATTRIBUTE_PRINTF_n.
* toplev.h (internal_error, fatal_io_error, warning, error,
pedwarn, pedwarn_with_file_and_line, warning_with_file_and_line,
error_with_file_and_line, sorry, error_for_asm, warning_for_asm):
Likewise.
cp:
* Make-lang.in (CXX_OBJS): Take out cp/errfn.o.
(cp/errfn.o): Delete rule.
(cp/error.o): Depend on flags.h.
* errfn.c: Delete file.
* cp-tree.h: Declare warn_deprecated. Remove definitions of
TFF_NAMESPACE_SCOPE, TFF_CLASS_SCOPE, TFF_CHASE_NAMESPACE_ALIAS,
and TFF_TEMPLATE_DEFAULT_ARGUMENTS. #define cp_error, cp_warning,
cp_pedwarn, and cp_compiler_error to error, warning, pedwarn, and
internal_error respectively. Make cp_deprecated into a macro.
Don't define cp_printer typedef or declare cp_printers.
* error.c: Include flags.h.
Delete: struct tree_formatting_info, print_function_argument_list,
print_declaration, print_expression, print_function_declaration,
print_function_parameter, print_type_id, print_cv_qualifier_seq,
print_type_specifier_seq, print_simple_type_specifier,
print_elaborated_type_specifier, print_rest_of_abstract_declarator,
print_parameter_declaration_clause, print_exception_specification,
print_nested_name_specifier, and definition of cp_printers.
(locate_error): New function.
(cp_error_at, cp_warning_at, cp_pedwarn_at): Moved here and
rewritten in terms of locate_error and diagnostic.c.
(cp_tree_printer): Rename cp_printer; wire up to *_to_string
instead of deleted print_* routines. Handle %C, %L, %O, %Q also.
(init_error): Adjust to match.
po:
* POTFILES.in: Remove cp/errfn.c.
From-SVN: r45765
Richard Kenner [Sun, 23 Sep 2001 23:35:38 +0000 (23:35 +0000)]
function.c (pop_function_context_from): var_refs_queue and temp slots now in GC memory.
* function.c (pop_function_context_from): var_refs_queue
and temp slots now in GC memory.
(mark_function_status, free_after_compilation): Likewise;
also struct function now in GC memory.
(assign_stack_temp_for_type): struct temp_slot now in GC memory.
(combine_temp_slots): Likewise.
(schedule_fixup_var_refs): var_refs_queue now in GC memory.
(prepare_function_start): Use GC memory for struct function.
(mark_temp_slot): Deleted.
(gcc_mark_struct_function): struct function now in GC memory.
From-SVN: r45764
Richard Kenner [Sun, 23 Sep 2001 22:50:40 +0000 (22:50 +0000)]
fold-const.c (extract_muldiv, [...]): Only adjust code for division, not modulus.
* fold-const.c (extract_muldiv, case PLUS_EXPR): Only adjust
code for division, not modulus.
From-SVN: r45763
Richard Kenner [Sun, 23 Sep 2001 22:37:05 +0000 (22:37 +0000)]
* rtl.def (MEM): Remove obsolete part of comment.
From-SVN: r45762
GCC Administrator [Sun, 23 Sep 2001 07:16:11 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r45760
Anthony Green [Sun, 23 Sep 2001 01:08:05 +0000 (01:08 +0000)]
old fix
From-SVN: r45759
Anthony Green [Sun, 23 Sep 2001 01:05:55 +0000 (01:05 +0000)]
misc fixes
From-SVN: r45758
Joseph Myers [Sat, 22 Sep 2001 19:06:29 +0000 (20:06 +0100)]
c-format.c (init_function_format_info): Check __builtin_printf and __builtin_fprintf even if -ffreestanding.
* c-format.c (init_function_format_info): Check __builtin_printf
and __builtin_fprintf even if -ffreestanding. Check C99 functions
in gnu89 mode.
testsuite:
* gcc.dg/format/builtin-1.c, gcc.dg/format/ext-6.c: New tests.
From-SVN: r45757
Alexandre Petit-Bianco [Sat, 22 Sep 2001 18:50:09 +0000 (11:50 -0700)]
re PR java/4360 (libjava fails to compile on i686-pc-linux-gnu (AttributedString))
2001-09-22 Alexandre Petit-Bianco <apbianco@redhat.com>
* decl.c (init_decl_processing): Fixed typo in predef_filenames
last three initializations. Fixes PR java/4360.
( http://gcc.gnu.org/ml/gcc-patches/2001-09/msg00903.html )
From-SVN: r45756
Richard Kenner [Sat, 22 Sep 2001 15:13:42 +0000 (15:13 +0000)]
c-common.c (format_attribute_table): Remove decl.
* c-common.c (format_attribute_table): Remove decl.
* tree.h (format_attribute_table, lang_attribute_table): New decls.
(lang_attribute_common): Likewise.
From-SVN: r45754
Richard Kenner [Sat, 22 Sep 2001 13:59:01 +0000 (09:59 -0400)]
attribs.c: New file, from c-common.c.
* attribs.c: New file, from c-common.c.
(attribute_tables): Now four elements.
(format_attribute_table, lang_attribute_common): New variables.
(init_attributes): Reflect above changes.
(handle_mode_attribute): Delete check for wider than uintmax.
* c-common.c: Delete parts moved to attribs.c.
(enum attrs): Deleted; unused.
(c_format_attribute_table): New variable.
(c_common_lang_init): Initialize format_attribute_table with it.
* c-common.h (decl_attributes): Remove decl.
* tree.h (decl_attribute): Move it to here.
* Makefile.in (C_AND_OBJS_OBJS): Add attribs.o.
(attribs.o): New rule.
From-SVN: r45753
Richard Earnshaw [Sat, 22 Sep 2001 13:32:38 +0000 (13:32 +0000)]
configure.in (__EXTENSIONS__): Define.
* libI77/configure.in (__EXTENSIONS__): Define.
* libI77/config.h.in, libI77/conifgure: regenerate.
* libU77/configure.in (__EXTENSIONS__): Likewise.
From-SVN: r45752
Richard Kenner [Sat, 22 Sep 2001 13:27:33 +0000 (13:27 +0000)]
function.c (fix_lexical_address): Use set_mem_alias_set.
* function.c (fix_lexical_address): Use set_mem_alias_set.
(expand_function_start): Likewise.
* config/alpha/alpha.h (SETUP_INCOMING_VARARGS): Likewise.
From-SVN: r45751
Richard Kenner [Sat, 22 Sep 2001 13:23:14 +0000 (13:23 +0000)]
* varasm.c (output_constant): Fix unused variable warning.
From-SVN: r45750
Richard Kenner [Sat, 22 Sep 2001 13:14:40 +0000 (13:14 +0000)]
attribs.c: New file, from c-common.c.
* attribs.c: New file, from c-common.c.
(attribute_tables): Now four elements.
(format_attribute_table, lang_attribute_common): New variables.
(init_attributes): Reflect above changes.
(handle_mode_attribute): Delete check for wider than uintmax.
* c-common.c: Delete parts moved to attribs.c.
(enum attrs): Deleted; unused.
(c_format_attribute_table): New variable.
(c_common_lang_init): Initialize format_attribute_table with it.
* c-common.h (decl_attributes): Remove decl.
* tree.h (decl_attribute): Move it to here.
* Makefile.in (C_AND_OBJS_OBJS): Add attribs.o.
(attribs.o): New rule.
* ch/Make-lang.in (cc1chill): Add attribs.o.
* cp/Make-lang.in (CXX_C_OBJS): Add attribs.o.
From-SVN: r45749
George Helffrich [Sat, 22 Sep 2001 10:36:11 +0000 (19:36 +0900)]
strlen0.f: New test.
2001-09-22 George Helffrich <george@geo.titech.ac.jp>
* g77.dg/strlen0.f: New test.
From-SVN: r45748
George Helffrich [Sat, 22 Sep 2001 10:35:05 +0000 (19:35 +0900)]
com.c (ffecom_subscript_check_): Loosen subscript checking rules for character strings...
Thu Sep 20 15:05:20 JST 2001 George Helffrich <george@geo.titech.ac.jp>
* com.c (ffecom_subscript_check_): Loosen subscript checking rules
for character strings, to permit substring expressions like
string(1:0).
* news.texi: Document this as a new feature.
From-SVN: r45747
Andreas Jaeger [Sat, 22 Sep 2001 08:42:05 +0000 (10:42 +0200)]
* builtins.c (c_getstr): Remove unused variable.
From-SVN: r45746
GCC Administrator [Sat, 22 Sep 2001 07:16:42 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r45745
Alexandre Petit-Bianco [Sat, 22 Sep 2001 05:03:35 +0000 (22:03 -0700)]
re PR java/4366 (java class initialization bug)
2001-09-20 Alexandre Petit-Bianco <apbianco@redhat.com>
* parse.y (patch_method_invocation): Build class initialization
when static finals are used to qualify method invocation.
Fixes PR java/4366.
( http://gcc.gnu.org/ml/gcc-patches/2001-09/msg00880.html )
From-SVN: r45743
Richard Henderson [Sat, 22 Sep 2001 01:21:04 +0000 (18:21 -0700)]
reload1.c (reload): Use delete_insn instead of splatting NOTE_INSN_DELETED.
* reload1.c (reload): Use delete_insn instead of splatting
NOTE_INSN_DELETED.
From-SVN: r45740
Richard Henderson [Fri, 21 Sep 2001 21:06:18 +0000 (14:06 -0700)]
reload.c (push_secondary_reload): Don't check for "=" in output constraint after ""->ALL_REGS check.
* reload.c (push_secondary_reload): Don't check for "=" in output
constraint after ""->ALL_REGS check.
From-SVN: r45739
Richard Henderson [Fri, 21 Sep 2001 20:43:54 +0000 (13:43 -0700)]
* predict.c (expected_value_to_br_prob): Use pc_set.
From-SVN: r45738
Richard Henderson [Fri, 21 Sep 2001 20:42:14 +0000 (13:42 -0700)]
optabs.c (init_one_libfunc): Gen a FUNCTION_DECL for use by ENCODE_SECTION_INFO...
* optabs.c (init_one_libfunc): Gen a FUNCTION_DECL for use by
ENCODE_SECTION_INFO; get SYMBOL_REF from make_decl_rtl.
From-SVN: r45737
Richard Henderson [Fri, 21 Sep 2001 20:26:44 +0000 (13:26 -0700)]
rtl.h (LCT_RETURNS_TWICE): New.
* rtl.h (LCT_RETURNS_TWICE): New.
* calls.c (emit_call_1): Set current_function_calls_setjmp for
ECF_RETURNS_TWICE.
(emit_library_call_value_1): Map LCT_RETURNS_TWICE
to ECF_RETURNS_TWICE.
* except.c (sjlj_emit_function_enter): Use LCT_RETURNS_TWICE for
call to setjmp.
* unwind-sjlj.c: Invent the setjmp.h declarations if inhibit_libc.
* config/stormy16/stormy16.h (DONT_USE_BUILTIN_SETJMP): New.
(JMP_BUF_SIZE): New.
From-SVN: r45736
Richard Henderson [Fri, 21 Sep 2001 20:08:10 +0000 (13:08 -0700)]
stormy16.h (REG_CLASS_FROM_LETTER): Map 'd' to R8_REGS.
* config/stormy16/stormy16.h (REG_CLASS_FROM_LETTER): Map 'd'
to R8_REGS.
From-SVN: r45735
Richard Henderson [Fri, 21 Sep 2001 16:59:12 +0000 (09:59 -0700)]
jvm.h (_Jv_VTable): Handle function descriptors for ia64...
* include/jvm.h (_Jv_VTable): Handle function descriptors for ia64;
add get_method, set_method, vtable_elt_size, new_vtable.
(_Jv_ArrayVTable): Derive from _Jv_VTable.
* resolve.cc (_Jv_PrepareClass): Use new _Jv_VTable methods.
* interpret.cc (_Jv_InterpMethod::continue1): Likewise.
* java/lang/natClassLoader.cc (_Jv_NewArrayClass): Likewise.
From-SVN: r45734
Richard Henderson [Fri, 21 Sep 2001 16:58:22 +0000 (09:58 -0700)]
tree.def (FDESC_EXPR): New.
gcc/
* tree.def (FDESC_EXPR): New.
* expr.c (expand_expr): Handle it.
* varasm.c (initializer_constant_valid_p): Likewise.
(output_constant): Likewise.
* defaults.h (TARGET_VTABLE_USES_DESCRIPTORS): New.
* config/ia64/ia64.h (TARGET_VTABLE_USES_DESCRIPTORS): New.
(ASM_OUTPUT_FDESC): New.
* doc/tm.texi: Document the new macros.
gcc/cp/
* class.c (set_vindex): Mind TARGET_VTABLE_USES_DESCRIPTORS.
(build_vtbl_initializer): Likewise.
(build_vfn_ref): New.
* cp-tree.h: Declare it.
* call.c (build_over_call): Use it.
* decl2.c (mark_vtable_entries): Mark FDESC_EXPR.
* typeck.c (get_member_function_from_ptrfunc): Mind descriptors.
gcc/java/
* class.c (get_dispatch_table): Handle function descriptors.
(build_dtable_decl): Likewise.
* expr.c (build_invokevirtual): Likewise.
gcc/testsuite/
* g++.old-deja/g++.abi/ptrmem.C: Update for ia64 c++ abi.
* g++.old-deja/g++.abi/vtable2.C: Likewise.
From-SVN: r45733
Alexandre Petit-Bianco [Fri, 21 Sep 2001 16:01:45 +0000 (09:01 -0700)]
parse.h: (WFL_STRIP_BRACKET): Re-written using build_type_name_from_array_name.
2001-09-19 Alexandre Petit-Bianco <apbianco@redhat.com>
* parse.h: (WFL_STRIP_BRACKET): Re-written using
build_type_name_from_array_name.
(STRING_STRIP_BRACKETS): New macro.
* parse.y (build_type_name_from_array_name): New function.
(array_creation_expression:): Accumulate []s instead of [s.
(cast_expression:): Accumulate []s instead of [s after cast type
name.
(build_array_from_name): Local string deleted, use
build_type_name_from_array_name.
(build_unresolved_array_type): Accumulate []s instead of [s after
type name.
(register_fields): Fixed comment.
(resolve_class): Local name, base deleted, new locals tname and
array_dims. Use build_type_name_from_array_name. Use array_dims to
build array type.
(purify_type_name): Use STRING_STRIP_BRACKETS.
( http://gcc.gnu.org/ml/gcc-patches/2001-09/msg00779.html )
From-SVN: r45732
Alexandre Petit-Bianco [Fri, 21 Sep 2001 15:58:35 +0000 (08:58 -0700)]
stringpool.c (get_identifier_with_length): New function.
2001-09-19 Alexandre Petit-Bianco <apbianco@redhat.com>
* stringpool.c (get_identifier_with_length): New function.
* tree.h (get_identifier_with_length): New prototype.
( http://gcc.gnu.org/ml/gcc-patches/2001-09/msg00779.html )
From-SVN: r45731
Richard Earnshaw [Fri, 21 Sep 2001 15:34:54 +0000 (15:34 +0000)]
cfgcleanup.c (merge_blocks_move_successor_nojumps): Don't leave ADDR_VEC or ADDR_DIFF_VEC jump insns as part of the basic block...
* cfgcleanup.c (merge_blocks_move_successor_nojumps): Don't leave
ADDR_VEC or ADDR_DIFF_VEC jump insns as part of the basic block
once merging is complete.
From-SVN: r45730
Richard Kenner [Fri, 21 Sep 2001 15:16:31 +0000 (15:16 +0000)]
* integrate.c (allocate_initial_values): Eliminate unused arg warning.
From-SVN: r45729
Richard Kenner [Fri, 21 Sep 2001 15:08:52 +0000 (11:08 -0400)]
Whitespace changes
From-SVN: r45728
Richard Earnshaw [Fri, 21 Sep 2001 14:39:28 +0000 (14:39 +0000)]
cfgcleanup.c (flow_find_cross_jump): Delete any REG_EQUAL notes that would be invalid after a merge.
* cfgcleanup.c (flow_find_cross_jump): Delete any REG_EQUAL notes
that would be invalid after a merge.
From-SVN: r45727
Jan Hubicka [Fri, 21 Sep 2001 12:55:18 +0000 (14:55 +0200)]
basic-block.h (flow_delete_insn, [...]): Kill.
* basic-block.h (flow_delete_insn, flow_delete_insn_chain): Kill.
* cfg.c (delete_insn): Rename from ....; use remove_insn; do not
remove some labels.
(flow_delete_insn): This one.
(delete_insn_chain): Rename from ...; do not care labels.
(flow_delete_insn_chain): ... this one.
(flow_delete_block): Remove the insns one BB has been expunged.
(merge_blocks_nomove): Likewise.
(try_redirect_by_replacing_jump): Use delete_insn[_chain]; do not care
updating BB boundaries.
(tidy_fallthru_edge): Likewise.
(commit_one_edge_insertion): Likewise.
* cfgbuild.c (find_basic_block): Likewise.
(find_basic_blocks_1): Likewise.
* cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Likewise.
(try_crossjump_to_edge): Likewise.
(try_optimize_cfg): Likewise.
* cse.c (delete_trivially_dead_insns): Likewise.
* df.c (df_insn_delete): Likewise.
* doloop.c (doloop_modify): Use delete_related_insns.
* emit-rtl.c (try_split): Likewise.
(remove_insn): Update BB boundaries.
* expect.c (connect_post_landing_pads): Use delete_related_insns.
* flow.c (delete_dead_jumptables): Use delete_insn[_chain]; do not care
updating BB boundaries.
(propagate_block_delete_insn): Likewise.
(propagate_block_delete_libcall): Likewise.
* function.c (delete_handlers): Use delete_related_insns.
(thread_prologue_and_epilogue_insns): Likewise.
* gcse.c (delete_null_pointer_checks): Use delete_related_insns.
* genpeep.c (gen_peephole): Use delete_related_insns.
* ifcvt.c (noce_process_if_block): Use delete_insn; do not care updating
BB boundaries.
(find_cond_trap): Likewise.
* integrate.c (save_for_inline): Use delete_related_insns.
(copy_insn_list): Likewise.
* jump.c (pruge_linie_number_notes): Likewise.
(duplicate_loop_exit_test): Likewise.
(delete_computation): Likewise.
(delete_related_insn): Rename from ...; use delete_insn
(delete_insn): ... this one.
(redirect_jump): Use delete_related_insns.
* loop.c (scan_loop): Likewise.
(move_movables): Likewise.
(find_and_verify_loops): Likewise.
(check_dbra_loop): Likewise.
* recog.c (peephole2_optimize): Likewise.
* reg-stack.c (delete_insn_for_stacker): Remove.
(move_for_stack_reg): Use delete_insn.
* regmove.c (combine_stack_adjustments_for_block): Likewise.
* reload1.c (delete_address_reloads): Use delete_related_insns.
(fixup_abnormal_edges): Use delete_insn.
* recog.c (emit_delay_sequence): Use delete_related_insns.
(delete_from-delay_slot): Likewise.
(delete_scheduled_jump): likewise.
(optimize_skip): Likewise.
(try_merge_delay_insns): Likewise.
(full_simple_delay_slots): Likewise.
(fill_slots_from_thread): Likewise.
(relax_delay_slots): Likewise.
(make_return_insns): Likewise.
(dbr_schedule): Likewise.
* rtl.h (delete_insn): Rename to delete_related_insns.
(delete_insn, delete_insn_chain): New prototypes.
* ssa-ccp (sse_fast_dce): Remove deleting of DEF, as it is done
by df_insn_delete already.
* ssa-dce.c (delete_insn_bb): Use delete_insn.
* ssa.c (convert_from_ssa): Use delete_related_insns.
* unroll.c (unroll_loop): Likewise.
(calculate_giv_inc): Likewise.
(copy_loop_body): Likewise.
* i386-protos.h (ix86_libcall_value, ix86_function_value,
ix86_function_arg_regno_p, ix86_function_arg_boundary,
ix86_return_in_memory, ix86_function_value): Declare.
* i386.c (x86_64_int_parameter_registers, x86_64_int_return_registers):
new static valurables.
(x86_64_reg_class): New enum
(x86_64_reg_class_name): New array.
(classify_argument, examine_argument, construct_container,
merge_classes): New static functions.
(optimization_options): Enable flag_omit_frame_pointer and disable
flag_pcc_struct_return on 64bit.
(ix86_libcall_value, ix86_function_value,
ix86_function_arg_regno_p, ix86_function_arg_boundary,
ix86_return_in_memory, ix86_function_value): New global functions.
(init_cumulative_args): Refuse regparm on x86_64, set maybe_vaarg.
(function_arg_advance): Handle x86_64 passing conventions.
(function_arg): Likewise.
* i386.h (FUNCTION_ARG_BOUNDARY): New macro.
(RETURN_IN_MEMORY): Move offline.
(FUNCTION_VALUE, LIBCALL_VALUE): Likewise.
(FUNCTION_VALUE_REGNO_P): New macro.
(FUNCTION_ARG_REGNO_P): Move offline.
(struct ix86_args): Add maybe_vaarg.
* next.h (FUNCTION_VALUE_REGNO_P): Delete.
* unix.h (FUNCTION_VALUE_REGNO_P): Delete.
From-SVN: r45726
Hartmut Penner [Fri, 21 Sep 2001 11:41:43 +0000 (11:41 +0000)]
s390.md: Changed attributes for scheduling.
2001-09-21 Hartmut Penner <hpenner@de.ibm.com>
* s390.md: Changed attributes for scheduling.
* s390.c: (s390_adjust_cost, s390_adjust_priority)
Changed scheduling
From-SVN: r45725