OSDN Git Service

pf3gnuchains/gcc-fork.git
23 years ago * flow.c (propagate_block): If block has no successors, stores to
kenner [Wed, 31 May 2000 11:58:35 +0000 (11:58 +0000)]
* flow.c (propagate_block): If block has no successors, stores to
frame are dead if not used.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34296 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * tree.h (TREE_CODE_LENGTH): New macro.
kenner [Wed, 31 May 2000 11:55:53 +0000 (11:55 +0000)]
* tree.h (TREE_CODE_LENGTH): New macro.
* c-common.c (c_find_base_decl): Use it.
* expr.c (safe_from_p): Likewise.
* print-tree.c (print_node): Likewise.
* tree.c (make_node, copy_node, get_identifier): Likewie.
(first_rtl_op, contains_placeholder_p, substitute_in_expr): Likewise.
(build, build_nt, build_parse_node, simple_cst_equal): Likewise.
* fold-const.c (make_range): Likewise.
(fold): Likewise; also use first_rtl_op.
* c-iterate.c (collect_iterators): Use first_rtl_op.
* calls.c (calls_function_1): Likewise; also rename TYPE to CLASS.
Use IS_EXPR_CODE_CLASS.
(preexpand_calls): Likewise.
* ggc-common.c (ggc_mark_trees): Rework to use first_rtl_op
and TREE_CODE_LENGTH.
* stmt.c (warn_if_unused_value): If no operands, no unused value.
* ch/lang.c (deep_const_expr): Use first_rtl_op.
* ch/satisfy.c (satisfy): Use TREE_CODE_LENGTH.
* cp/method.c (mangle_expression): Use TREE_CODE_LENGTH.
* cp/tree.c (break_out_calls, build_min_nt): Use TREE_CODE_LENGTH.
(built_min, cp_tree_equal): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34295 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoAdd blank line
kenner [Wed, 31 May 2000 11:50:44 +0000 (11:50 +0000)]
Add blank line

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34294 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoFix formatting of comment
kenner [Wed, 31 May 2000 11:46:10 +0000 (11:46 +0000)]
Fix formatting of comment

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34293 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoAdd field ``name'' to floatformat.
cagney [Wed, 31 May 2000 11:00:54 +0000 (11:00 +0000)]
Add field ``name'' to floatformat.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34292 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * stmt (expand_end_case): Reorder conversion sequence for jump
nathan [Wed, 31 May 2000 10:57:19 +0000 (10:57 +0000)]
* stmt (expand_end_case): Reorder conversion sequence for jump
table to avoid extra truncations.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34291 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * decl.c (grok_reference_init): Pass LOOKUP_ONLYCONVERTING.
jason [Wed, 31 May 2000 08:14:29 +0000 (08:14 +0000)]
    * decl.c (grok_reference_init): Pass LOOKUP_ONLYCONVERTING.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34290 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agonew
