OSDN Git Service

pf3gnuchains/gcc-fork.git
25 years ago
bothner [Fri, 21 Aug 1998 19:32:16 +0000 (19:32 +0000)]

* tree.def (LABELED_BLOCK_EXPR, EXIT_BLOCK_EXPR): New tree nodes.
   * tree.h (LABELED_BLOCK_LABEL, LABELED_BLOCK_BODY,
  EXIT_BLOCK_LABELED_BLOCK, EXIT_BLOCK_RETURN, LOOP_EXPR_BODY): New
  macros.
* expr.c (expand_expr): Handle LABELED_BLOCK_EXPR and
  EXIT_BLOCK_EXPR.

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

25 years ago * gcc.c-torture/980526-2.c: Disable for targets with 16bit ints.
law [Fri, 21 Aug 1998 02:15:12 +0000 (02:15 +0000)]
    * gcc.c-torture/980526-2.c: Disable for targets with 16bit ints.

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

25 years ago
law [Fri, 21 Aug 1998 02:15:11 +0000 (02:15 +0000)]

        * gcc.c-torture/980526-2.c: Disable for targets with 16bit ints.

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

25 years ago * h8300.c (h8300_encode_label): Use '&' for tiny data items.
law [Fri, 21 Aug 1998 02:07:01 +0000 (02:07 +0000)]
    * h8300.c (h8300_encode_label): Use '&' for tiny data items.
        * h8300.h (TINY_DATA_NAME_P): Likewise.
        (STRIP_NAME_ENCODING): Handle '&'.

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

