platform/upstream/linaro-gcc.git
24 years ago * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
rth [Sun, 19 Dec 1999 04:35:31 +0000 (04:35 +0000)]
    * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
        cmove with mismatched test and data modes.

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

24 years ago * c-typeck.c (c_expand_start_case): Don't warn for long switch
rth [Sun, 19 Dec 1999 04:31:06 +0000 (04:31 +0000)]
    * c-typeck.c (c_expand_start_case): Don't warn for long switch
        in system headers.

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

24 years agoFix typo in last change
kenner [Sun, 19 Dec 1999 02:01:51 +0000 (02:01 +0000)]
Fix typo in last change

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

24 years agoRevert bogus patch
kenner [Sun, 19 Dec 1999 01:19:33 +0000 (01:19 +0000)]
Revert bogus patch

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

24 years ago * alias.c: Minor reformatting.
kenner [Sat, 18 Dec 1999 21:33:23 +0000 (21:33 +0000)]
* alias.c: Minor reformatting.
* flow.c: Likewise.
* regs.h: Likewise.
* stor-layout.c: Likewise.
* fold-const.c: Likewise.
  (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
(struct cb_args, const_binop_1, const_binop): Pass type of arg,
not arg itself.
(size_int_wide): Cache nodes even if garbage collecting.
(twoval_comparison_p): Reenable SAVE_EXPR case if operand
of SAVE_EXPR has no side effects.
* cse.c: Move a comment.
* tree.c: Minor reformatting.
(int_size_in_bytes): Return -1 if constant overflows.
* reload.c (combine_reloads): Do nothing if no output reload

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

24 years ago * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
amylaar [Sat, 18 Dec 1999 19:59:24 +0000 (19:59 +0000)]
* unroll.c (copy_loop_body): Don't treat a REG like a PLUS.

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

24 years ago * MAINTAINERS: Add myself to the write-after-approval list
sirl [Sat, 18 Dec 1999 19:56:21 +0000 (19:56 +0000)]
* MAINTAINERS: Add myself to the write-after-approval list

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

24 years ago1999-12-18 10:42 -0800 Zack Weinberg <zack@wolery.cumb.org>
zack [Sat, 18 Dec 1999 18:44:24 +0000 (18:44 +0000)]
1999-12-18 10:42 -0800  Zack Weinberg  <zack@wolery.cumb.org>

* objc/objc-parse.c: Regenerate.  This file must be rebuilt
after any change to c-parse.in, even if objc-parse.y didn't
change.  Oops.

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

24 years ago * toplev.c (rest_of_compilation): Restore BLOCK tree
davem [Sat, 18 Dec 1999 18:30:41 +0000 (18:30 +0000)]
* toplev.c (rest_of_compilation): Restore BLOCK tree
reconstruction and branch shortening changes lost in
December 18th change.

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

24 years ago * newcvsroot: Add check on the number of command-line arguments.
gerald [Sat, 18 Dec 1999 14:34:56 +0000 (14:34 +0000)]
* newcvsroot: Add check on the number of command-line arguments.
Add usage.

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

24 years ago* config/arm/linux-elf.h: Change all instances of
rearnsha [Sat, 18 Dec 1999 13:34:21 +0000 (13:34 +0000)]
* config/arm/linux-elf.h: Change all instances of
ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
* config/arm/uclinux-elf.h: Likewise.

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

24 years agoDaily bump.
law [Sat, 18 Dec 1999 08:45:06 +0000 (08:45 +0000)]
Daily bump.

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

24 years ago1999-12-18 Gabriel Dos Reis <gdr@codesourcery.com>
gdr [Sat, 18 Dec 1999 01:45:40 +0000 (01:45 +0000)]
1999-12-18 Gabriel Dos Reis  <gdr@codesourcery.com>

        * toplev.c (notice, vmessage, v_message_with_file_and_line,
        v_message_with_decl, file_and_line_for_asm,
        v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
        verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
        v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
        v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
        pfatal_with_name, fatal_io_error, need_error_newline,
        last_error_function, last_error_tick, announce_function,
        default_print_error_function, print_error_function,
        report_error_function, fnotice, error_with_file_and_line,
        error_with_decl, error_for_asm, error, set_fatal_function, fatal,
        _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
        warning_with_decl, warning_for_asm, warning, pedwarn,
        pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
        diagnostic.c
        (compile_file): Use fnotice instead of notice.  Adjust call.

        * diagnostic.c: New file.

        * Makefile.in (OBJS): Include diagnostic.o
        (diagnostic.o): Define dependence.

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

24 years ago * java/lang/reflect/Method.java (toString): Call getType if
tromey [Sat, 18 Dec 1999 00:44:00 +0000 (00:44 +0000)]
* java/lang/reflect/Method.java (toString): Call getType if
required.  Partial fix for PR libgcj/111.  From Per Bothner.

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

24 years ago * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
m.hayes [Fri, 17 Dec 1999 23:17:43 +0000 (23:17 +0000)]
* config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
Tweak formatting.

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

24 years ago * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
m.hayes [Fri, 17 Dec 1999 22:43:43 +0000 (22:43 +0000)]
* config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.

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

24 years ago1999-12-17 13:21 -0800 Zack Weinberg <zack@rabi.columbia.edu>
zack [Fri, 17 Dec 1999 21:49:30 +0000 (21:49 +0000)]
1999-12-17 13:21 -0800  Zack Weinberg  <zack@rabi.columbia.edu>

* fixtests.c (is_cxx_header): New fn, split out of
double_slash_test.
(else_endif_label): Allow "#endif // comment" in C++ headers,
as determined by is_cxx_header.
* fixfixes.c (else_endif_label_fix): Update comment.
* fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
a tty.
* genfixes: Correct double thinko in commandline parsing.
* hackshell.tpl: Generate correct sh syntax for bypass
entries.

* inclhack.def (all): Whenever an inserted preprocessor
conditional is split over multiple lines, use double
backslashes in this file so the fixed header will be readable.

(AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
and add bypass entry for correct version of this header.
(AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
(AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.

(hpux8_bogus_inlines): New fix, split from...
(ultrix_atof_param) ... here.
(math_expression): Add bypass entry keyed to glibc comment
indicating the problem has been dealt with; disable
unnecessary sed operations; update commentary.
(math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
add select and bypass entries, simplify shell operation.
(math_huge_val_ifndef): Split from math_gcc_ifndefs.

(ip_missing_semi, rs6000_param, tinfo_cplusplus,
 ultrix_atof_param): Add select entry.
(stdio_va_list, sunos_mather_decl): Add bypass entry.
(systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
comments with the fixes they describe.

* fixincl.x, fixincl.sh, inclhack.sh: Regen.

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

24 years ago1999-12-17 13:21 -0800 Zack Weinberg <zack@rabi.columbia.edu>
zack [Fri, 17 Dec 1999 21:23:38 +0000 (21:23 +0000)]
1999-12-17 13:21 -0800  Zack Weinberg  <zack@rabi.columbia.edu>

* c-parse.in (string action): Do not warn about ANSI string
concatenation in system headers.  Affects C parser only.
* c-parse.y, c-parse.c, c-parse.h: Rebuild.

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

24 years ago * gjavah.c (decode_signature_piece): Print "::" in JArray<>. This
tromey [Fri, 17 Dec 1999 20:25:59 +0000 (20:25 +0000)]
* gjavah.c (decode_signature_piece): Print "::" in JArray<>.  This
fixes PR gcj/119.
(process_file): Use `\n\' at end of each line in string.

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

24 years ago * java/lang/natPosixProcess.cc (startProcess): Don't use sprintf.
tromey [Fri, 17 Dec 1999 16:06:17 +0000 (16:06 +0000)]
* java/lang/natPosixProcess.cc (startProcess): Don't use sprintf.

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

24 years ago * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
jakub [Fri, 17 Dec 1999 15:49:32 +0000 (15:49 +0000)]
* config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
compiling libgcc2 the macro depends always on arch cpp defines.

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

24 years ago* loop.c (insert_loop_mem): Don't record MEMs from inside
rearnsha [Fri, 17 Dec 1999 15:37:35 +0000 (15:37 +0000)]
* loop.c (insert_loop_mem): Don't record MEMs from inside
EXPR_LISTs.

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

24 years ago * regclass.c (regclass): Do not use flowgraph when not optimizing.
hubicka [Fri, 17 Dec 1999 13:19:41 +0000 (13:19 +0000)]
* regclass.c (regclass): Do not use flowgraph when not optimizing.

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

24 years ago * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
hubicka [Fri, 17 Dec 1999 11:10:58 +0000 (11:10 +0000)]
* gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
notes too, create one when replacement failed, attempt to simplify
resulting notes.
(cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
or REG_EQUIV notes.

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

24 years agoDaily bump.
law [Fri, 17 Dec 1999 08:45:07 +0000 (08:45 +0000)]
Daily bump.

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

24 years ago * cp-tree.h (cp_tree_index): Add CPTI_DSO_HANDLE.
mmitchel [Fri, 17 Dec 1999 07:40:08 +0000 (07:40 +0000)]
* cp-tree.h (cp_tree_index): Add CPTI_DSO_HANDLE.
(dso_handle_node): New macro.
(flag_use_cxa_atexit): New variable.
(declare_global_var): New function.
(start_anon_func): Remove declaration.
(end_anon_func): Likewise.
* decl.c (get_atexit_node): New function, split out from
destroy_local_static.  Handle flag_use_cxa_atexit.
(get_dso_handle_node): Likewise.
(start_cleanup_fn): Renamed from start_anon_func.  Moved here from
except.c.  Handle flag_use_cxa_atexit.
(end_cleanup_fn): Renamed from end_anon_func.  Moved here from
except.c.
(declare_global_var): New variable.
(destroy_local_static): Handle flag_use_cxa_atexit.
* decl2.c (flag_use_cxa_atexit): New variable.
(lang_f_options): Likewise.
* except.c (start_anon_func): Remove.
(end_anon_func): Liekwise.
* lang-options.h: Add -fuse-cxa-atexit and -fno-use-cxa-atexit.
* rtti.c (get_tinfo_var): Use declare_global_var.

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

24 years ago * crtstuff.c (__dso_handle): Declare.
mmitchel [Fri, 17 Dec 1999 07:39:13 +0000 (07:39 +0000)]
* crtstuff.c (__dso_handle): Declare.
(__cxa_finalize): Likewise.
(do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
non-NULL.

* invoke.texi: Document -fuse-cxa-atexit.

* tree.h (ptr_type_node): Document.
(const_ptr_type_node): Likewise.

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

24 years ago1999-12-16 Bryce McKinlay <bryce@albatross.co.nz>
bryce [Fri, 17 Dec 1999 05:11:28 +0000 (05:11 +0000)]
1999-12-16  Bryce McKinlay  <bryce@albatross.co.nz>

        * java/lang/Boolean.java (Boolean(String)): Set Value' to false on a
        null String constructor parameter.
        * java/net/natPlainSocketImpl.cc: Remove unneccessary sprintf calls
        for exception messages.
        BooleanClass: declare.
        (setOption): Use BooleanClass instead of Class.forName() for
        instanceof test.
        (bind): Cast 4th parameter of setsockopt to char *' for
        compatibility with older Solaris headers.
        * java/net/natPlainDatagramSocketImpl.cc: Remove unneccessary
        sprintf calls for exception messages.
        BooleanClass, IntegerClass: declare.
        (setOption): Use BooleanClass and IntegerClass, not Class.forName()
        for instanceof test.

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

24 years agoOops. Used wrong changelog entry.
hubicka [Fri, 17 Dec 1999 00:49:22 +0000 (00:49 +0000)]
Oops. Used wrong changelog entry.

* regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
(optimize_reg_copy_2): Likewise.
(optimize_reg_copy_3): Likewise.
(fixup_match_2): Likewise.
(regmove_optimize): Likewise.
(fixup_match_1): Liekwise.

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

24 years ago * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
hubicka [Fri, 17 Dec 1999 00:47:46 +0000 (00:47 +0000)]
* regmove.c (copy_src_to_dest): Remove loop_depth parameter.
(optimize_reg_copy_1): Remove REG_N_REFS updating code.
(optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
(regmove_optimize, fixup_match_1): Likewise.

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

24 years ago * i386.md (HI to SImode promoting splitters): Rewrite.
hubicka [Fri, 17 Dec 1999 00:45:03 +0000 (00:45 +0000)]
* i386.md (HI to SImode promoting splitters): Rewrite.
(pushsf mem peep2): New.
(testhi to andhi peep2): Remove.
* i386.h (x86_promote_QImode): New.
(TARGET_PROMOTE_QImode): New.
(PREDICATE_CODES): Add promotable_binary_operator.
* i386.c (x86_promote_QImode0: New.
(promotable_binary_operator): New.
* i386-protos.h (promotable_binary_operator): New.

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

24 years ago * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
hubicka [Fri, 17 Dec 1999 00:35:39 +0000 (00:35 +0000)]
* i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
condition.
(one_cmpl?i*): Pass "NOT" to unary_operator_ok.

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

24 years ago1999-12-16 Mark Mitchell <mark@codesourcery.com>
mmitchel [Thu, 16 Dec 1999 22:18:22 +0000 (22:18 +0000)]
1999-12-16  Mark Mitchell  <mark@codesourcery.com>

* class.c (check_field_decls): Don't return a value.
(avoid_overlap): Moved here from tree.c.
(build_base_fields): Likewise.
(check_bases): New function, split out from finish_base_struct.
(check_bases_and_members): New function, split out from finish_struct_1.
(struct base_info): Remove cant_have_default_ctor,
cant_have_const_ctor, cant_have_asn_ref.
(finish_base_struct): Split semantic analysis into check_bases.
(finish_struct_methods): Fix bogus assertion.
(check_field_decls): Call finish_struct_anon here.
(build_vbase_pointer_fields): Use CLASSTYPE_N_BASECLASSES.
(finish_struct_1): Use check_bases_and_members.  Reorganize.
* cp-tree.h (CLASSTYPE_VBASECLASSES): Improve documentation.
(build_base_fields): Don't declare.
* tree.c (avoid_overlap): Remove.
(build_base_fields): Likewise.

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

24 years ago * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
mmitchel [Thu, 16 Dec 1999 17:50:29 +0000 (17:50 +0000)]
* Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
* function.c (insert_block_after_note): Remove.
(retrofit_block): Likewise.
(identify_blocks): Fix indentation.
(reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
* function.h (insert_block_after_note): Remove prototype.
(retrofit_block): Likewise.
* integrate.c (expand_inline_function): Don't call
find_loop_tree_blocks.  Use expand_start_bindings_and_block, not
just expand_start_bindings.  Use the block_map to remap old
NOTE_BLOCKs to new ones.
(integrate_decl_tree): Keep track of remapped blocks.
* integrate.h (struct inline_remap): Add block_map.
* stmt.c (expand_fixup): Don't try to retrofit_blocks.  Just set
NOTE_BLOCK on the notes.
(expand_start_bindings): Rename to ...
(expand_start_bindings_and_block): Add parameter.  Set NOTE_BLOCK.
(expand_end_bindings): Set NOTE_BLOCK.
* toplev.c (rest_of_compilation): In function-at-a-time-mode,
reconstruct the BLOCK tree.
* tree.h (expand_start_bindings): Macroize.  Call ...
(expand_start_bindings_and_block): New function.

* optimize.c (struct inline_data): Remove scope_stmt.
(remap_block): Don't use insert_block_after_note.  Don't update
scope_stmt.
(expand_call_inline): Don't update scope_stmt.
(optimize_function): Don't initialize scope_stmt.
* semantics.c (expand_stmt): Set NOTE_BLOCK for newly emitted
NOTE_INSN_BLOCK_BEG/NOTE_INSN_BLOCK_END notes.

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

24 years ago * config/sparc/sparc.c (print_operand): Cast fprintf arguments to
jakub [Thu, 16 Dec 1999 17:12:10 +0000 (17:12 +0000)]
* config/sparc/sparc.c (print_operand): Cast fprintf arguments to
match the format.

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

24 years ago * config/sparc/sparc.c (epilogue_renumber): Add default case
davem [Thu, 16 Dec 1999 16:37:50 +0000 (16:37 +0000)]
* config/sparc/sparc.c (epilogue_renumber): Add default case
to switch stmt.

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

24 years ago * expr.c (emit_move_insn_1): Only emit clobbers if one of
davem [Thu, 16 Dec 1999 14:55:20 +0000 (14:55 +0000)]
* expr.c (emit_move_insn_1): Only emit clobbers if one of
the outputs is a SUBREG.
* rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
change.

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

24 years ago * toplev.c (rest_of_compilation): Run branch shortening after
law [Thu, 16 Dec 1999 10:58:12 +0000 (10:58 +0000)]
    * toplev.c (rest_of_compilation): Run branch shortening after
        reg-stack.

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

24 years agoNew testcase.
crux [Thu, 16 Dec 1999 10:45:50 +0000 (10:45 +0000)]
New testcase.

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

24 years ago * regclass.c (loop_depth): Remove
hubicka [Thu, 16 Dec 1999 10:35:14 +0000 (10:35 +0000)]
* regclass.c (loop_depth): Remove
(scan_one_insn): Do not handle LOOP_NOTE insns.
(regclass): Go through basic blocks and set loop_cost

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

24 years agoFix an older test
crux [Thu, 16 Dec 1999 10:20:44 +0000 (10:20 +0000)]
Fix an older test

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

24 years ago * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
law [Thu, 16 Dec 1999 09:58:23 +0000 (09:58 +0000)]
    * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.

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

24 years ago * loop.c (insert_loop_mem): Ignore memory clobbers.
law [Thu, 16 Dec 1999 09:55:20 +0000 (09:55 +0000)]
    * loop.c (insert_loop_mem): Ignore memory clobbers.

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

24 years ago * i386.md (movqi): Use "nonimmediate_operand" for output operand.
hubicka [Thu, 16 Dec 1999 09:50:17 +0000 (09:50 +0000)]
* i386.md (movqi): Use "nonimmediate_operand" for output operand.
(movstrictqi, movdi, movsf, movdf, movxf): Likewise.
(adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.

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

24 years ago * profile.c: Remove redundant #include "output.h".
law [Thu, 16 Dec 1999 09:46:28 +0000 (09:46 +0000)]
    * profile.c: Remove redundant #include "output.h".

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

24 years ago * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
law [Thu, 16 Dec 1999 09:42:57 +0000 (09:42 +0000)]
    * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
        to (OP A B).

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

24 years ago * h8300.md (HImode preinc peephole): Fix typo.
law [Thu, 16 Dec 1999 09:27:51 +0000 (09:27 +0000)]
    * h8300.md (HImode preinc peephole): Fix typo.

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

24 years agoDaily bump.
law [Thu, 16 Dec 1999 08:45:07 +0000 (08:45 +0000)]
Daily bump.

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

24 years agoAdd new tests for long long spanning reg/stack
meissner [Thu, 16 Dec 1999 06:13:46 +0000 (06:13 +0000)]
Add new tests for long long spanning reg/stack

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

24 years ago * class.c (handle_using_decl): Get TYPE_FIELDS and TYPE_METHODS
mmitchel [Thu, 16 Dec 1999 03:10:12 +0000 (03:10 +0000)]
* class.c (handle_using_decl): Get TYPE_FIELDS and TYPE_METHODS
out of the class, rather than taking them as parameters.
(build_vbase_pointer_fields): Move here from tree.c.
(build_vtbl_or_vbase_field): New function.
(check_methods): Likewise.
(remove_zero_width_bitfields): Likewise.
(add_virtual_function): Use tree_cons instead of temp_tree_cons.
(delete_duplicate_fields_1): Tidy.  Don't delete duplicate
USING_DECLs here.
(finish_struct_methods): Handle the case where there are no
methods here.
(get_basefndecls): Use tree_cons instead of temp_tree_cons.
(check_field_decls): Call delete_duplicate_fields here.
(finish_struct_1): Tidy.  Use check_methods and
remove_zero_width_bitfields.
* cp-tree.h (build_vbase_pointer_fields): Remove.
* decl.c (grokdeclarator): Use tree_cons instead of
temp_tree_cons.
* decl2.c (qualified_lookup_using_namespace): Use tree_cons
instead of temp_tree_cons.
* lex.c (cons_up_default_function): Remove dead code.
* method.c (fixup_pending_inline): New function, split out from ...
(do_inline_function_hair): ... here.
* tree.c (build_vbase_pointer_fields): Remove.

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

24 years ago * function.c (retrofit_block): Abort if we don't find a suitable insn.
jason [Thu, 16 Dec 1999 00:09:35 +0000 (00:09 +0000)]
    * function.c (retrofit_block): Abort if we don't find a suitable insn.
        (insert_block_after_note): Abort if we don't have a previous block.
        Remove FN parameter.
        * function.h: Adjust.

        * tree.c (walk_tree): Walk operand subtrees in forward order.
        * optimize.c (expand_call_inline): Likewise.
        (optimize_function): Initialize id->scope_stmt to something useful.
        (remap_block): Assume id->scope_stmt has a useful value.

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

24 years ago * java/lang/natSystem.cc (init_properties): Don't set user.name or
tromey [Wed, 15 Dec 1999 22:38:56 +0000 (22:38 +0000)]
* java/lang/natSystem.cc (init_properties): Don't set user.name or
user.home if NO_GETUID defined.  Only set user.dir if getcwd
exists.

* include/config.h.in: Rebuilt.
* acconfig.h (NO_GETUID): New define.
* configure.in: Rebuilt.
* configure.in: Define NO_GETUID in cross case.  Check for getcwd
in native case.

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

24 years ago * builtins.c (expand_builtin_mathfn): Make sure not to expand the
mmitchel [Wed, 15 Dec 1999 20:56:58 +0000 (20:56 +0000)]
* builtins.c (expand_builtin_mathfn): Make sure not to expand the
argument more than once.

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

24 years ago * stmt.c (expand_decl): Expand upper bound of a dynamic array.
jason [Wed, 15 Dec 1999 19:56:41 +0000 (19:56 +0000)]
    * stmt.c (expand_decl): Expand upper bound of a dynamic array.

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

24 years agotweak comments
jason [Wed, 15 Dec 1999 19:33:38 +0000 (19:33 +0000)]
tweak comments

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

24 years ago * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
jakub [Wed, 15 Dec 1999 16:36:26 +0000 (16:36 +0000)]
* expr.c (emit_group_load): Use dst mode if src is VOIDmode.

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

24 years ago * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
hubicka [Wed, 15 Dec 1999 15:34:03 +0000 (15:34 +0000)]
* function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
(assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
update stack_alignment_needed.
(prepare_function_start): Initialize stack_alignment_needed
* function.h (struct function): Add field stack_alignment_needed.

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

24 years ago * caller-save.c (insert_one_insn): Returns struct insn_chain *.
amylaar [Wed, 15 Dec 1999 14:57:29 +0000 (14:57 +0000)]
* caller-save.c (insert_one_insn): Returns struct insn_chain *.
Handle live_throughout / dead_or_set instead of live_before /
live_after.
(save_call_clobbered_regs): Get register livenessinformation from
chain->live_throughout.
(add_stored_regs): New function.
(insert_restore, insert_save): Add restored / saved registers to
dead_or_set.
* global.c (reg_dies): New parameter chain.
(reg_becomes_live): Third parameter is regs_set now.
Changed all callers.
(reg_dies): New parameter chain.  Changed all callers.
(build_insn_chain): Set live_throughout instead of
live_before / live_after.
* reload.h (struct insn_chain): Replace members live_before /
live_after with live_throughout / dead_or_set.
* reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
instead of live_before / live_after.
(maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
(order_regs_for_reload, find_reg, finish_spills): Likewise.
(choose_reload_regs_init): Likewise.
* stupid.c (current_chain, find_clobbered_regs): Delete.
(stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
instead of chain->live_before / chain->live_after.
(mark_hard_ref): New function.
(stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.

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

24 years ago1999-12-15 David S. Miller <davem@redhat.com>
davem [Wed, 15 Dec 1999 14:33:50 +0000 (14:33 +0000)]
1999-12-15  David S. Miller  <davem@redhat.com>

* rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.

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

24 years ago * flow.c (calculate_loop_depth): Make global, remove prototype,
hubicka [Wed, 15 Dec 1999 14:17:59 +0000 (14:17 +0000)]
* flow.c (calculate_loop_depth): Make global, remove prototype,
rewrite to use new loop infrastructure.
(find_basic_block): Remove calculate_loop_depth call.
* toplev.c (rest_of_compilation): Call find_basic_block.
* output.h (calculate_loop_depth): Declare.

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

24 years ago * flow.c (dump_flow_info): Dump loop_depth.
hubicka [Wed, 15 Dec 1999 14:09:52 +0000 (14:09 +0000)]
* flow.c (dump_flow_info): Dump loop_depth.
(flow_loop_nodes_find): Increase loop_depth for basic block in the
body.
(flow_loop_find): Initialize the loop_depth for each basic block.

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

24 years ago * g++.old-deja/g++.warn/cast-align1.C: New test.
nathan [Wed, 15 Dec 1999 12:40:30 +0000 (12:40 +0000)]
* g++.old-deja/g++.warn/cast-align1.C: New test.

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

24 years ago * typeck.c (build_c_cast): Expand warning message. Move pointer
nathan [Wed, 15 Dec 1999 12:39:02 +0000 (12:39 +0000)]
* typeck.c (build_c_cast): Expand warning message. Move pointer
alignment warning to after the cast. Don't warn about pointer
alignment when given a pointer to incomplete.
fix cut-n-paste error on 1999-12-09  Andreas Jaeger and
1999-12-09  Mark Mitchell (was 11999 & 999)

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

24 years ago * cp-tree.h (make_aggr_type): Declare.
rth [Wed, 15 Dec 1999 09:51:24 +0000 (09:51 +0000)]
    * cp-tree.h (make_aggr_type): Declare.
        * lex.c (cp_make_lang_type): Don't SET_IS_AGGR_TYPE.
        (make_aggr_type): New.

        * decl.c (build_typename_type, init_decl_processing): Use it.
        (build_ptrmemfunc_type, xref_tag): Likewise.
        * except.c (call_eh_info): Likewise.
        * init.c (init_init_processing): Likewise.
        * pt.c (process_template_parm, lookup_template_class): Likewise.
        * rtti.c (expand_class_desc): Likewise.
        * semantics.c (begin_class_definition, finish_typeof): Likewise.
        * tree.c (copy_template_template_parm): Likewise.

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

24 years ago * tree.c (decl_function_context): Handle virtual functions.
jason [Wed, 15 Dec 1999 09:37:48 +0000 (09:37 +0000)]
    * tree.c (decl_function_context): Handle virtual functions.

        * tlink.c (scan_linker_output): Don't look in demangled name when
        looking for linker output keywords.

        * dwarfout.c (output_type): We can defer namespace-scope classes.

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

24 years ago * cp-tree.def (TEMPLATE_PARM_INDEX): Calculate size using
jason [Wed, 15 Dec 1999 09:18:21 +0000 (09:18 +0000)]
* cp-tree.def (TEMPLATE_PARM_INDEX): Calculate size using
sizeof (struct tree_common).

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

24 years ago * Makefile.in (MYCXXFLAGS): Include $(CXXFLAGS).
jason [Wed, 15 Dec 1999 09:13:57 +0000 (09:13 +0000)]
    * Makefile.in (MYCXXFLAGS): Include $(CXXFLAGS).
        (MYCFLAGS): Include $(CFLAGS).

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

24 years ago * filedoalloc.c, floatio.h, iovfprintf.c, iovfscanf.c: Remove
jason [Wed, 15 Dec 1999 09:13:06 +0000 (09:13 +0000)]
    * filedoalloc.c, floatio.h, iovfprintf.c, iovfscanf.c: Remove
        advertising clause from BSD license, pursuant with

          ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change

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

24 years ago * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
jason [Wed, 15 Dec 1999 09:05:18 +0000 (09:05 +0000)]
    * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
        the abstract origin wasn't emitted.

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

24 years ago * optimize.c (expand_call_inline): Set BLOCK_ABSTRACT_ORIGIN on the
jason [Wed, 15 Dec 1999 09:03:06 +0000 (09:03 +0000)]
    * optimize.c (expand_call_inline): Set BLOCK_ABSTRACT_ORIGIN on the
        outermost block to point to the inlined function decl.

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

24 years agoDaily bump.
law [Wed, 15 Dec 1999 08:45:06 +0000 (08:45 +0000)]
Daily bump.

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

24 years ago * regclass.c (record_reg_classes): Update comment for merging
law [Wed, 15 Dec 1999 08:29:37 +0000 (08:29 +0000)]
    * regclass.c (record_reg_classes): Update comment for merging
        register class preferences in reg->reg copies.  Tighten conditions
        for merging register class preferences in reg->reg copies.

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

24 years ago * strstream.h (strstreambuf::streambuf): Rename parameters to
loewis [Wed, 15 Dec 1999 07:46:36 +0000 (07:46 +0000)]
* strstream.h (strstreambuf::streambuf): Rename parameters to
avoid shadow warning.
* stream.h (WS): Likewise.

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

24 years ago back out unrelated patch to std:: qualify reverse_iterator
loewis [Wed, 15 Dec 1999 07:43:22 +0000 (07:43 +0000)]
back out unrelated patch to std:: qualify reverse_iterator

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

24 years ago * std/bastring.h (basic_string::basic_string): Rename parameters
loewis [Wed, 15 Dec 1999 07:37:36 +0000 (07:37 +0000)]
* std/bastring.h (basic_string::basic_string): Rename parameters
to avoid shadow warnings.
* std/bastring.cc (alloc): Likewise.

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

24 years ago * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
dje [Wed, 15 Dec 1999 07:24:19 +0000 (07:24 +0000)]
* rs6000.md (tablejumpdi): Generate DImode LABEL_REF.

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

24 years ago * error.c (dump_decl): operator==, not operator ==.
jason [Wed, 15 Dec 1999 01:34:16 +0000 (01:34 +0000)]
    * error.c (dump_decl): operator==, not operator ==.
        (op_to_string): Likewise.

        * decl.c (compute_array_index_type): Handle null name.

        * decl2.c (ambiguous_decl): Fix to match comment.
        (lookup_using_namespace): Adjust.

        * decl2.c (import_export_class): Don't ignore dllimport.

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

24 years ago * class.c (check_field_decls): Split out from ...
mmitchel [Wed, 15 Dec 1999 00:36:57 +0000 (00:36 +0000)]
* class.c (check_field_decls): Split out from ...
(finish_struct_1): ... here.  Use it.  Tidy.

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

24 years ago* config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
geoffk [Tue, 14 Dec 1999 23:14:42 +0000 (23:14 +0000)]
* config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
(INIT_SECTION_ASM_OP): Delete.
(FINI_SECTION_ASM_OP): Delete.
(STARTFILE_SPEC): Define to hold just crtbegin.o.

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

24 years agoList Jakub as Sparc co-maintainer.
davem [Tue, 14 Dec 1999 23:10:04 +0000 (23:10 +0000)]
List Jakub as Sparc co-maintainer.

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

24 years ago * dwarf2out.c (class_scope_p): New fn.
jason [Tue, 14 Dec 1999 23:05:11 +0000 (23:05 +0000)]
    * dwarf2out.c (class_scope_p): New fn.
        (gen_subprogram_die): Use it.
        (gen_variable_die): Use it.  Tweak logic.
        (gen_struct_or_union_type_die): Check context_die to determine
        if we're function-local.
        (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.

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

24 years agoTue Dec 14 14:20:16 1999 Per Bothner <per@bothner.com>
apbianco [Tue, 14 Dec 1999 22:25:37 +0000 (22:25 +0000)]
Tue Dec 14 14:20:16 1999  Per Bothner  <per@bothner.com>

* class.c (make_class_data): flag_keep_inline_functions to keep
private methods in the method array.

(This is a fix to the Java PR #110:
  http://sourceware.cygnus.com/ml/java-prs/1999-q4/msg00179.html)

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

24 years agoAvoid reversing bivs with maybe_multiple set.
crux [Tue, 14 Dec 1999 19:54:41 +0000 (19:54 +0000)]
Avoid reversing bivs with maybe_multiple set.

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

24 years agoAdd support for -mcpu=arm720 cmmand line switch
nickc [Tue, 14 Dec 1999 19:42:58 +0000 (19:42 +0000)]
Add support for -mcpu=arm720 cmmand line switch

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

24 years ago * loop.c (strength_reduce): Fix sign of giv lifetime calculation
amylaar [Tue, 14 Dec 1999 19:18:50 +0000 (19:18 +0000)]
* loop.c (strength_reduce): Fix sign of giv lifetime calculation
for givs made from biv increments.

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

24 years ago * cp-tree.h (remap_save_expr): Add walk_subtrees parameter.
mmitchel [Tue, 14 Dec 1999 18:52:40 +0000 (18:52 +0000)]
* cp-tree.h (remap_save_expr): Add walk_subtrees parameter.
* optimize.c (copy_body_r): Pass it.
* tree.c (remap_save_expr): Clear walk_subtrees for an
already-handled SAVE_EXPR.
(cp_unsave_r): Pass walk_subtrees to remap_save_expr.

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

24 years ago * dump.c (dequeue_and_dump): Dump DECL_NAMESPACE_ALIAS.
mmitchel [Tue, 14 Dec 1999 18:11:32 +0000 (18:11 +0000)]
* dump.c (dequeue_and_dump): Dump DECL_NAMESPACE_ALIAS.
* ir.texi (DECL_NAMESPACE_ALIAS): Document it.

* error.c (dump_expr): Handle EXPR_WITH_FILE_LOCATION.

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

24 years ago * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
jakub [Tue, 14 Dec 1999 16:19:53 +0000 (16:19 +0000)]
* config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
(ASM_IDENTIFY_GCC): Remove.

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

24 years ago * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
rth [Tue, 14 Dec 1999 16:14:29 +0000 (16:14 +0000)]
    * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
        * alpha.c (override_options): Recognize -mcpu=ev67.
        * alpha.h (CPP_CPU_EV67_SPEC): New.
        (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
        (EXTRA_SPECS): Update.

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

24 years ago * config.guess (alpha-osf, alpha-linux): Detect ev67.
rth [Tue, 14 Dec 1999 16:10:58 +0000 (16:10 +0000)]
    * config.guess (alpha-osf, alpha-linux): Detect ev67.
        * config.sub: Accept alphaev[78], alphaev8.

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

24 years ago * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
rth [Tue, 14 Dec 1999 16:05:23 +0000 (16:05 +0000)]
    * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
        appropriate for -lang-c89 and -std=*.
        * cppinit.c (cpp_handle_option): Likewise.
        (new_pending_define): New, split out from cpp_handle_option.
        * gcc.c (default_compilers): Don't define __STRICT_ANSI__
        or enable trigraphs for -ansi/-std=*.

        * ginclude/stdarg.h (__va_copy): New.
        (va_copy): Don't define for C89.

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

24 years ago * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
cpopetz [Tue, 14 Dec 1999 14:48:18 +0000 (14:48 +0000)]
* config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
for long long multiply-accumulate.

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

24 years ago * regclass.c (scan_one_insn): Set loop_cost to 1 when
hubicka [Tue, 14 Dec 1999 12:56:06 +0000 (12:56 +0000)]
* regclass.c (scan_one_insn): Set loop_cost to 1 when
optimizing for size.

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

24 years ago * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
jakub [Tue, 14 Dec 1999 12:53:39 +0000 (12:53 +0000)]
* config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
for sparc64.
* config/sparc/sparc.h: Likewise.
* config/sparc/xm-sysv4-64.h: Likewise.
* config/float-sparc.h: Likewise.
* glimits.h: Likewise.
* longlong.h: Likewise.

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

24 years ago * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
jakub [Tue, 14 Dec 1999 12:47:01 +0000 (12:47 +0000)]
* config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
(CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
not %g2.
(MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
as sparc64 block profiling register.
* config/sparc/sparc.c (sparc_override_options): Allow block
profiling with -m32.
(sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
profiling register.
* config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
* config/sparc/sol2.h (MACHINE_STATE_*): Likewise.

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

24 years agoUndo one misguided optimization attempt in previous change.
crux [Tue, 14 Dec 1999 12:40:02 +0000 (12:40 +0000)]
Undo one misguided optimization attempt in previous change.

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

24 years agoRun reg_scan_update to get information about regs created by loop.
crux [Tue, 14 Dec 1999 12:34:54 +0000 (12:34 +0000)]
Run reg_scan_update to get information about regs created by loop.

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

24 years ago * regclass.c (record_reg_classes): Do not do the copying preferrencing
hubicka [Tue, 14 Dec 1999 11:10:11 +0000 (11:10 +0000)]
* regclass.c  (record_reg_classes): Do not do the copying preferrencing
when source does not die.

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

24 years ago * regclass.c (record_reg_classes): Handle INOUT operands propertly.
hubicka [Tue, 14 Dec 1999 11:08:22 +0000 (11:08 +0000)]
* regclass.c (record_reg_classes): Handle INOUT operands propertly.

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

24 years ago * config/sparc/linux64.h (TARGET_LIVE_G0,
jakub [Tue, 14 Dec 1999 10:26:44 +0000 (10:26 +0000)]
* config/sparc/linux64.h (TARGET_LIVE_G0,
TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
variants on Linux.
* config/sparc/linux.h (TARGET_LIVE_G0,
TARGET_BROKEN_SAVERESTORE): Likewise.
* config/sparc/linux-aout.h (TARGET_LIVE_G0,
TARGET_BROKEN_SAVERESTORE): Likewise.

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