jason [Wed, 31 May 2000 08:14:17 +0000 (08:14 +0000)]
new

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34289 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
law [Wed, 31 May 2000 07:45:08 +0000 (07:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34288 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * ifcvt.c (cond_exec_process_if_block): Do nothing if the last insn
law [Wed, 31 May 2000 07:33:02 +0000 (07:33 +0000)]
    * ifcvt.c (cond_exec_process_if_block): Do nothing if the last insn
        in the block is more than just a simple conditional branch.
        (noce_process_if_block): Similarly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34287 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * call.c (add_template_candidate_real): Handle member template
mmitchel [Wed, 31 May 2000 06:53:04 +0000 (06:53 +0000)]
* call.c (add_template_candidate_real): Handle member template
constructors for classes with virtual bases.
(build_user_type_conversion_1): Use in_charge_arg_for_name.
(build_new_method_call): Use DECL_NONSTATIC_MEMBER_FUNCTION_P.

* ir.texi: Update thunk documentation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34284 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * optabs.c (prepare_float_lib_cmp): Protect *px and *py from
law [Wed, 31 May 2000 04:27:56 +0000 (04:27 +0000)]
* optabs.c (prepare_float_lib_cmp): Protect *px and *py from
queue.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34283 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoAllow HIGH/LO_SUM in the prologue
meissner [Wed, 31 May 2000 01:36:58 +0000 (01:36 +0000)]
Allow HIGH/LO_SUM in the prologue

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34281 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * combine.c (get_pos_from_mask): Test exact_log2 result as signed.
rth [Wed, 31 May 2000 00:44:06 +0000 (00:44 +0000)]
    * combine.c (get_pos_from_mask): Test exact_log2 result as signed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34280 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * include/name-finder.h: Include <sys/wait.h>.
tromey [Tue, 30 May 2000 23:26:02 +0000 (23:26 +0000)]
* include/name-finder.h: Include <sys/wait.h>.
(_Jv_name_finder::pid): Now of type `pid_t'.
(_Jv_name_finder::~_Jv_name_finder): Call waitpid().
* java/lang/Throwable.java (CPlusPlusDemangler.close): Call
`proc.waitFor()'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34279 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * Makefile.in (objalloc.o): Depend on config.h
law [Tue, 30 May 2000 21:07:43 +0000 (21:07 +0000)]
    * Makefile.in (objalloc.o): Depend on config.h

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34277 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * Makefile.in (objalloc.o): Depend on config.h
law [Tue, 30 May 2000 21:06:31 +0000 (21:06 +0000)]
    * Makefile.in (objalloc.o): Depend on config.h

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34275 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * bb-reorder.c (emit_jump_to_block_after): Protect use of HAVE_return.
rth [Tue, 30 May 2000 21:02:06 +0000 (21:02 +0000)]
    * bb-reorder.c (emit_jump_to_block_after): Protect use of HAVE_return.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34274 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agorestore old algorighm for char_macro_*_fix routines
korbb [Tue, 30 May 2000 20:55:50 +0000 (20:55 +0000)]
restore old algorighm for char_macro_*_fix routines

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34273 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoSplit the ChangeLog
law [Tue, 30 May 2000 20:50:33 +0000 (20:50 +0000)]
Split the ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34272 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agorestore old algorighm for char_macro_*_fix routines
korbb [Tue, 30 May 2000 20:24:44 +0000 (20:24 +0000)]
restore old algorighm for char_macro_*_fix routines

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34271 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agodiff of diff does not work well, so use expected test result files
korbb [Tue, 30 May 2000 19:41:37 +0000 (19:41 +0000)]
diff of diff does not work well, so use expected test result files

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34270 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * call.c (joust): Fix handling of overloaded builtin operators.
mmitchel [Tue, 30 May 2000 17:39:59 +0000 (17:39 +0000)]
* call.c (joust): Fix handling of overloaded builtin operators.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34269 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * config/alpha/alpha.md (*setne_internal): Use match_operator
rth [Tue, 30 May 2000 15:52:03 +0000 (15:52 +0000)]
    * config/alpha/alpha.md (*setne_internal): Use match_operator
        instead of working down from insn.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34268 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * cp-tree.h (DECL_ANTICIPATED): New macro.
zack [Tue, 30 May 2000 15:44:20 +0000 (15:44 +0000)]
* cp-tree.h (DECL_ANTICIPATED): New macro.
Document new use of DECL_LANG_FLAG_7.
* decl.c (builtin_function): Set DECL_ANTICIPATED on builtins
in the user namespace.
* lex.c (do_identifier): If the identifier's declaration has
DECL_ANTICIPATED on, it has not yet been declared.  But do not
replace it with an ordinary implicit declaration.

* tinfo2.cc: Include stdlib.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34267 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * MAINTAINERS: Add self as i18n maintainer
pthomas [Tue, 30 May 2000 14:46:26 +0000 (14:46 +0000)]
* MAINTAINERS: Add self as i18n maintainer

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34266 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * invoke.texi (-Wtraditional): Update WRT function macros.
ghazi [Tue, 30 May 2000 14:37:22 +0000 (14:37 +0000)]
* invoke.texi (-Wtraditional): Update WRT function macros.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34265 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoupdate explicit instantiation docs
jason [Tue, 30 May 2000 08:47:25 +0000 (08:47 +0000)]
update explicit instantiation docs

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34264 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * except.c (free_exception_table): Do not free NULL.
phdm [Tue, 30 May 2000 07:58:30 +0000 (07:58 +0000)]
* except.c (free_exception_table): Do not free NULL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34263 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
law [Tue, 30 May 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34262 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDocument FUNCTION_OK_FOR_SIBCALL.
rth [Tue, 30 May 2000 06:12:37 +0000 (06:12 +0000)]
Document FUNCTION_OK_FOR_SIBCALL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34261 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * cpplib.c (do_if): Don't save and restore only_seen_white here.
zack [Tue, 30 May 2000 02:40:48 +0000 (02:40 +0000)]
* cpplib.c (do_if): Don't save and restore only_seen_white here.
* cppexp.c (_cpp_parse_expr): Save and restore only_seen_white
and skipping here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34260 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* flow.c (mark_used_reg): If a register is unconditionally live,
rearnsha [Mon, 29 May 2000 22:37:37 +0000 (22:37 +0000)]
* flow.c (mark_used_reg): If a register is unconditionally live,
remove any conditional death information.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34259 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * final.c (current_output_insn): New.
rth [Mon, 29 May 2000 22:02:42 +0000 (22:02 +0000)]
    * final.c (current_output_insn): New.
        (final_scan_insn): Set it.
        * output.h: Declare it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34258 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * stor-layout.c (finalize_record_size): Fix typo.
rth [Mon, 29 May 2000 21:46:43 +0000 (21:46 +0000)]
    * stor-layout.c (finalize_record_size): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34257 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * jump.c (redirect_jump): Don't emit NOTE_INSN_FUNCTION_END
rth [Mon, 29 May 2000 21:39:55 +0000 (21:39 +0000)]
    * jump.c (redirect_jump): Don't emit NOTE_INSN_FUNCTION_END
        if nlabel is null.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34256 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * concatstr.c, exh.c: Include stdlib.h and string.h.
zack [Mon, 29 May 2000 19:34:51 +0000 (19:34 +0000)]
* concatstr.c, exh.c: Include stdlib.h and string.h.
* delaycase.c, eqstr.c, memmove.c, printbuffer.c,
printevent.c, sendbuffer.c, waitbuffer.c: Include string.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34255 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
zack [Mon, 29 May 2000 19:33:52 +0000 (19:33 +0000)]
* hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
if HAVE_STRING_H.
* pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
* objalloc.c: Include config.h.  Include stdlib.h and don't
declare malloc or free if HAVE_STDLIB_H.
* strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
else declare malloc without prototype.  Include string.h if
HAVE_STRING_H, else declare memset without prototype.  Don't
include stddef.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34254 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * cpplib.h (cpp_reader): Remove if_stack. Change
zack [Mon, 29 May 2000 16:19:32 +0000 (16:19 +0000)]
* cpplib.h (cpp_reader): Remove if_stack.  Change
potential_control_macro to a cpp_hashnode *.  Add skipping flag.
* cpphash.h (struct ihash): Change control_macro to a
cpp_hashnode * and shorten name to cmacro.
Add NEVER_REINCLUDE constant.

* cppfiles.c (redundant_include_p): Drop cpp_reader argument.
Examine the cmacro node directly, no need to call cpp_defined.
(_cpp_execute_include, read_include_file): Set cmacro to
NEVER_REINCLUDE, not U"".
* cpplex.c (cpp_push_buffer): Don't set new->if_stack.
(cpp_get_token): If pfile->skipping is true, discard text and
keep scanning until we hit a directive; don't expand macros.

* cpplib.c (struct if_stack): Remove if_succeeded, add
was_skipping. Change control_macro to a cpp_hashnode * and
shorten name to cmacro.  Remove typedef IF_STACK.
(parse_ifdef), detect_if_not_defined): Return a cpp_hashnode *.
(conditional_skip, skip_if_group,
consider_directive_while_skipping): Delete.
(push_conditional): New.
(_cpp_handle_directive): Don't process directives other than
conditionals if we are skipping.

(do_ifdef, do_ifndef, do_if, do_else, do_elif, do_endif):
Update to new scheme.
(validate_else): Skip rest of line here, unconditionally.
(_cpp_unwind_if_stack): The stack is per-buffer.  Force
pfile->skipping off.

(all): Remove `scare quotes' from error messages.

* gcc.dg/cpp-mi.c: Add another case, cpp-mix.h, where the
guard macro is already defined when the header is first
included.
* gcc.dg/cpp-mix.h: New file.
* gcc.dg/endif-label.c: Update patterns to match compiler.

* g++.brendan/complex1.C: Declare abort.
* g++.law/refs4.C: Remove XFAIL.
* g++.oliva/expr2.C: Declare abort and exit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34253 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * cp-tree.h (CLASSTYPE_ALIGN_UNIT): New macro.
mmitchel [Mon, 29 May 2000 15:35:06 +0000 (15:35 +0000)]
* cp-tree.h (CLASSTYPE_ALIGN_UNIT): New macro.
* class.c (layout_empty_base): Use CLASSTYPE_ALIGN_UNIT, not
CLASSTYPE_ALIGN.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34252 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * function.c (emit_return_into_block): New line_note arg; emit it.
rth [Mon, 29 May 2000 08:18:30 +0000 (08:18 +0000)]
    * function.c (emit_return_into_block): New line_note arg; emit it.
        (thread_prologue_and_epilogue_insns): Attempt to locate a line note
        for the close brace to accompany HAVE_return.  Move all line notes
        following the epilogue to before the NOTE_INSN_EPILOGUE_BEG.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34251 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * longlong.h [__alpha] (count_leading_zeros): New.
rth [Mon, 29 May 2000 07:52:26 +0000 (07:52 +0000)]
    * longlong.h [__alpha] (count_leading_zeros): New.
        (count_trailing_zeros): New.
        (COUNT_LEADING_ZEROS_0): New.

        * config/alpha/alpha.c (alpha_zero_comparison_operator): New.
        (alpha_split_conditional_move): New.
        * config/alpha/alpha-protos.h: Prototype them.
        * config/alpha/alpha.h (PREDICATE_CODES): Update.
        (CPP_CPU_DEFAULT_SPEC): Fix typo for EV67.
        * config/alpha/alpha.md: Update ffs cix commentary.
        (*ze_and_ne): New.
        (*nabssf2, *nabsdf2): New.
        (*mov[qhsd]icc_internal): Use add_operand.
        (if_then_else constant splitters): New.
        (*cmp_sadd_di, *cmp_sadd_si, *cmp_sadd_sidi): New.
        (*cmp_ssub_di, *cmp_ssub_si, *cmp_ssub_sidi): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34250 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
law [Mon, 29 May 2000 07:45:08 +0000 (07:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34249 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * combine.c (force_to_mode) [MINUS]: Convert subtraction from
rth [Mon, 29 May 2000 07:40:51 +0000 (07:40 +0000)]
    * combine.c (force_to_mode) [MINUS]: Convert subtraction from
        a constant to NEG or NOT when conditions allow.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34248 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * combine.c (combine_simplify_rtx): Don't create an if_then_else
rth [Mon, 29 May 2000 07:29:13 +0000 (07:29 +0000)]
    * combine.c (combine_simplify_rtx): Don't create an if_then_else
        unless both args are general_operand.  Don't canonicalize plus
        to ior unless it helps.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34247 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * toplev.c (rest_of_compilation): Set no_new_pseudos after flow1;
rth [Mon, 29 May 2000 07:09:53 +0000 (07:09 +0000)]
    * toplev.c (rest_of_compilation): Set no_new_pseudos after flow1;
        instead track register_life_up_to_date.  Toggle no_new_pseudos
        around if_convert.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34246 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-05-29 Bryce McKinlay <bryce@albatross.co.nz>
bryce [Mon, 29 May 2000 05:26:14 +0000 (05:26 +0000)]
2000-05-29  Bryce McKinlay  <bryce@albatross.co.nz>

* libjava.lang/PR242.java: New file. PR gcj/242.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34245 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* config/rs6000/rs6000.c (output_cbranch): Escape '%' characters
geoffk [Mon, 29 May 2000 05:18:03 +0000 (05:18 +0000)]
* config/rs6000/rs6000.c (output_cbranch): Escape '%' characters
so output_operand doesn't see them.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34244 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * lcm.c (make_preds_opaque): Fix comment.
cpopetz [Sun, 28 May 2000 23:40:20 +0000 (23:40 +0000)]
* lcm.c (make_preds_opaque): Fix comment.
(optimize_mode_switching): Use NORMAL_MODE instead of
MODE_USES_IN_EXIT_BLOCK.  Change leftover instance of
FP_MODE_NONE to no_mode.  Rename MODE_AT_ENTRY to NORMAL_MODE.
Handle insertions before an existing NOTE_INSN_BASIC_BLOCK.
* tm.texi (OPTIMIZE_MODE_SWITCHING): Refer to NORMAL_MODE.
(MODE_USES_IN_EXIT_BLOCK): Delete.
(MODE_AT_ENTRY) Rename to NORMAL_MODE.
* sh.h (MODE_USES_IN_EXIT_BLOCK): Delete.
(MODE_AT_ENTRY): Rename to NORMAL_MODE.
(MODE_NEEDED): Don't look for USE.
(EPILOGUE_USES): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34243 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* gcc.c-torture/execute/20000528-1.c: New test.
aoliva [Sun, 28 May 2000 23:31:55 +0000 (23:31 +0000)]
* gcc.c-torture/execute/20000528-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34242 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * mklibgcc.in (all): Variable initialised to `libgcc'.
phdm [Sun, 28 May 2000 21:52:37 +0000 (21:52 +0000)]
* mklibgcc.in (all): Variable initialised to `libgcc'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34241 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-05-28 Gabriel Dos Reis <gdr@codesourcery.com>
gdr [Sun, 28 May 2000 21:22:12 +0000 (21:22 +0000)]
2000-05-28  Gabriel Dos Reis  <gdr@codesourcery.com>

        * toplev.h (skip_leading_substring): New macro.
        * toplev.c (decode_f_option): Use skip_leading_substring instead
        of strncmp.
        (decode_W_option): Likewise.

cp/

2000-05-28  Gabriel Dos Reis  <gdr@codesourcery.com>

        * decl2.c (lang_decode_option): Use skip_leading_substring instead
        of plain strncmp.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34240 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDocuement that CONSITIONAL_REGISTER_USAGE can modify reg_names.
nickc [Sun, 28 May 2000 21:08:51 +0000 (21:08 +0000)]
Docuement that CONSITIONAL_REGISTER_USAGE can modify reg_names.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34239 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * regclass.c (record_operand_costs): Protect reg_changes_size
rth [Sun, 28 May 2000 20:39:51 +0000 (20:39 +0000)]
    * regclass.c (record_operand_costs): Protect reg_changes_size
        with CLASS_CANNOT_CHANGE_SIZE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34238 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * loop.c (instrument_loop_bct): Set JUMP_LABEL on the new insn.
rth [Sun, 28 May 2000 20:01:28 +0000 (20:01 +0000)]
    * loop.c (instrument_loop_bct): Set JUMP_LABEL on the new insn.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34237 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoRemove duplicate name and extraneous blank line
aoliva [Sun, 28 May 2000 17:36:14 +0000 (17:36 +0000)]
Remove duplicate name and extraneous blank line

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34236 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* g++.old-deja/g++.law/refs4.C: Mark as XFAIL.
aoliva [Sun, 28 May 2000 17:35:16 +0000 (17:35 +0000)]
* g++.old-deja/g++.law/refs4.C: Mark as XFAIL.
* g++.old-deja/g++.law/temps4.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34235 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* expr2.C: New test.
aoliva [Sun, 28 May 2000 14:20:27 +0000 (14:20 +0000)]
* expr2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34234 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* g++.old-deja/g++.brendan/code-gen4.C: Include stdio.h and
aoliva [Sun, 28 May 2000 13:42:47 +0000 (13:42 +0000)]
* g++.old-deja/g++.brendan/code-gen4.C: Include stdio.h and
stdlib.h.  Call abort() on failure.
* g++.old-deja/g++.law/refs4.C: Likewise.
* g++.old-deja/g++.law/temps4.C: Likewise.
* g++.old-deja/g++.brendan/complex1.C: Don't assume argc is 1.
* gcc.c-torture/execute/20000112-1.c: Include string.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34233 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* operators.def (<?): Duplicated, should have been...
aoliva [Sun, 28 May 2000 13:24:58 +0000 (13:24 +0000)]
* operators.def (<?): Duplicated, should have been...
(>?): this.  Fixed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34232 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-05-28 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Sun, 28 May 2000 12:34:53 +0000 (12:34 +0000)]
2000-05-28  Toon Moene  <toon@moene.indiv.nluug.nl>

* bugs.texi: Note that debugging information for
common block items is emitted now.
* news.texi: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34231 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * function.c (diddle_return_value): A pcc-style struct return
rth [Sun, 28 May 2000 12:31:40 +0000 (12:31 +0000)]
    * function.c (diddle_return_value): A pcc-style struct return
        returns a pointer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34230 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
law [Sun, 28 May 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34229 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * cppfiles.c: Read files in, using mmap if possible, then
zack [Sun, 28 May 2000 05:56:38 +0000 (05:56 +0000)]
* cppfiles.c: Read files in, using mmap if possible, then
prescan them separately.
(read_file, read_with_read): New functions.
* cpplex.c: Don't define UCHAR_MAX.
(_cpp_read_and_prescan): Rename to _cpp_prescan.  Don't read
the file here.

* cppinit.c (handle_option): Automatically define __cplusplus,
__OBJC__, __ASEEMBLER__, _LANGUAGE_FORTRAN here when we see
the respective -lang switch.

* cpphash.h (enum node_type, struct hashnode, _cpp_lookup
prototype): Move to...
* cpplib.h: ... here.  Rename struct hashnode to struct
cpp_hashnode and give it a typedef.  Rename _cpp_lookup to
cpp_lookup.  Add 'fe_value' slot, a union tree_node *.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34228 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* config/rs6000/rs6000.md (movsi): Constify 'name'.
geoffk [Sun, 28 May 2000 05:51:16 +0000 (05:51 +0000)]
* config/rs6000/rs6000.md (movsi): Constify 'name'.

* regclass.c [CLASS_CANNOT_CHANGE_SIZE]
(class_can_change_size): New variable.
(reg_changes_size): New variable.
(init_reg_sets_1): Initialise class_can_change_size.
(record_operand_costs): Remove subreg_changes_size.
Don't pass it around.  Instead update reg_changes_size.
(regclass): Initialise and free reg_changes_size.  If a register
changes size, don't preference it to a class that contains
registers that can't change size.
(record_reg_classes): Don't look at subreg_changes_size.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34227 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago Relative to g++.dg/special:
zack [Sun, 28 May 2000 05:38:02 +0000 (05:38 +0000)]
Relative to g++.dg/special:
* conpr-1.C, conpr-2.C, conpr-3.C: Include stdlib.h.

Relative to g++.old-deja:
* g++.brendan/complex1.C, g++.jason/optimize2.C,
g++.mike/p9732b.C, g++.other/addrof1.C, g++.other/dyncast5.C,
g++.other/init5.C, g++.other/init7.C, g++.other/union2.C,
g++.pt/vbase1.C, g++.robertl/eb14.C, g++.robertl/eh990323-1.C,
g++.robertl/eh990323-2.C, g++.robertl/eh990323-3.C,
g++.robertl/eh990323-4.C, g++.robertl/eh990323-5.C,
g++.robertl/ice990323-2.C: Prototype exit and/or abort.

* g++.brendan/nest21.C, g++.eh/rethrow3.C, g++.jason/init3.C,
g++.law/arm15.C, g++.law/cvt2.C, g++.law/visibility17.C,
g++.mike/eh23.C, g++.mike/eh25.C, g++.mike/eh34.C,
g++.mike/eh48.C, g++.mike/eh55.C, g++.mike/p2736.C,
g++.oliva/new1.C, g++.other/align.C, g++.robertl/eb39.C,
g++.robertl/eb54.C, g++.robertl/eb63.C: Include stdlib.h
and/or string.h.

* g++.other/goto1.C: Update expectations for error messages.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34226 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * print-rtl.c (reg_names): Remove const.
rth [Sun, 28 May 2000 03:24:57 +0000 (03:24 +0000)]
    * print-rtl.c (reg_names): Remove const.
        * regclass.c (reg_names): Likewise.
        * regs.h (reg_names): Likewise.
        * hard-reg-set.h (reg_names): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34225 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * config/rs6000/rs6000.md (untyped_call): Use GEN_CALL.
rth [Sun, 28 May 2000 02:59:35 +0000 (02:59 +0000)]
    * config/rs6000/rs6000.md (untyped_call): Use GEN_CALL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34224 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-05-27 Alex Samuel <samuel@codesourcery.com>
mmitchel [Sun, 28 May 2000 02:58:19 +0000 (02:58 +0000)]
2000-05-27  Alex Samuel    <samuel@codesourcery.com>
    Mark Mitchell  <mark@codesourcery.com>

* cp-tree.h (ansi_opname): Make it a macro.
(ansi_assopname): Likewise.
(struct lang_decl_flags): Add assignment_operator_p.
(struct lang_decl): Add operator_code.
(DECL_VTT_PARM): Adjust.
(DECL_OVERLOADED_OPERATOR_P): Return the operator_code for an
overloaded operator.
(SET_OVERLOADED_OPERATOR_CODE): New macro.
(DECL_ASSIGNMENT_OPERATOR_P): New macro.
(DECL_ARRAY_DELETE_OPERATOR_P): Adjust.
(opname_tab): Remove.
(assignop_tab): Likewise.
(operator_name_info_t): New type.
(operator_name_info): New variable.
(assignment_operator_name_info): Likewise.
(build_cp_library_fn): Remove declaration.
(push_cp_library_fn): Likewise.
(operator_name_string): Likewise.
(build_decl_overload): Likewise.
* call.c (print_z_candidates): Simplify.
(build_object_call): Adjust usage of ansi_opname.  Use
DECL_OVERLOADED_OPERATOR_P.
(op_error): Adjust operator name lookup.
(build_conditional_expr): Adjust usage of ansi_opname.
(build_new_op): Likewise.
(build_op_delete_call): Likewise.
(build_over_call): Likewise.
(joust): Use DECL_OVERLOADED_OPERATOR_P.
* decl.c (duplicate_decls): Copy operator_code.
(init_decl_processing): Adjust parameters to push_cp_library_fn.
(builtin_function): Adjust parameters to build_library_fn_1.
(build_library_fn_1): Accept an overloaded operator code.
(build_library_fn): Pass ERROR_MARK.
(build_cp_library_fn): Accept an overloaded operator code.
(push_cp_library_fn): Likewise.
(grokfndecl): Tweak.
(grokdeclarator): Simplify code to compute names of overloaded
operators.  Adjust use of ansi_opname.
(ambi_op_p): Work on tree_codes, not identifiers.
(unary_op_p): Likewise.
(grok_op_properties): Likewise.
(start_function): Use DECL_OVERLOADED_OPERATOR_P.
(lang_mark_tree): Don't try to mark the operator_code.
* decl2.c (grok_function_init): Use DECL_OVERLOADED_OPERATOR_P.
* error.c (dump_decl): Remove special handling for operator
names.
(dump_function_name): Likewise.
(dump_expr): Adjust name lookup of operators.
(op_to_string): Simplify.
(assop_to_string): Likewise.
* init.c (build_new_1): Adjust use of ansi_opname.
* lex.c (opname_tab): Remove.
(assignop_tab): Likewise.
(ansi_opname): Likewise.
(ansi_assopname): Likewise.
(operator_name_string): Likewise.
(reinit_lang_specific): Likewise.
(operator_name_info): New variable.
(assignment_operator_name_info): Likewise.
(init_operators): New function.
(init_parse): Use it.
(do_identifier): Adjust use of ansi_opname.
* method.c (mangle_expression): Don't use ansi_opname for
mangling.
(build_decl_overload_real): Use DECL_OVERLOADED_OPERATOR_P.
(build_decl_overload): Remove.
(build_typename_overload): Use OPERATOR_TYPENAME_FORMAT directly.
(do_build_assign_ref): Adjust use of ansi_opname.
(synthesize_method): Likewise.
(implicitly_declare_fn): Likewise.
* operators.def: New file.
* parse.y (operator): Adjust use of ansi_opname.
* pt.c (tsubst_decl): Use IDENTIFIER_OPNAME_P.
(set_mangled_name_for_template_decl): Don't play games with
current_namespace.
(special_function_p): Adjust use of ansi_opname.
* typeck.c (check_return_expr): Likewise.
* Make-lang.in (cc1plus): Depend on operators.def.
* Makefile.in (lex.o): Likewise.
(decl.o): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34223 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * config/alpha/alpha.c (alpha_does_function_need_gp): Test
rth [Sun, 28 May 2000 02:25:46 +0000 (02:25 +0000)]
    * config/alpha/alpha.c (alpha_does_function_need_gp): Test
        TARGET_PROFILING_NEEDS_GP in the if, instead of with an ifdef.
        (alpha_expand_prologue): Emit prologue_mcount if needed.
        * config/alpha/alpha.h (TARGET_PROFILING_NEEDS_GP): Default to 0.
        * config/alpha/alpha.md (prologue_mcount): New.
        * config/alpha/linux.h (FUNCTION_PROFILER): Remove.
        (TARGET_PROFILING_NEEDS_GP): Undef before redefining.
        * config/alpha/netbsd.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34222 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * config/alpha/elf.h (SELECT_SECTION): Mirror Kenner's May 19
rth [Sun, 28 May 2000 02:21:54 +0000 (02:21 +0000)]
    * config/alpha/elf.h (SELECT_SECTION): Mirror Kenner's May 19
        change to config/elfos.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34221 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * config/alpha/alpha-protos.h (alpha_arg_info_reg_val): Protect
rth [Sun, 28 May 2000 02:18:27 +0000 (02:18 +0000)]
    * config/alpha/alpha-protos.h (alpha_arg_info_reg_val): Protect
        with RTX_CODE.
        (alpha_write_linkage): Protect with BUFSIZ.
        (alpha_need_linkage): Update prototype.
        * config/alpha/alpha.c (function_arg): Move VMS code here.
        (alpha_links_base): Remove.
        (alpha_links): New.
        (mark_alpha_links_node, mark_alpha_links): New.
        (alpha_write_one_linkage): New.
        (alpha_need_linkage): Use a splay tree.  Build the linkage symbol.
        (alpha_write_linkage): Use splay_tree_foreach.
        * config/alpha/alpha.md (call_vms): Use alpha_need_linkage
        to get the linkage symbol.
        (call_value_vms): Likewise.
        * config/alpha/elf.h (output_file_directive): Remove decl.
        (ctors_section, dtors_section): Prototype.
        (sbss_section, sdata_section): Prototype.
        * config/alpha/vms.h (FUNCTION_ARG): Remove.
        (readonly_section, link_section, literals_section): Prototype.
        (ctors_section, dtors_section): Prototype.
        (vms_valid_decl_attribute_p): Remove decl.
        (alpha_arg_type, alpha_arg_info_reg_val): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34220 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * Makefile.in (resource.o): Depend on except.h.
rth [Sun, 28 May 2000 02:17:59 +0000 (02:17 +0000)]
    * Makefile.in (resource.o): Depend on except.h.
        * except.h (output_exception_table_data): Prototype.
        * genconfig.c (gen_peephole2): Prototype.
        * genemit.c (main): Include ggc.h.
        * genoutput.c: Revert parts of last change: include errors.h
        (main): Set progname.
        * recog.c: Include hard-reg-set.h before recog.h.
        * resource.c: Include except.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34219 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* reload.c (get_secondary_mem): Don't widen floating-point modes.
geoffk [Sun, 28 May 2000 01:07:18 +0000 (01:07 +0000)]
* reload.c (get_secondary_mem): Don't widen floating-point modes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34218 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* combine.c (subst): Honour CLASS_CANNOT_CHANGE_SIZE when
geoffk [Sun, 28 May 2000 01:06:11 +0000 (01:06 +0000)]
* combine.c (subst): Honour CLASS_CANNOT_CHANGE_SIZE when
substituting the REG in a (subreg:X (reg:Y ...)).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34217 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * cpplex.c (_cpp_lex_line): Merge vertical space. Flag
neil [Sun, 28 May 2000 01:03:16 +0000 (01:03 +0000)]
* cpplex.c (_cpp_lex_line): Merge vertical space.  Flag
first token of a line BOL.  Update EOF code for this.
Remove illegal directive check - it appears in the (not
yet committed) caller.
* cpplib.h (BOL): New flag.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34216 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * cpplex.c (_cpp_init_toklist): No comment space to initialise.
neil [Sat, 27 May 2000 23:27:36 +0000 (23:27 +0000)]
    * cpplex.c (_cpp_init_toklist): No comment space to initialise.
(_cpp_free_toklist): No comment space to free.
(expand_comment_space): Remove.
        (save_comment_space): Place the comment in the current token and
        not in a separate comment space.
        (_cpp_lex_line): Save comments during plain code and #define
        directives only.
        * cpplib.h (struct _cpp_toklist): Remove comment space.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34215 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * cppexp.c (parse_assertion): Supply extra argument to
neil [Sat, 27 May 2000 23:19:56 +0000 (23:19 +0000)]
* cppexp.c (parse_assertion): Supply extra argument to
_cpp_init_toklist.
* cpplib.c (do_assert, do_unassert): Similarly.
* cpphash.h (_cpp_init_toklist) Update.
(_cpp_expand_token_space): New.
(DUMMY_TOKEN, NO_DUMMY_TOKEN): New.
* cpplex.c (_cpp_init_toklist): New argument.
(parse_string2): New argument multiline_ok.
(spell_token): Take a const cpp_token *.
(INIT_NAME): Replace with INIT_TOKEN_NAME.  Update tokens_used.
(SPELL_ macros): Replace with enum.
(expand_token_space): Replace with _cpp_expand_token_space.
Take COUNT argument.
(IS_DIRECTIVE): Update.
(_cpp_lex_line): Update token structure before parsing number.
Don't assume start at beginning of token list.
(save_comment): Use INIT_TOKEN_NAME.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34214 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * configure.in (stage1_warn_cflags): Add -Wstrict-prototypes
zack [Sat, 27 May 2000 22:34:05 +0000 (22:34 +0000)]
* configure.in (stage1_warn_cflags): Add -Wstrict-prototypes
-Wmissing-prototypes.
* configure: Regenerate.
* gcc.texi: Remove explanation of MD_CALL_PROTOTYPES.

* builtins.c, calls.c: Change all instances of gen_call_* or
gen_sibcall_* to GEN_CALL_* and GEN_SIBCALL_*.
* calls.c (struct_value_size_rtx): Separate definition from
initialization to avoid unused variable warning.

* genflags.c (gen_macro): New function.
(gen_proto): Call it for gen_call_* and gen_sibcall_*.
(gen_nonproto): Delete.
(gen_insn): Put all insns on the same obstack.
(main): Generate prototypes for everything unconditionally.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34213 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * configure.in: Add AC_CHECK_TYPE(ssize_t). Remove commented
zack [Sat, 27 May 2000 22:05:01 +0000 (22:05 +0000)]
* configure.in: Add AC_CHECK_TYPE(ssize_t).  Remove commented
out check for wchar_t.
* acconfig.h: Add template for ssize_t.  Remove @TOP@.
* system.h: Add infrastructure for defining missing
TYPE_MAX/TYPE_MIN macros.  Use it to provide fallback
definitions of UCHAR_MAX and SSIZE_MAX.
* configure: Regenerate.
* config.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34212 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * Makefile.in (libgcc2.ready): Rename to libgcc.ready.
rth [Sat, 27 May 2000 21:37:17 +0000 (21:37 +0000)]
    * Makefile.in (libgcc2.ready): Rename to libgcc.ready.
        Depend on $(LANGUAGES) as well as $(GCC_PATCHES) and fixed
        headers.
        (clean): No need to delete libgcc1.a, libgcc1-asm.a,
        libgcc2.a, or libgcc1.null.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34211 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * Make-lang.in (cplib2.ready): Eradicate.
rth [Sat, 27 May 2000 21:36:52 +0000 (21:36 +0000)]
* Make-lang.in (cplib2.ready): Eradicate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34210 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * config/alpha/alpha.c (hard_fp_register_operand): Mind the mode.
rth [Sat, 27 May 2000 20:34:12 +0000 (20:34 +0000)]
    * config/alpha/alpha.c (hard_fp_register_operand): Mind the mode.
        (hard_int_register_operand): New.
        * config/alpha/alpha-protos.h: Declare it.
        * config/alpha/alpha.h (PREDICATE_CODES): Update.
        * config/alpha/alpha.md (peep2 patterns): Use hard_int_register_operand
        as needed; use peep2_reg_dead_p instead of dead_or_set_p.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34209 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * Makefile.in (recog.o): Don't depend on resource.h.
rth [Sat, 27 May 2000 20:23:15 +0000 (20:23 +0000)]
* Makefile.in (recog.o): Don't depend on resource.h.
* recog.c: Don't include resource.h.
(recog_last_allowed_insn): Remove.
(recog_next_insn): Remove.
(struct peep2_insn_data): New.
(peep2_insn_data, peep2_current): New.
(peep2_next_insn): New.
(peep2_regno_dead_p, peep2_reg_dead_p): New.
(peep2_find_free_register): New.
(peephole2_optimize): Track life information by insn as we go.
* recog.h: Update declarations.
* resource.c (find_free_register, reg_dead_p): Remove.
* resource.h: Remove their declarations.
* toplev.c: Include hard-reg-set.h before recog.h.

* genconfig.c (max_insns_per_peep2): New.
(gen_peephole2): New.
(main): Call it.
* genemit.c (output_peephole2_scratches): Generate calls to
peep2_find_free_register; adjust surrounding code.
(main): Have insn-emit.c include hard-reg-set.h before recog.h.
* genrecog.c (change_state): Don't track last_insn.
(write_action): Write into *_pmatch_len before accepting.
(write_tree): Adjust peephole2_insns and subroutines to match.

* config/i386/i386.md (all peepholes): Use peep2_regno_dead_p.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34208 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * function.c (thread_prologue_epilogue_insns): Don't move the
rth [Sat, 27 May 2000 20:10:38 +0000 (20:10 +0000)]
    * function.c (thread_prologue_epilogue_insns): Don't move the
        line note at the head of the chain.  Only force a lineno note
        before the end of block 0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34207 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * gensupport.c (collect_insn_data): Record the maximum number
rth [Sat, 27 May 2000 20:03:31 +0000 (20:03 +0000)]
    * gensupport.c (collect_insn_data): Record the maximum number
        of alternatives, not the last seen.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34206 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * genoutput.c: Don't include errors.h.
rth [Sat, 27 May 2000 20:01:10 +0000 (20:01 +0000)]
    * genoutput.c: Don't include errors.h.
        (struct data): Add lineno member.
        (have_error): New.
        (scan_operands): Use message_with_line instead of error.
        (validate_insn_alternatives): Likewise.
        (gen_insn): Accept and store the pattern's line number.
        (gen_peephole, gen_expand, gen_split): Likewise.
        (main): Don't set progname.  Pass line_no to gen_foo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34205 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * config/d30v/d30v.c (d30v_print_operand): Handle ':'.
rth [Sat, 27 May 2000 19:53:21 +0000 (19:53 +0000)]
    * config/d30v/d30v.c (d30v_print_operand): Handle ':'.
        * config/d30v/d30v.h (PRINT_OPERAND_PUNCT_VALID_P): Accept ':'.
        * config/d30v/d30v.md (attr predicable): New.
        (all insn patterns): Mark non-predicable patterns; use %: on the rest.
        (andsi3*): Unify into one pattern.
        (iorsi3*, xorsi3*): Likewise.
        (peephole2 patterns): Use peep2_reg_dead_p; verify not a
        conditional return.
        (old cond_exec patterns): Remove.
        (define_cond_exec): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34204 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * tree.h (TREE_CODE_LENGTH): New macro.
kenner [Sat, 27 May 2000 15:21:17 +0000 (15:21 +0000)]
* tree.h (TREE_CODE_LENGTH): New macro.
* c-common.c (c_find_base_decl): Use it.
* expr.c (safe_from_p): Likewise.
* print-tree.c (print_node): Likewise.
* tree.c (make_node, copy_node, get_identifier): Likewie.
(first_rtl_op, contains_placeholder_p, substitute_in_expr): Likewise.
(build, build_nt, build_parse_node, simple_cst_equal): Likewise.
* fold-const.c (make_range): Likewise.
(fold): Likewise; also use first_rtl_op.
* c-iterate.c (collect_iterators): Use first_rtl_op.
* calls.c (calls_function_1): Likewise; also rename TYPE to CLASS.
Use IS_EXPR_CODE_CLASS.
(preexpand_calls): Likewise.
* ggc-common.c (ggc_mark_trees): Rework to use first_rtl_op
and TREE_CODE_LENGTH.
* stmt.c (warn_if_unused_value): If no operands, no unused value.
* ch/lang.c (deep_const_expr): Use first_rtl_op.
* ch/satisfy.c (satisfy): Use TREE_CODE_LENGTH.
* cp/method.c (mangle_expression): Use TREE_CODE_LENGTH.
* cp/tree.c (break_out_calls, build_min_nt): Use TREE_CODE_LENGTH.
(built_min, cp_tree_equal): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34203 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
law [Sat, 27 May 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34202 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* config/rs6000/rs6000.md (movsi_internal1): Use '%a1' rather
geoffk [Sat, 27 May 2000 07:44:25 +0000 (07:44 +0000)]
* config/rs6000/rs6000.md (movsi_internal1): Use '%a1' rather
than '%1(%*)'.
(movdi_internal64): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34201 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* config/rs6000/rs6000.md: Correct order of operands for DImode
geoffk [Sat, 27 May 2000 02:24:32 +0000 (02:24 +0000)]
* config/rs6000/rs6000.md: Correct order of operands for DImode
boolean patterns.

* config/rs6000/rs6000.c (boolean_or_operator): New function.
* config/rs6000/rs6000-protos.h (boolean_or_operator): Prototype it.
* config/rs6000/rs6000.h (PREDICATE_CODES): Add boolean_or_operator.
* config/rs6000/rs6000.md: Use boolean_or_operator instead of
boolean_operator for the boolean patterns without NOTs.

* config/rs6000/rs6000.c (reg_or_logical_cint_operand): Rename
from reg_or_u_cint_operand.  Change comment and behaviour.
(logical_operand): Clean up, add assertion.
(non_logical_cint_operand): Also check for
reg_or_logical_cint_operand.
* config/rs6000/rs6000.h (PREDICATE_CODES): Update.
* config/rs6000/rs6000.md (iorsi3): Use reg_or_logical_cint_operand
in the expander.
(xorsi3): Likewise.
(iordi3): Likewise.
(xordi3): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34200 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * tree.h (struct record_layout_info): Rename to (struct
mmitchel [Fri, 26 May 2000 21:40:01 +0000 (21:40 +0000)]
* tree.h (struct record_layout_info): Rename to (struct
record_layout_info_s).
* stor-layout.c (start_record_layout): Replace
`record_layout_info' with `record_layout_info_s'.

* class.c (layout_nonempty_base_or_field): Replace
`record_layout_info' with `record_layout_info_s'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34199 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago Fix goto checking.
jason [Fri, 26 May 2000 21:05:05 +0000 (21:05 +0000)]
    Fix goto checking.
        * cp-tree.h (struct language_function): x_named_labels is now
        a struct named_label_list*.
        * decl.c (struct named_label_use_list): Renamed from...
        (struct named_label_list): ...this.  New struct.
        (push_binding_level): Don't set eh_region.
        (note_level_for_eh): New fn.
        (pop_label): Take label and old value directly.
        (pop_labels): Adjust for new named_labels format.
        (lookup_label): Likewise.
        (poplevel): Note characteristics of a binding level containing a
        named label.  Mess with named label lists earlier.
        (mark_named_label_lists): New fn.
        (mark_lang_function): Call it.
        (use_label): New fn, split out from...
        (make_label_decl): ...here.  Don't call it.
        (decl_jump_unsafe, check_previous_goto, check_previous_goto_1,
        check_previous_gotos): New fns, split out from...
        (define_label): ...here.
        (check_switch_goto): New fn.
        (define_case_label): Call it.
        (check_goto): New fn.
        * semantics.c (finish_goto_stmt): Call it and use_label.
        (begin_compound_stmt): If we're a try block, call note_level_for_eh.
        (expand_stmt): Never pass 1 as DONT_JUMP_IN to expand_end_bindings.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34198 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-05-26 Phil Edwards <pme@sourceware.cygnus.com>
pme [Fri, 26 May 2000 19:59:46 +0000 (19:59 +0000)]
2000-05-26  Phil Edwards  <pme@sourceware.cygnus.com>

* acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG):  If strtoll isn't
  available, force --disable.  Need to flesh this out; make smarter.
* aclocal.m4:  Regenerate.
* configure:  Regenerate.

* mkcheck.in:  Minor tweaks.
* docs/download.html:  Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34197 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-05-26 Zack Weinberg <zack@wolery.cumb.org>
tromey [Fri, 26 May 2000 18:57:28 +0000 (18:57 +0000)]
2000-05-26  Zack Weinberg  <zack@wolery.cumb.org>

* java/parse.y (find_applicable_accessible_methods_list):
Don't add an uninitialized value to the list.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34196 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * class.c (build_vtable_entry_ref): Correct usage of
mmitchel [Fri, 26 May 2000 17:47:25 +0000 (17:47 +0000)]
* class.c (build_vtable_entry_ref): Correct usage of
get_vtbl_decl_for_binfo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34195 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * decl2.c (grokclassfn): Set DECL_LANGUAGE here.
mmitchel [Fri, 26 May 2000 16:54:18 +0000 (16:54 +0000)]
* decl2.c (grokclassfn): Set DECL_LANGUAGE here.
* method.c (implicitly_declare_fn): Not here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34194 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* flow.c (find_label_refs): New function.
rearnsha [Fri, 26 May 2000 10:30:47 +0000 (10:30 +0000)]
* flow.c (find_label_refs): New function.
(find_basic_blocks_1): Call it for each alternative of a call
placeholder.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34193 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* ifcvt.c (cond_exec_get_condition): Set test_if to the SET_SRC
rearnsha [Fri, 26 May 2000 09:51:00 +0000 (09:51 +0000)]
* ifcvt.c (cond_exec_get_condition): Set test_if to the SET_SRC
of get_pc.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34192 138bc75d-0d04-0410-961f-82ee72b054a4