25 years agoDaily bump.
law [Fri, 21 Aug 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

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

25 years ago * mn10200.h (REG_OK_FOR_INDEX_P): Do not check the mode of the
law [Thu, 20 Aug 1998 23:48:14 +0000 (23:48 +0000)]
    * mn10200.h (REG_OK_FOR_INDEX_P): Do not check the mode of the
        register (it could be accessed via an outer SUBREG).
        (REG_OK_FOR_BASE_P): Likewwise.
        (GO_IF_LEGITIMATE_ADDRESS): Consistently use REGNO_OK_FOR_BASE_P.

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

25 years agooops
jason [Thu, 20 Aug 1998 23:35:23 +0000 (23:35 +0000)]
oops

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

25 years ago * remove.c (optimize_reg_copy_3): Abort instead of silently generating
law [Thu, 20 Aug 1998 23:19:05 +0000 (23:19 +0000)]
    * remove.c (optimize_reg_copy_3): Abort instead of silently generating
        bogus rtl.

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

25 years ago * jump.c (rtx_renumbered_equal_p): Do not consider PLUS commutative.
law [Thu, 20 Aug 1998 18:45:48 +0000 (18:45 +0000)]
    * jump.c (rtx_renumbered_equal_p): Do not consider PLUS commutative.
Because it isn't inside a MEM on the PA.  Fixes 930628-1.c on the mainline
branch.

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

25 years ago * config/sparc/sparc.md (movtf_insn_sp32): All memory operands
davem [Thu, 20 Aug 1998 18:39:29 +0000 (18:39 +0000)]
* config/sparc/sparc.md (movtf_insn_sp32): All memory operands
must be offsettable so the splits can be made.

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

25 years ago * tree.c (search_tree, no_linkage_helper, no_linkage_check): New fn.
jason [Thu, 20 Aug 1998 17:41:43 +0000 (17:41 +0000)]
* tree.c (search_tree, no_linkage_helper, no_linkage_check): New fn.
* pt.c (coerce_template_parms): Use no_linkage_check.
* decl.c (grokvardecl): Likewise.
(grokfndecl): Likewise.  Members of anonymous types have no linkage.
* method.c (process_overload_item): Remove useless code.

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

25 years agoUse new ChangeLog style.
bothner [Thu, 20 Aug 1998 16:45:53 +0000 (16:45 +0000)]
Use new ChangeLog style.

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

25 years ago
bothner [Thu, 20 Aug 1998 16:44:03 +0000 (16:44 +0000)]

Handle new'ing of Java classes.
* init.c (build_class_classref):  New function.
(build_new_1):  If type is TYPE_FOR_JAVA:  Call _Jv_AllocObject;
constructor does not return this;  don't need to exception-protect.
* pt.c (lookup_template_class):  Copy TYPE_FOR_JAVA flag.
* decl2.c (acceptable_java_type):  Handle template-derived types.

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

25 years ago Handle new'ing of Java classes.
bothner [Thu, 20 Aug 1998 16:44:01 +0000 (16:44 +0000)]
Handle new'ing of Java classes.
* init.c (build_class_classref):  New function.
(build_new_1):  If type is TYPE_FOR_JAVA:  Call _Jv_AllocObject;
constructor does not return this;  don't need to exception-protect.
* pt.c (lookup_template_class):  Copy TYPE_FOR_JAVA flag.
* decl2.c (acceptable_java_type):  Handle template-derived types.

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

25 years ago(
bothner [Thu, 20 Aug 1998 16:43:59 +0000 (16:43 +0000)]
(
Handle new'ing of Java classes.
* init.c (build_class_classref):  New function.
(build_new_1):  If type is TYPE_FOR_JAVA:  Call _Jv_AllocObject;
constructor does not return this;  don't need to exception-protect.
* pt.c (lookup_template_class):  Copy TYPE_FOR_JAVA flag.
* decl2.c (acceptable_java_type):  Handle template-derived types.

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

25 years agod
bothner [Thu, 20 Aug 1998 16:43:58 +0000 (16:43 +0000)]
d
Handle new'ing of Java classes.
* init.c (build_class_classref):  New function.
(build_new_1):  If type is TYPE_FOR_JAVA:  Call _Jv_AllocObject;
constructor does not return this;  don't need to exception-protect.
* pt.c (lookup_template_class):  Copy TYPE_FOR_JAVA flag.
* decl2.c (acceptable_java_type):  Handle template-derived types.

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

25 years ago
bothner [Thu, 20 Aug 1998 14:42:08 +0000 (14:42 +0000)]

* decl2.c (import_export_vtable):  Suppress vtables for Java classes.

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

25 years agoregen
jason [Thu, 20 Aug 1998 13:54:54 +0000 (13:54 +0000)]
regen

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

25 years ago * decl.c (duplicate_decls): Always merge the old and new patterns
mmitchel [Thu, 20 Aug 1998 13:46:53 +0000 (13:46 +0000)]
* decl.c (duplicate_decls): Always merge the old and new patterns
for templates, regardless of whether or not the new one has
DECL_INITIAL.  Don't throw away specializations.  Merge
DECL_SAVED_TREE.
* pt.c (tsubst_decl): Use the right pattern when calculating the
complete args for a new template instance.
(do_decl_instantiation): Fix typo in comment.
(regenerate_decl_from_template): Deal with tricky friend template
case.
(instantiate_decl): Likewise.

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

25 years agoInclude system.h, not stdio.h
meissner [Thu, 20 Aug 1998 11:00:20 +0000 (11:00 +0000)]
Include system.h, not stdio.h

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

25 years ago * rs6000.md (movqi, movhi): Add CONSTANT_P_RTX.
dje [Thu, 20 Aug 1998 10:50:39 +0000 (10:50 +0000)]
* rs6000.md (movqi, movhi): Add CONSTANT_P_RTX.

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

25 years agoThu Aug 20 13:15:11 1998 Dave Brolley <brolley@cygnus.com>
brolley [Thu, 20 Aug 1998 10:29:22 +0000 (10:29 +0000)]
Thu Aug 20 13:15:11 1998  Dave Brolley  <brolley@cygnus.com>
* stor-layout.c (layout_type): Compute TYPE_SIZE_UNIT correctly for
arrays of bits.
* cpplib.c (cpp_define): Handle macros with parameters.

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

25 years ago * init.c (build_builtin_delete_call): Add missing assemble_external
law [Thu, 20 Aug 1998 08:10:49 +0000 (08:10 +0000)]
    * init.c (build_builtin_delete_call): Add missing assemble_external
        call.

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

25 years ago * parse.y (notype_unqualified_id): Also accept ~A<int>.
jason [Thu, 20 Aug 1998 02:54:29 +0000 (02:54 +0000)]
* parse.y (notype_unqualified_id): Also accept ~A<int>.

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

25 years agoDaily bump.
law [Thu, 20 Aug 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

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

25 years ago * lib/old-dejagnu.exp (old-dejagnu): Remove sig6/sig11 handling
mmitchel [Wed, 19 Aug 1998 23:42:39 +0000 (23:42 +0000)]
* lib/old-dejagnu.exp (old-dejagnu): Remove sig6/sig11 handling
code.

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

25 years ago * rs6000.c (rs6000_output_load_toc_table): Use ld for 64-bit.
dje [Wed, 19 Aug 1998 19:43:19 +0000 (19:43 +0000)]
    * rs6000.c (rs6000_output_load_toc_table): Use ld for 64-bit.
        (output_toc): Use single TOC slot or llong minimal-toc for DFmode
        and DImode 64-bit.  Use llong for minimal-toc SFmode and
        SYMBOL_REF / LABEL_REF 64-bit.
        (output_function_profiler): Use llong for profiler label and ld to
        load 64-bit label address.

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

25 years ago * typeck.c (build_binary_op_nodefault): Warn on use of NULL in
mmitchel [Wed, 19 Aug 1998 18:48:58 +0000 (18:48 +0000)]
* typeck.c (build_binary_op_nodefault): Warn on use of NULL in
arithmetic.
* except.c (build_throw): Warn when NULL is thrown, even with
-ansi.  Use ansi_null_node, rather than integer_zero_node, in the
thrown expression.

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

25 years ago * config/arm/thumb.md (extendqisi2_insn): Cope with REG +
law [Wed, 19 Aug 1998 16:56:21 +0000 (16:56 +0000)]
    * config/arm/thumb.md (extendqisi2_insn): Cope with REG +
        OFFSET addressing.

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

25 years ago
law [Wed, 19 Aug 1998 16:56:19 +0000 (16:56 +0000)]

        * config/arm/thumb.md (extendqisi2_insn): Cope with REG +
        OFFSET addressing.

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

25 years ago
law [Wed, 19 Aug 1998 16:31:30 +0000 (16:31 +0000)]

From Nick Clifton
        * execute/ieee/930529-1.c (main): Check to see if __thumb__ is
        defined, and test for ARM style doubles if so.
        * execute/comp-goto-1.c (main): Make main() return an int.

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

25 years ago8
law [Wed, 19 Aug 1998 16:31:28 +0000 (16:31 +0000)]
8
From Nick Clifton
        * execute/ieee/930529-1.c (main): Check to see if __thumb__ is
        defined, and test for ARM style doubles if so.
        * execute/comp-goto-1.c (main): Make main() return an int.

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

25 years ago * cp-tree.h (ansi_null_node): New variable.
mmitchel [Wed, 19 Aug 1998 15:14:58 +0000 (15:14 +0000)]
* cp-tree.h (ansi_null_node): New variable.
* decl.c (ansi_null_node): New variable.
(init_decl_processing): Initialize its type.
* lex.c (init_parse): Initialize its value.  Use ansi_null_node
for null_node in non-ANSI mode.
* typeck.c (build_binary_op_nodefault): Use ansi_null_node in
place of null_node to avoid spurious errors.

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

25 years agoBump for snapshot
law [Wed, 19 Aug 1998 14:13:35 +0000 (14:13 +0000)]
Bump for snapshot

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

25 years ago * rtlanal.c (for_each_rtx): Check in the change mentioned below.
mmitchel [Wed, 19 Aug 1998 13:44:57 +0000 (13:44 +0000)]
* rtlanal.c (for_each_rtx): Check in the change mentioned below.

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

25 years agoBump for snapshot
law [Wed, 19 Aug 1998 13:10:34 +0000 (13:10 +0000)]
Bump for snapshot

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

25 years agoFix SunOS4 build failure.
wilson [Wed, 19 Aug 1998 13:07:52 +0000 (13:07 +0000)]
Fix SunOS4 build failure.
* collect2.c (extract_init_priority): Use atoi instead of strtoul.

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

25 years agox
law [Wed, 19 Aug 1998 13:05:52 +0000 (13:05 +0000)]
x
* cplus-dem.c (work_stuff): Add dllimported.
(demangled_prefix): Mark symbols imported from PE DLL.
(internal_cplus_demangled): Handle.

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

25 years ago
law [Wed, 19 Aug 1998 13:05:50 +0000 (13:05 +0000)]

* cplus-dem.c (work_stuff): Add dllimported.
(demangled_prefix): Mark symbols imported from PE DLL.
(internal_cplus_demangled): Handle.

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

25 years ago * tm.texi (Misc): Fix typo "teh"...
law [Wed, 19 Aug 1998 13:02:31 +0000 (13:02 +0000)]
* tm.texi (Misc): Fix typo "teh"...

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

25 years ago * tm.texi (PIC): Fix typo "PPIC".
law [Wed, 19 Aug 1998 12:54:49 +0000 (12:54 +0000)]
    * tm.texi (PIC): Fix typo "PPIC".

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

25 years ago * tm.texi (Caller Saves): Say that DEFAULT_CALLER_SAVES has no
law [Wed, 19 Aug 1998 12:53:25 +0000 (12:53 +0000)]
    * tm.texi (Caller Saves): Say that DEFAULT_CALLER_SAVES has no
        effect when -O2 and higher.
        * invoke.texi (Optimize Options): Likewise for -fcaller-saves.

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

25 years ago * regclass.c: Changed register set documentation to be consistent
law [Wed, 19 Aug 1998 12:49:17 +0000 (12:49 +0000)]
    * regclass.c: Changed register set documentation to be consistent
        with GCC behaviour.
        * final.c (final_start_function) Removed redundant test for
        call_fixed_regs.

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

25 years ago * lib/old-dejagnu.exp: Revise handling of `Internal compiler
law [Wed, 19 Aug 1998 12:37:42 +0000 (12:37 +0000)]
    * lib/old-dejagnu.exp: Revise handling of `Internal compiler
        error'.

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

25 years ago * rtl.h (rtx_function): New type.
law [Wed, 19 Aug 1998 12:30:47 +0000 (12:30 +0000)]
* rtl.h (rtx_function): New type.
(for_each_rtx): New function.
* rtlanal.c (for_each_rtx): Define it.
* recog.c (change_t): New type.
(change_objects, change_old_codes, change_locs, change_olds):
Replace with ...
(changes): New variable.
(validate_change): Dynamically allocate room for more changes, if
necessary.  Uses changes array instead of change_objects, etc.
(apply_change_group):  Use changes array instead of
change_objects, etc.
* loop.c (loop_mem_info): New type.
(loop_mems): New variable.
(loop_mems_idx): Likewise.
(looop_mems_allocated): Likewise.
(scan_loop): Remove nregs parameter.
(next_insn_in_loop): New function.
(load_mems_and_recount_loop_regs_set): Likewise.
(load_mems): Likewise.
(insert_loop_mem): Likewise.
(replace_loop_mem): Likewise.
(replace_label): Likewise.
(INSN_IN_RANGE_P): New macro.
(loop_optimize): Don't pass max_reg_num() to scan_loop.
(scan_loop): Remove nregs parameter, compute it after any new
registers are created by load_mems.  Use INSN_IN_RANGE_P and
next_insn_in_loop rather than expanding them inline.  Call
load_mems to load memory into pseudos, if appropriate.
(prescan_loop): Figure out whether or not there are jumps from the
loop to targets other than the label immediately following the
loop.  Call insert_loop_mem to notice all the MEMs used in the
loop, if it could be safe to pull MEMs into REGs for the duration
of the loop.
(strength_reduce): Use next_insn_in_loop.  Tweak comments.

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

25 years ago * config/sparc/sparc.md (negtf2_notv9 split): Give NEG
davem [Wed, 19 Aug 1998 09:02:26 +0000 (09:02 +0000)]
* config/sparc/sparc.md (negtf2_notv9 split): Give NEG
SFmode.
(negsf2): Fix insn output string.

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

25 years ago* arm.c (arm_override_options): Remove lie about ignoring PIC flag.
rearnsha [Wed, 19 Aug 1998 08:33:48 +0000 (08:33 +0000)]
* arm.c (arm_override_options): Remove lie about ignoring PIC flag.

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

25 years ago * config/sparc/sparc.c (finalize_pic): Check for the correct
davem [Wed, 19 Aug 1998 08:14:26 +0000 (08:14 +0000)]
* config/sparc/sparc.c (finalize_pic): Check for the correct
nonlocal_goto_receiver UNSPEC number.
* config/sparc/sparc.md (nonlocal_goto_receiver): Add comment
making note of this dependency existing in sparc.c

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

25 years agoDaily bump.
law [Wed, 19 Aug 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

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

25 years ago * haifa-sched.c (sched_analyze): Put all JUMP_INSNs on the last
law [Tue, 18 Aug 1998 21:58:15 +0000 (21:58 +0000)]
    * haifa-sched.c (sched_analyze): Put all JUMP_INSNs on the last
        pending memory flush list.

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

25 years ago * Make-lang.in: Add several "else true" clauses to deal with lame
law [Tue, 18 Aug 1998 20:42:49 +0000 (20:42 +0000)]
    * Make-lang.in: Add several "else true" clauses to deal with lame
        systems.

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

25 years ago * combine.c (can_combine_p): Allow combining insns with REG_RETVAL
law [Tue, 18 Aug 1998 18:29:40 +0000 (18:29 +0000)]
* combine.c (can_combine_p): Allow combining insns with REG_RETVAL
notes.
(try_combine): Allow combining insns with REG_LIBCALL notes.

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

25 years ago * gcc.c-torture/execute/*.x: Some updates for the h8300 targets.
law [Tue, 18 Aug 1998 18:22:32 +0000 (18:22 +0000)]
    * gcc.c-torture/execute/*.x: Some updates for the h8300 targets.

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

25 years ago * expr.c (emit_block_move): Do not call memcpy as a libcall
law [Tue, 18 Aug 1998 17:49:28 +0000 (17:49 +0000)]
    * expr.c (emit_block_move): Do not call memcpy as a libcall
        instead build up a CALL_EXPR and call it like any other
        function.
        (clear_storage): Similarly for memset.

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

25 years ago * regmove.c (fixup_match_2): Do not call reg_overlap_mentioned_p
law [Tue, 18 Aug 1998 17:14:34 +0000 (17:14 +0000)]
    * regmove.c (fixup_match_2): Do not call reg_overlap_mentioned_p
        on notes.

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

25 years agoanother expr/decl ambiguity test
brendan [Tue, 18 Aug 1998 15:32:36 +0000 (15:32 +0000)]
another expr/decl ambiguity test

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

25 years agoadd another expr/decl ambiguity test
brendan [Tue, 18 Aug 1998 15:24:24 +0000 (15:24 +0000)]
add another expr/decl ambiguity test

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

25 years agoanother expr/decl ambiguity test
brendan [Tue, 18 Aug 1998 15:19:21 +0000 (15:19 +0000)]
another expr/decl ambiguity test

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

25 years agoadd expr/decl ambiguity test
brendan [Tue, 18 Aug 1998 15:11:05 +0000 (15:11 +0000)]
add expr/decl ambiguity test

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

25 years ago* c-common.c (decl_attributes): Issue an error if the argument
rth [Tue, 18 Aug 1998 12:40:52 +0000 (12:40 +0000)]
* c-common.c (decl_attributes): Issue an error if the argument
to alias is not a string.

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

25 years ago * Makefile.in (cplus-dem.o): Provide explicit rules for building
law [Tue, 18 Aug 1998 10:26:35 +0000 (10:26 +0000)]
    * Makefile.in (cplus-dem.o): Provide explicit rules for building
        cplus-dem.o

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

25 years agoxiberty stuff isn't needed anymore.
law [Tue, 18 Aug 1998 10:06:24 +0000 (10:06 +0000)]
xiberty stuff isn't needed anymore.

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

25 years ago * regmove.c (optimize_reg_copy_1): Update REG_N_CALLS_CROSSED
law [Tue, 18 Aug 1998 09:34:59 +0000 (09:34 +0000)]
    * regmove.c (optimize_reg_copy_1): Update REG_N_CALLS_CROSSED
        and REG_LIVE_LENGTH as successful substitutions are made.

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

25 years ago From Kaveh R. Ghazi.
davem [Tue, 18 Aug 1998 08:24:51 +0000 (08:24 +0000)]
From Kaveh R. Ghazi.
* config/sparc/sparc.c (ultra_find_type): Add empty semicolon
statement after end of loop label.
From me...
* config/sparc/sparc.c (ultra_types_avail): New variable.
(ultra_build_types_avail): New function to record mask of insn
types in ready list at this cycle.
(ultrasparc_sched_reorder): Call it.
(ultra_find_type): Use it to quicken the search.  Also simplif
dependency check, don't use rtx_equal_p because we know exactly
what we are looking for.

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

25 years ago* arm.h (SECONDARY_INPUT_RELOAD_CLASS): Return NO_REGS if compiling
rearnsha [Tue, 18 Aug 1998 03:24:05 +0000 (03:24 +0000)]
* arm.h (SECONDARY_INPUT_RELOAD_CLASS): Return NO_REGS if compiling
for architecture v4.

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

25 years agoDaily bump.
law [Tue, 18 Aug 1998 00:45:32 +0000 (00:45 +0000)]
Daily bump.

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

25 years ago * config/sparc/sparc.md (sltu, sgeu): Don't FAIL, call
davem [Mon, 17 Aug 1998 22:34:06 +0000 (22:34 +0000)]
* config/sparc/sparc.md (sltu, sgeu): Don't FAIL, call
gen_compare_reg.
(movsf_const_intreg, movsf_const_high, movsf_const_lo,
movdf_const_intreg and helper splits): New patterns to move float
constants into integer registers.
(negtf2, negdf2, abstf2, absdf2): Rework using new patterns and
splits.

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

25 years ago * cp-tree.h (enter_scope_of): New function.
mmitchel [Mon, 17 Aug 1998 22:33:58 +0000 (22:33 +0000)]
* cp-tree.h (enter_scope_of): New function.
* parse.y (complex_direct_notype_declarator): Use it.
* semantics.c (enter_scope_of): New function.

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

25 years ago * From Graham
law [Mon, 17 Aug 1998 20:26:47 +0000 (20:26 +0000)]
    * From Graham
        * tree.c (build_index_type): Copy TYPE_SIZE_UNIT from sizetype
        to itype.
        * c-decl.c (finish_enum): Copy TYPE_SIZ_UNIT from enumtype to tem.

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

25 years ago
law [Mon, 17 Aug 1998 20:11:06 +0000 (20:11 +0000)]

        * rs6000.c (secondary_reload_class): For TARGET_ELF, indicate that
        a BASE_REGS register is needed as an intermediate when copying
        a symbolic value into any register class other than BASE_REGS.

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

25 years ago * rs6000.c (secondary_reload_class): For TARGET_ELF, indicate that
law [Mon, 17 Aug 1998 20:11:04 +0000 (20:11 +0000)]
    * rs6000.c (secondary_reload_class): For TARGET_ELF, indicate that
        a BASE_REGS register is needed as an intermediate when copying
        a symbolic value into any register class other than BASE_REGS.

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

25 years ago * decl.c (grokparms): No, here.
jason [Mon, 17 Aug 1998 19:29:45 +0000 (19:29 +0000)]
* decl.c (grokparms): No, here.

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

25 years ago * decl.c (grokdeclarator): Catch parm with pointer to array of
jason [Mon, 17 Aug 1998 18:46:43 +0000 (18:46 +0000)]
* decl.c (grokdeclarator): Catch parm with pointer to array of
unknown bound here...
* method.c (process_overload_item): ...not here.

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

25 years agotweak
jason [Mon, 17 Aug 1998 18:46:03 +0000 (18:46 +0000)]
tweak

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

25 years ago * cplus-dem.c (do_type): Fix simple array handling. If we fail,
jason [Mon, 17 Aug 1998 18:39:16 +0000 (18:39 +0000)]
* cplus-dem.c (do_type): Fix simple array handling.  If we fail,
stay failed.

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

25 years agotweak
jason [Mon, 17 Aug 1998 17:25:32 +0000 (17:25 +0000)]
tweak

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

25 years ago * class.c (finish_struct_bits): Also set TYPE_SIZE_UNIT.
jason [Mon, 17 Aug 1998 17:23:38 +0000 (17:23 +0000)]
* class.c (finish_struct_bits): Also set TYPE_SIZE_UNIT.

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

25 years ago * gxxint.texi: Remove obsolete documentation of overloading code.
jason [Mon, 17 Aug 1998 17:13:42 +0000 (17:13 +0000)]
* gxxint.texi: Remove obsolete documentation of overloading code.
* decl.c (finish_enum): Also set TYPE_SIZE_UNIT.
* tree.c (lvalue_type): Fix for arrays.
* typeck.c (build_unary_op): Use lvalue_type.
* call.c (add_function_candidate): Likewise.
* cvt.c (convert_to_reference): Likewise.
* decl2.c (lang_decode_option): Ignore -traditional.

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

25 years ago * expr.c (move_by_pieces): No longer static. Remove prototype.
law [Mon, 17 Aug 1998 16:37:49 +0000 (16:37 +0000)]
    * expr.c (move_by_pieces): No longer static.  Remove prototype.
        * rtl.h (move_by_pieces): Add extern prototype.
        * mips.c (expand_block_move): Handle aligned straight line copy by
        calling move_by_pieces.

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

25 years agofix
jason [Mon, 17 Aug 1998 16:34:19 +0000 (16:34 +0000)]
fix

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

25 years ago * init.c (build_offset_ref): Don't mess with error_mark_node.
jason [Mon, 17 Aug 1998 16:29:17 +0000 (16:29 +0000)]
* init.c (build_offset_ref): Don't mess with error_mark_node.
* lex.c (do_scoped_id): Use cp_error.
* rtti.c (get_tinfo_fn): Don't mess with the context for now.

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

25 years ago1998-08-17 Benjamin Kosnik <bkoz@loony.cygnus.com>
bkoz [Mon, 17 Aug 1998 15:44:47 +0000 (15:44 +0000)]
1998-08-17  Benjamin Kosnik  <bkoz@loony.cygnus.com>
* decl.c (grokdeclarator): Allow anonymous types to be cv-qualified.
fixes g++/16824

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

25 years agoUpdate.
drepper [Mon, 17 Aug 1998 12:32:54 +0000 (12:32 +0000)]
Update.

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

25 years agoDefine __PMT if not already defined.
drepper [Mon, 17 Aug 1998 12:32:45 +0000 (12:32 +0000)]
Define __PMT if not already defined.

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

25 years ago * stdexcept: Put things in the std namespace, if appropriate.
mmitchel [Mon, 17 Aug 1998 12:25:32 +0000 (12:25 +0000)]
* stdexcept: Put things in the std namespace, if appropriate.

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

25 years ago * cplus-dem.c: Include config.h if it exists. Also, only
law [Mon, 17 Aug 1998 11:42:54 +0000 (11:42 +0000)]
    * cplus-dem.c: Include config.h if it exists.  Also, only
        prototype malloc/realloc if we can't get stdlib.h.

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

25 years ago * cp-tree.h (set_identifier_local_value): Provide prototype.
law [Mon, 17 Aug 1998 11:42:22 +0000 (11:42 +0000)]
    * cp-tree.h (set_identifier_local_value): Provide prototype.
        * decl2.c (do_namespace_alias): Remove unused variables `binding'
        and `old'.

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

25 years ago * Makefile.in (cplus-dep.o): Use cplus-dem.c from libiberty.
law [Mon, 17 Aug 1998 11:39:32 +0000 (11:39 +0000)]
    * Makefile.in (cplus-dep.o): Use cplus-dem.c from libiberty.
        * cplus-dem.c: Delete.
        * Makefile.in (fold-const.o): depend on $(RTL_H).
        * fold-const.c: Include rtl.h to get the prototype for
        `set_identifier_local_value'.
        * loop.c (express_from_1): Remove unused variable `tmp'.
        (combine_givs): cast the first argument of bzero to char *.
        * toplev.c (display_help): Remove unused variable `looking_for_start'.

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

25 years ago8
law [Mon, 17 Aug 1998 10:50:00 +0000 (10:50 +0000)]
8
        * expr.c (expand_expr): Allow assignments from TImode PARM_DECLs
        and VAR_DECLs.

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

25 years ago * expr.c (expand_expr): Allow assignments from TImode PARM_DECLs
law [Mon, 17 Aug 1998 10:49:58 +0000 (10:49 +0000)]
    * expr.c (expand_expr): Allow assignments from TImode PARM_DECLs
        and VAR_DECLs.

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

25 years ago * stmt.c (expand_end_loop): Tidy. Allow unconditional
law [Mon, 17 Aug 1998 09:30:15 +0000 (09:30 +0000)]
    * stmt.c (expand_end_loop): Tidy.  Allow unconditional
        jumps out of the loop to be treated as part of the exit test.

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

25 years ago * c-decl.c (init_decl_processing): Remove unneeded &.
law [Mon, 17 Aug 1998 09:08:32 +0000 (09:08 +0000)]
    * c-decl.c (init_decl_processing): Remove unneeded &.
        * alpha.h (alpha_initialize_trampoline): Provide prototype.
        * except.c (set_exception_lang_code, set_exception_version_code):
        Change parameter from `short' to `int' to avoid using a gcc
        extension.
        * except.h (set_exception_lang_code, set_exception_version_code):
        Likewise for prototypes.
        * flow.c (count_reg_references): Remove unused variables `regno'
        and `i'.
        * gcse.c (hash_scan_insn): Declare parameter `in_libcall_block'.
        * prefix.c (translate_name): Cast the result of `alloca'.
        * varray.h (VARRAY_FREE): Reimplement as a `do-while(0)' statement.

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

25 years ago * config/m68k/m68k.c: Include "system.h" instead of <stdio.h>.
law [Mon, 17 Aug 1998 08:35:24 +0000 (08:35 +0000)]
    * config/m68k/m68k.c: Include "system.h" instead of <stdio.h>.
        Include "toplev.h".
        (valid_dbcc_comparison_p): Mark mode argument as unused.
        (symbolic_operand): Likewise.
        (legitimize_pic_address): Likewise.
        (const_uint32_operand): Likewise.
        (const_sint32_operand): Likewise.
        * sched.c [!INSN_SCHEDULING]: Define only dummy function
        schedule_insns and comment out rest of file.

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

25 years ago * m68k.c (output_move_simode_const): Use subl to move a zero into an
law [Mon, 17 Aug 1998 08:25:31 +0000 (08:25 +0000)]
    * m68k.c (output_move_simode_const): Use subl to move a zero into an
        address register.
        (output_move_[hq]imode): Likewise.

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

25 years ago * toplev.c (main): Enable -fstrict-aliasing for -O2 and above.
law [Mon, 17 Aug 1998 08:18:17 +0000 (08:18 +0000)]
    * toplev.c (main): Enable -fstrict-aliasing for -O2 and above.
        * invoke.texi: Corresponding changes.

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

25 years ago * regclass.c (allocate_reg_info): Respect MIN when clearing data.
rth [Mon, 17 Aug 1998 02:04:53 +0000 (02:04 +0000)]
    * regclass.c (allocate_reg_info): Respect MIN when clearing data.

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

25 years agoDaily bump.
law [Mon, 17 Aug 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

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

25 years ago * config/sparc/sparc.c (ultra_code_from_mask,
davem [Sun, 16 Aug 1998 18:50:32 +0000 (18:50 +0000)]
* config/sparc/sparc.c (ultra_code_from_mask,
ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
ultra_find_type, ultra_schedule_insn, ultra_flush_pipeline,
ultrasparc_sched_init, ultrasparc_variable_issue,
ultra_rescan_pipeline_state, ultrasparc_sched_reorder): New
functions to describe UltraSPARC pipeline exactly to Haifa.
(ultrasparc_adjust_cost): Indicate IMUL type insns have zero cost,
as there is nothing the scheduler can do about it.  Indicate that
REG_DEP_OUTPUT's collide.  Fixup formatting.
* config/sparc/sparc.h (RTX_COSTS): Fixup integer multiply and
divide costs on Ultra for DImode.
(MD_SCHED_INIT, MD_SCHED_REORDER, MD_SCHED_VARIABLE_ISSUE):
Define.
* config/sparc/sparc.md (ieu_unnamed function unit): Rename to
ieuN and add call_no_delay_slot to type list.
(cti function unit): New unit for branches on UltraSPARC.
(subx/addx insns): Set type to misc.
(sidi zero/sign extension insns on arch64): Set type to shift.
(sign_extendhidi2_insn): Set type to sload.

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

25 years ago * rs6000.c (rs6000_stack_info): Use if == 0 for sizes.
dje [Sun, 16 Aug 1998 11:07:25 +0000 (11:07 +0000)]
    * rs6000.c (rs6000_stack_info): Use if == 0 for sizes.
        (output_epilog): Use if != 0 for offset.
        (rs6000_fatal_bad_address): Prepare for Intl.
        * rs6000.h (rs6000_fatal_bad_address): Declare.
        * rs6000.md (movsfcc, movdfcc): Use else if.
        (elf_high): Use {liu|lis}.
        (elf_low): Use {cal|la}.  Remove %a template from old mnemonics.
        (movsi): Use rs6000_fatal_bad_address.

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

25 years ago8
law [Sun, 16 Aug 1998 00:55:58 +0000 (00:55 +0000)]
8
        * reload.c (find_equiv_reg): Reject equivalences separated
        by a volatile instruction.

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