Commit Graph

18255 Commits

Author SHA1 Message Date
David S. Miller
58e0b7e094 Fix thinko in this change.
From-SVN: r21905
1998-08-21 21:53:45 -07:00
David S. Miller
172f4957e1 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
1998-08-21 20:17:56 -07:00
Jeff Law
553e18537e Daily bump.
From-SVN: r21902
1998-08-21 18:45:01 -06:00
David S. Miller
994099bb20 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
1998-08-21 17:11:24 -07:00
Jeffrey A Law
a00c936aaa 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
1998-08-21 17:30:36 -06:00
Jeffrey A Law
028622945d * gcc.c-torture/compile/980821-1.c: New test.
From-SVN: r21899
1998-08-21 17:00:36 -06:00
Alexandre Petit-Bianco
1847ba9e03 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
1998-08-21 12:32:21 -07:00
Alexandre Petit-Bianco
f42e28dd5f 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
1998-08-21 12:32:19 -07:00
Alexandre Petit-Bianco
0044c65c78 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
1998-08-21 12:32:18 -07:00
Alexandre Petit-Bianco
40edd0bd03 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
1998-08-21 12:32:16 -07:00
Jeff Law
8ee53a2191 980526-2.c: Disable for targets with 16bit ints.
* gcc.c-torture/980526-2.c: Disable for targets with 16bit ints.

From-SVN: r21894
1998-08-20 20:15:12 -06:00
Jeff Law
767af602bc 980526-2.c: Disable for targets with 16bit ints.
�
        * gcc.c-torture/980526-2.c: Disable for targets with 16bit ints.

From-SVN: r21893
1998-08-20 20:15:11 -06:00
Jeffrey A Law
f24b26edd3 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
1998-08-20 20:07:01 -06:00
Jeff Law
1df7c0ee25 Daily bump.
From-SVN: r21890
1998-08-20 18:45:02 -06:00
Jeffrey A Law
2b9abd88e9 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
1998-08-20 17:48:14 -06:00
Jason Merrill
acb619d997 oops
From-SVN: r21888
1998-08-20 19:35:23 -04:00
Jeffrey A Law
84f1ebff03 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
1998-08-20 17:19:05 -06:00
Jeffrey A Law
8fc001f9a2 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
1998-08-20 12:45:48 -06:00
David S. Miller
5e3848f5e3 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
1998-08-20 11:39:29 -07:00
Jason Merrill
50a6dbd707 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
1998-08-20 13:41:43 -04:00
Per Bothner
a604b0f1db Use new ChangeLog style.
From-SVN: r21883
1998-08-20 09:45:53 -07:00
Per Bothner
6a5c8e422c 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
1998-08-20 09:44:03 -07:00
Per Bothner
824f42abaf 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
1998-08-20 09:44:01 -07:00
Per Bothner
f668f16016 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
1998-08-20 09:43:59 -07:00
Per Bothner
743f140d46 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
1998-08-20 09:43:58 -07:00
Per Bothner
d35897f502 decl2.c (import_export_vtable): Suppress vtables for Java classes.
�
	* decl2.c (import_export_vtable):  Suppress vtables for Java classes.

From-SVN: r21878
1998-08-20 07:42:08 -07:00
Jason Merrill
68caa3978a regen
From-SVN: r21877
1998-08-20 09:54:54 -04:00
Mark Mitchell
4d85e00e38 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
1998-08-20 13:46:53 +00:00
Michael Meissner
293bcdc970 Include system.h, not stdio.h
From-SVN: r21874
1998-08-20 11:00:20 +00:00
David Edelsohn
3345af62e8 * rs6000.md (movqi, movhi): Add CONSTANT_P_RTX.
From-SVN: r21873
1998-08-20 06:50:39 -04:00
Dave Brolley
7771032e79 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
1998-08-20 06:29:22 -04:00
Jeffrey A Law
ee712d650b 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
1998-08-20 02:10:49 -06:00
Jason Merrill
eab049e2f6 * parse.y (notype_unqualified_id): Also accept ~A<int>.
From-SVN: r21870
1998-08-19 22:54:29 -04:00
Jeff Law
7688e2e244 Daily bump.
From-SVN: r21868
1998-08-19 18:45:02 -06:00
Mark Mitchell
d4855d37d9 old-dejagnu.exp (old-dejagnu): Remove sig6/sig11 handling code.
* lib/old-dejagnu.exp (old-dejagnu): Remove sig6/sig11 handling
	code.

From-SVN: r21865
1998-08-19 23:42:39 +00:00
David Edelsohn
13ded97515 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
1998-08-19 15:43:19 -04:00
Mark Mitchell
e0f9a8bc50 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
1998-08-19 18:48:58 +00:00
Nick Clifton
893779cc02 thumb.md (extendqisi2_insn): Cope with REG + OFFSET addressing.
* config/arm/thumb.md (extendqisi2_insn): Cope with REG +
        OFFSET addressing.

From-SVN: r21862
1998-08-19 10:56:21 -06:00
Nick Clifton
bb4c2bf3d8 thumb.md (extendqisi2_insn): Cope with REG + OFFSET addressing.
�
        * config/arm/thumb.md (extendqisi2_insn): Cope with REG +
        OFFSET addressing.

From-SVN: r21861
1998-08-19 10:56:19 -06:00
Nick Clifton
966b2e7a3d
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
1998-08-19 10:31:30 -06:00
Nick Clifton
bca48f391e 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
1998-08-19 10:31:28 -06:00
Mark Mitchell
898600d5fa 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
1998-08-19 15:14:58 +00:00
Jeffrey A Law
a255ef043c Bump for snapshot
From-SVN: r21856
1998-08-19 08:13:35 -06:00
Mark Mitchell
ccc2d6d079 * rtlanal.c (for_each_rtx): Check in the change mentioned below.
From-SVN: r21855
1998-08-19 13:44:57 +00:00
Jeffrey A Law
85cdcd2d6a Bump for snapshot
From-SVN: r21854
1998-08-19 07:10:34 -06:00
Jason Merrill
b77623bc58 Fix SunOS4 build failure.
* collect2.c (extract_init_priority): Use atoi instead of strtoul.

From-SVN: r21853
1998-08-19 06:07:52 -07:00
Mumit Khan
9b559a2720 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
1998-08-19 07:05:52 -06:00
Mumit Khan
28235a5ca8 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
1998-08-19 07:05:50 -06:00
Hans-Peter Nilsson
391aaa6b7e * tm.texi (Misc): Fix typo "teh"...
From-SVN: r21850
1998-08-19 07:02:31 -06:00
Hans-Peter Nilsson
ed4db1ee36 * tm.texi (PIC): Fix typo "PPIC".
From-SVN: r21849
1998-08-19 06:54:49 -06:00