Martin v. Löwis [Mon, 24 Aug 1998 02:05:51 +0000 (22:05 -0400)]
* search.c (my_tree_cons): Reimplement.
From-SVN: r21927
Jason Merrill [Mon, 24 Aug 1998 02:00:27 +0000 (22:00 -0400)]
lex.c (real_yylex): Don't warn about long long constants if we're allowing long long.
* lex.c (real_yylex): Don't warn about long long constants if
we're allowing long long.
* decl.c (pushdecl): Use IDENTIFIER_NAMESPACE_VALUE instead of
accessing bindings directly.
* lang-specs.h: Remove __HONOR_STD.
* inc/exception, inc/new, inc/new.h, inc/typeinfo: Likewise.
From-SVN: r21926
Jason Merrill [Mon, 24 Aug 1998 00:54:37 +0000 (00:54 +0000)]
* fixinc.irix: Add curses.h handling from fixinc.wrap.
From-SVN: r21923
Jeff Law [Mon, 24 Aug 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r21921
David S. Miller [Sun, 23 Aug 1998 23:03:03 +0000 (16:03 -0700)]
Fix thinko in previous commit.
From-SVN: r21920
David S. Miller [Sun, 23 Aug 1998 19:48:11 +0000 (19:48 +0000)]
sparc.c (sparc_emit_set_const32): If outputting a CONST_INT...
* config/sparc/sparc.c (sparc_emit_set_const32): If outputting a
CONST_INT, not a symbolic reference, don't use a HIGH/LO_SUM
sequence, use SET/IOR instead so CSE can see it.
* config/sparc/sparc.md (movhi_const64_special,
movsi_const64_special): New patterns necessitated by that change.
(movhi_high): Remove.
(movhi_lo_sum): Change to match an IOR.
(movdf_insn_sp32): Test TARGET_V9 not TARGET_ARCH64.
(movdf_insn_v9only): New pattern for when V9 but not ARCH64.
(movdf_insn_sp64): Test both TARGET_V9 and TARGET_ARCH64.
(movdf splits): Allow when not V9 or when not ARCH64 and integer
registers are involved.
(snesi_zero_extend split): Remove reload_completed test.
(unnamed plus and minus zero_extend sidi splits): Add it.
From-SVN: r21919
Mark Mitchell [Sun, 23 Aug 1998 15:29:09 +0000 (15:29 +0000)]
old-dejagnu.exp: Make it possible to XFAIL a test that causes an ICE.
* lib/old-dejagnu.exp: Make it possible to XFAIL a test that
causes an ICE.
From-SVN: r21918
Mark Mitchell [Sun, 23 Aug 1998 15:21:34 +0000 (15:21 +0000)]
old-dejagnu.exp: Make it possible to XFAIL a test that causes an ICE.
* lib/old-dejagnu.exp: Make it possible to XFAIL a test that
causes an ICE.
From-SVN: r21917
Mark Mitchell [Sun, 23 Aug 1998 14:40:50 +0000 (14:40 +0000)]
decl.c (grokdeclarator): Complain about in-class initialization of aggregates and/or references.
* decl.c (grokdeclarator): Complain about in-class initialization
of aggregates and/or references.
* pt.c (process_template_parm): Clear IS_AGGR_TYPE for
TEMPLATE_TYPE_PARMs.
From-SVN: r21916
Mark Mitchell [Sun, 23 Aug 1998 12:47:24 +0000 (12:47 +0000)]
iomanip.h: Use __extension__ for `extern' explicit template instantiations.
* iomanip.h: Use __extension__ for `extern' explicit template
instantiations.
* sinst.cc: Don't explicitly instantiation string_char_traits<char>.
* cinst.cc: Likewiwse, for complex<float>, complex<double>,
complex<long double>.
* extend.texi: Remove description of extension to explicit
instantiation that is now endorsed by standard C++.
* decl2.c (grok_array_decl): Add comment.
(mark_used): Don't instantiate an explicit instantiation.
* friend.c (make_friend_class): Remove bogus comment. Fix check
for partial specializations.
* pt.c (check_explicit_specialization): Don't
SET_DECL_EXPLICIT_INSTANTIATION here.
(mark_decl_instantiated): Or here.
(do_decl_instantiation): Do it here, instead. Add checks for
duplicate explicit instantiations, etc. Tidy.
(do_type_instantiation): Likewise.
(instantiate_decl): Improve comments. Complain about explicit
instantiations where no definition is available.
* cp-tree.h (ansi_null_node): Remove.
* call.c (build_over_call): Warn about converting NULL to an
arithmetic type.
* cvt.c (build_expr_type_conversion): Likewise. Use
null_ptr_cst_p instead of expanding it inline.
* decl.c (ansi_null_node): Remove.
(init_decl_processing): Make null_node always have integral type.
* except.c (build_throw): Warn about converting NULL to an
arithmetic type.
* lex.c (init_parse): Remove handling of ansi_null_node.
* pt.c (type_unification_real): Don't convert NULL to void* type.
* typeck.c (build_binary_op_nodefault): Fix NULL warnings.
(convert_for_assignment): Warn about converting NULL to an
arithmetic type.
(convert_for_initialization): Likewise.
From-SVN: r21915
David S. Miller [Sun, 23 Aug 1998 10:43:54 +0000 (10:43 +0000)]
arc.c (arc_initialize_pic): Remove.
* config/arc/arc.c (arc_initialize_pic): Remove.
* config/arc/arc.h (INITIALIZE_PIC): Similarly, this routine does
nothing on any platform and is invoked by no-one, it does not even
appear in the documentation.
* config/sparc/sparc.h (INITIALIZE_PIC): Likewise.
* config/sparc/sparc.c (initialize_pic): Likewise.
(find_addr_reg): Remove this as well, no longer referenced after
my rewrite.
From-SVN: r21914
Jeff Law [Sun, 23 Aug 1998 00:45:01 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r21912
Jeff Law [Sat, 22 Aug 1998 23:21:24 +0000 (17:21 -0600)]
recog.c (validate_replace_rtx_group): New function.
�
* recog.c (validate_replace_rtx_group): New function.
* recog.h (validate_replace_rtx_group): Declare it.
* regmove.c (optimize_reg_copy_3): If any substitution fails, then undo
the entire group of substitutions.
From-SVN: r21910
Jeff Law [Sat, 22 Aug 1998 23:21:23 +0000 (17:21 -0600)]
recog.c (validate_replace_rtx_group): New function.
�
* recog.c (validate_replace_rtx_group): New function.
* recog.h (validate_replace_rtx_group): Declare it.
* regmove.c (optimize_reg_copy_3): If any substitution fails, then undo
the entire group of substitutions.
From-SVN: r21909
Jeff Law [Sat, 22 Aug 1998 23:21:19 +0000 (17:21 -0600)]
recog.c (validate_replace_rtx_group): New function.
�
* recog.c (validate_replace_rtx_group): New function.
* recog.h (validate_replace_rtx_group): Declare it.
* regmove.c (optimize_reg_copy_3): If any substitution fails, then undo
the entire group of substitutions.
From-SVN: r21908
Klaus-Georg Adams [Sat, 22 Aug 1998 22:32:55 +0000 (16:32 -0600)]
loop.c (load_mems): Fix initializers.
�
* loop.c (load_mems): Fix initializers.
From-SVN: r21907
Klaus-Georg Adams [Sat, 22 Aug 1998 22:32:53 +0000 (16:32 -0600)]
loop.c (load_mems): Fix initializers.
(
* loop.c (load_mems): Fix initializers.
From-SVN: r21906
David S. Miller [Sat, 22 Aug 1998 04:53:45 +0000 (21:53 -0700)]
Fix thinko in this change.
From-SVN: r21905
David S. Miller [Sat, 22 Aug 1998 03:17:56 +0000 (03:17 +0000)]
expmed.c (make_tree): Sign extend even if TREE_UNSIGNED...
* expmed.c (make_tree) [CONST_INT]: Sign extend even if
TREE_UNSIGNED, when bitsize of type's mode is larger than
HOST_BITS_PER_WIDE_INT.
From-SVN: r21904
Jeff Law [Sat, 22 Aug 1998 00:45:01 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r21902
David S. Miller [Sat, 22 Aug 1998 00:11:24 +0000 (00:11 +0000)]
sparc.md (TFmode splits): Handle destination registers being referenced in the address correctly.
* config/sparc/sparc.md (TFmode splits): Handle destination
registers being referenced in the address correctly.
From-SVN: r21901
Jeffrey A Law [Fri, 21 Aug 1998 23:30:36 +0000 (23:30 +0000)]
memtst.c: Reduce size of array when STACK_SIZE is defined.
* gcc.c-torture/unsorted/memtst.c: Reduce size of array when
STACK_SIZE is defined.
* gcc.c-torture/unsorted/stuct.c: Similarly.
Makes targets with 16bit address spaces happy.
From-SVN: r21900
Jeffrey A Law [Fri, 21 Aug 1998 23:00:36 +0000 (23:00 +0000)]
* gcc.c-torture/compile/980821-1.c: New test.
From-SVN: r21899
Alexandre Petit-Bianco [Fri, 21 Aug 1998 19:32:21 +0000 (12:32 -0700)]
tree.def (LABELED_BLOCK_EXPR, [...]): New tree nodes.
�
* 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.
From-SVN: r21898
Alexandre Petit-Bianco [Fri, 21 Aug 1998 19:32:19 +0000 (12:32 -0700)]
tree.def (LABELED_BLOCK_EXPR, [...]): New tree nodes.
�
* 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.
From-SVN: r21897
Alexandre Petit-Bianco [Fri, 21 Aug 1998 19:32:18 +0000 (12:32 -0700)]
tree.def (LABELED_BLOCK_EXPR, [...]): New tree nodes.
�
* 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.
From-SVN: r21896
Alexandre Petit-Bianco [Fri, 21 Aug 1998 19:32:16 +0000 (12:32 -0700)]
tree.def (LABELED_BLOCK_EXPR, [...]): New tree nodes.
�
* 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.
From-SVN: r21895
Jeff Law [Fri, 21 Aug 1998 02:15:12 +0000 (20:15 -0600)]
980526-2.c: Disable for targets with 16bit ints.
* gcc.c-torture/980526-2.c: Disable for targets with 16bit ints.
From-SVN: r21894
Jeff Law [Fri, 21 Aug 1998 02:15:11 +0000 (20:15 -0600)]
980526-2.c: Disable for targets with 16bit ints.
�
* gcc.c-torture/980526-2.c: Disable for targets with 16bit ints.
From-SVN: r21893
Jeffrey A Law [Fri, 21 Aug 1998 02:07:01 +0000 (02:07 +0000)]
h8300.c (h8300_encode_label): Use '&' for tiny data items.
* h8300.c (h8300_encode_label): Use '&' for tiny data items.
* h8300.h (TINY_DATA_NAME_P): Likewise.
(STRIP_NAME_ENCODING): Handle '&'.
From-SVN: r21892
Jeff Law [Fri, 21 Aug 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r21890
Jeffrey A 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).
* 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.
From-SVN: r21889
Jason Merrill [Thu, 20 Aug 1998 23:35:23 +0000 (19:35 -0400)]
oops
From-SVN: r21888
Jeffrey A 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.
* remove.c (optimize_reg_copy_3): Abort instead of silently generating
bogus rtl.
From-SVN: r21887
Jeffrey A Law [Thu, 20 Aug 1998 18:45:48 +0000 (18:45 +0000)]
jump.c (rtx_renumbered_equal_p): Do not consider PLUS commutative.
* 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.
From-SVN: r21886
David S. Miller [Thu, 20 Aug 1998 18:39:29 +0000 (18:39 +0000)]
sparc.md (movtf_insn_sp32): All memory operands must be offsettable so the splits can be made.
* config/sparc/sparc.md (movtf_insn_sp32): All memory operands
must be offsettable so the splits can be made.
From-SVN: r21885
Jason Merrill [Thu, 20 Aug 1998 17:41:43 +0000 (17:41 +0000)]
tree.c (search_tree, [...]): New fn.
* 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.
From-SVN: r21884
Per Bothner [Thu, 20 Aug 1998 16:45:53 +0000 (09:45 -0700)]
Use new ChangeLog style.
From-SVN: r21883
Per Bothner [Thu, 20 Aug 1998 16:44:03 +0000 (09:44 -0700)]
Handle new'ing of Java classes.
�
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.
From-SVN: r21882
Per Bothner [Thu, 20 Aug 1998 16:44:01 +0000 (09:44 -0700)]
Handle new'ing of Java classes.
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.
From-SVN: r21881
Per Bothner [Thu, 20 Aug 1998 16:43:59 +0000 (09:43 -0700)]
Handle new'ing of Java classes.
(
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.
From-SVN: r21880
Per Bothner [Thu, 20 Aug 1998 16:43:58 +0000 (09:43 -0700)]
Handle new'ing of Java classes.
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.
From-SVN: r21879
Per Bothner [Thu, 20 Aug 1998 14:42:08 +0000 (14:42 +0000)]
decl2.c (import_export_vtable): Suppress vtables for Java classes.
�
* decl2.c (import_export_vtable): Suppress vtables for Java classes.
From-SVN: r21878
Jason Merrill [Thu, 20 Aug 1998 13:54:54 +0000 (09:54 -0400)]
regen
From-SVN: r21877
Mark Mitchell [Thu, 20 Aug 1998 13:46:53 +0000 (13:46 +0000)]
decl.c (duplicate_decls): Always merge the old and new patterns for templates...
* 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.
From-SVN: r21876
Michael Meissner [Thu, 20 Aug 1998 11:00:20 +0000 (11:00 +0000)]
Include system.h, not stdio.h
From-SVN: r21874
David Edelsohn [Thu, 20 Aug 1998 10:50:39 +0000 (10:50 +0000)]
* rs6000.md (movqi, movhi): Add CONSTANT_P_RTX.
From-SVN: r21873
Dave Brolley [Thu, 20 Aug 1998 10:29:22 +0000 (10:29 +0000)]
stor-layout.c (layout_type): Compute TYPE_SIZE_UNIT correctly for arrays of bits.
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.
From-SVN: r21872
Jeffrey A Law [Thu, 20 Aug 1998 08:10:49 +0000 (08:10 +0000)]
init.c (build_builtin_delete_call): Add missing assemble_external call.
* init.c (build_builtin_delete_call): Add missing assemble_external
call.
From-SVN: r21871
Jason Merrill [Thu, 20 Aug 1998 02:54:29 +0000 (02:54 +0000)]
* parse.y (notype_unqualified_id): Also accept ~A<int>.
From-SVN: r21870
Jeff Law [Thu, 20 Aug 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r21868
Mark Mitchell [Wed, 19 Aug 1998 23:42:39 +0000 (23:42 +0000)]
old-dejagnu.exp (old-dejagnu): Remove sig6/sig11 handling code.
* lib/old-dejagnu.exp (old-dejagnu): Remove sig6/sig11 handling
code.
From-SVN: r21865
David Edelsohn [Wed, 19 Aug 1998 19:43:19 +0000 (19:43 +0000)]
rs6000.c (rs6000_output_load_toc_table): Use ld for 64-bit.
* 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.
From-SVN: r21864
Mark Mitchell [Wed, 19 Aug 1998 18:48:58 +0000 (18:48 +0000)]
typeck.c (build_binary_op_nodefault): Warn on use of NULL in arithmetic.
* 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.
From-SVN: r21863
Nick Clifton [Wed, 19 Aug 1998 16:56:21 +0000 (10:56 -0600)]
thumb.md (extendqisi2_insn): Cope with REG + OFFSET addressing.
* config/arm/thumb.md (extendqisi2_insn): Cope with REG +
OFFSET addressing.
From-SVN: r21862
Nick Clifton [Wed, 19 Aug 1998 16:56:19 +0000 (10:56 -0600)]
thumb.md (extendqisi2_insn): Cope with REG + OFFSET addressing.
�
* config/arm/thumb.md (extendqisi2_insn): Cope with REG +
OFFSET addressing.
From-SVN: r21861
Nick Clifton [Wed, 19 Aug 1998 16:31:30 +0000 (10:31 -0600)]
�
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.
From-SVN: r21860
Nick Clifton [Wed, 19 Aug 1998 16:31:28 +0000 (10:31 -0600)]
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.
From-SVN: r21859
Mark Mitchell [Wed, 19 Aug 1998 15:14:58 +0000 (15:14 +0000)]
cp-tree.h (ansi_null_node): New variable.
* 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.
From-SVN: r21858
Jeffrey A Law [Wed, 19 Aug 1998 14:13:35 +0000 (08:13 -0600)]
Bump for snapshot
From-SVN: r21856
Mark Mitchell [Wed, 19 Aug 1998 13:44:57 +0000 (13:44 +0000)]
* rtlanal.c (for_each_rtx): Check in the change mentioned below.
From-SVN: r21855
Jeffrey A Law [Wed, 19 Aug 1998 13:10:34 +0000 (07:10 -0600)]
Bump for snapshot
From-SVN: r21854
Jason Merrill [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.
From-SVN: r21853
Mumit Khan [Wed, 19 Aug 1998 13:05:52 +0000 (07:05 -0600)]
cplus-dem.c (work_stuff): Add dllimported.
x
* cplus-dem.c (work_stuff): Add dllimported.
(demangled_prefix): Mark symbols imported from PE DLL.
(internal_cplus_demangled): Handle.
From-SVN: r21852
Mumit Khan [Wed, 19 Aug 1998 13:05:50 +0000 (07:05 -0600)]
cplus-dem.c (work_stuff): Add dllimported.
�
* cplus-dem.c (work_stuff): Add dllimported.
(demangled_prefix): Mark symbols imported from PE DLL.
(internal_cplus_demangled): Handle.
From-SVN: r21851
Hans-Peter Nilsson [Wed, 19 Aug 1998 13:02:31 +0000 (15:02 +0200)]
* tm.texi (Misc): Fix typo "teh"...
From-SVN: r21850
Hans-Peter Nilsson [Wed, 19 Aug 1998 12:54:49 +0000 (14:54 +0200)]
* tm.texi (PIC): Fix typo "PPIC".
From-SVN: r21849
Hans-Peter Nilsson [Wed, 19 Aug 1998 12:53:25 +0000 (14:53 +0200)]
tm.texi (Caller Saves): Say that DEFAULT_CALLER_SAVES has no effect when -O2 and higher.
* tm.texi (Caller Saves): Say that DEFAULT_CALLER_SAVES has no
effect when -O2 and higher.
* invoke.texi (Optimize Options): Likewise for -fcaller-saves.
From-SVN: r21848
Michael Hayes [Wed, 19 Aug 1998 12:49:17 +0000 (12:49 +0000)]
regclass.c: Changed register set documentation to be consistent with GCC behaviour.
* regclass.c: Changed register set documentation to be consistent
with GCC behaviour.
* final.c (final_start_function) Removed redundant test for
call_fixed_regs.
From-SVN: r21847
Mark Mitchell [Wed, 19 Aug 1998 12:37:42 +0000 (12:37 +0000)]
old-dejagnu.exp: Revise handling of `Internal compiler error'.
* lib/old-dejagnu.exp: Revise handling of `Internal compiler
error'.
From-SVN: r21846
Mark Mitchell [Wed, 19 Aug 1998 12:30:47 +0000 (12:30 +0000)]
rtl.h (rtx_function): New type.
* 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.
From-SVN: r21845
David S. Miller [Wed, 19 Aug 1998 09:02:26 +0000 (09:02 +0000)]
sparc.md (negtf2_notv9 split): Give NEG SFmode.
* config/sparc/sparc.md (negtf2_notv9 split): Give NEG
SFmode.
(negsf2): Fix insn output string.
From-SVN: r21844
Richard Earnshaw [Wed, 19 Aug 1998 08:33:48 +0000 (08:33 +0000)]
* arm.c (arm_override_options): Remove lie about ignoring PIC flag.
From-SVN: r21843
David S. Miller [Wed, 19 Aug 1998 08:14:26 +0000 (08:14 +0000)]
sparc.c (finalize_pic): Check for the correct nonlocal_goto_receiver UNSPEC number.
* 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
From-SVN: r21842
Jeff Law [Wed, 19 Aug 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r21838
Jeffrey A 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.
* haifa-sched.c (sched_analyze): Put all JUMP_INSNs on the last
pending memory flush list.
From-SVN: r21836
Jeffrey A 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.
* Make-lang.in: Add several "else true" clauses to deal with lame
systems.
From-SVN: r21834
Jeffrey A Law [Tue, 18 Aug 1998 18:29:40 +0000 (18:29 +0000)]
combine.c (can_combine_p): Allow combining insns with REG_RETVAL notes.
* combine.c (can_combine_p): Allow combining insns with REG_RETVAL
notes.
(try_combine): Allow combining insns with REG_LIBCALL notes.
From-SVN: r21833
Jeffrey A Law [Tue, 18 Aug 1998 18:22:32 +0000 (18:22 +0000)]
* gcc.c-torture/execute/*.x: Some updates for the h8300 targets.
From-SVN: r21832
Jeffrey A 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...
* 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.
From-SVN: r21831
Jeffrey A 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.
* regmove.c (fixup_match_2): Do not call reg_overlap_mentioned_p
on notes.
From-SVN: r21830
Brendan Kehoe [Tue, 18 Aug 1998 15:32:36 +0000 (11:32 -0400)]
another expr/decl ambiguity test
From-SVN: r21828
Brendan Kehoe [Tue, 18 Aug 1998 15:24:24 +0000 (11:24 -0400)]
add another expr/decl ambiguity test
From-SVN: r21827
Brendan Kehoe [Tue, 18 Aug 1998 15:19:21 +0000 (11:19 -0400)]
another expr/decl ambiguity test
From-SVN: r21826
Brendan Kehoe [Tue, 18 Aug 1998 15:11:05 +0000 (11:11 -0400)]
add expr/decl ambiguity test
From-SVN: r21825
Richard Henderson [Tue, 18 Aug 1998 12:40:52 +0000 (05:40 -0700)]
c-common.c (decl_attributes): Issue an error if the argument to alias is not a string.
* c-common.c (decl_attributes): Issue an error if the argument
to alias is not a string.
From-SVN: r21824
Jeffrey A 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
* Makefile.in (cplus-dem.o): Provide explicit rules for building
cplus-dem.o
From-SVN: r21823
Jeff Law [Tue, 18 Aug 1998 10:06:24 +0000 (04:06 -0600)]
xiberty stuff isn't needed anymore.
From-SVN: r21822
Jeffrey A 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.
* regmove.c (optimize_reg_copy_1): Update REG_N_CALLS_CROSSED
and REG_LIVE_LENGTH as successful substitutions are made.
From-SVN: r21819
David S. Miller [Tue, 18 Aug 1998 08:24:51 +0000 (01:24 -0700)]
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.
From-SVN: r21817
Richard Earnshaw [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.
* arm.h (SECONDARY_INPUT_RELOAD_CLASS): Return NO_REGS if compiling
for architecture v4.
From-SVN: r21816
Jeff Law [Tue, 18 Aug 1998 00:45:32 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r21814
David S. Miller [Mon, 17 Aug 1998 22:34:06 +0000 (22:34 +0000)]
sparc.md (sltu, sgeu): Don't FAIL, call gen_compare_reg.
* 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.
From-SVN: r21813
Mark Mitchell [Mon, 17 Aug 1998 22:33:58 +0000 (22:33 +0000)]
cp-tree.h (enter_scope_of): New function.
* cp-tree.h (enter_scope_of): New function.
* parse.y (complex_direct_notype_declarator): Use it.
* semantics.c (enter_scope_of): New function.
From-SVN: r21812
Jeffrey A 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.
From-SVN: r21810
Jeff Law [Mon, 17 Aug 1998 20:11:06 +0000 (14:11 -0600)]
rs6000.c (secondary_reload_class): For TARGET_ELF...
�
* 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.
From-SVN: r21808
Jeff Law [Mon, 17 Aug 1998 20:11:04 +0000 (14:11 -0600)]
rs6000.c (secondary_reload_class): For TARGET_ELF...
* 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.
From-SVN: r21807
Jason Merrill [Mon, 17 Aug 1998 19:29:45 +0000 (19:29 +0000)]
* decl.c (grokparms): No, here.
From-SVN: r21801
Jason Merrill [Mon, 17 Aug 1998 18:46:43 +0000 (18:46 +0000)]
decl.c (grokdeclarator): Catch parm with pointer to array of unknown bound here...
* decl.c (grokdeclarator): Catch parm with pointer to array of
unknown bound here...
* method.c (process_overload_item): ...not here.
From-SVN: r21800
Jason Merrill [Mon, 17 Aug 1998 18:46:03 +0000 (14:46 -0400)]
tweak
From-SVN: r21799