Commit Graph

17122 Commits

Author SHA1 Message Date
Martin v. Löwis 1813dd7bdd * decl2.c (arg_assoc_type): Process unknown_type_node and OFFSET_TYPE.
From-SVN: r20219
1998-06-03 21:35:57 -04:00
Jason Merrill 285baa062b error.c (dump_expr): Clean up NEW_EXPR case.
* error.c (dump_expr): Clean up NEW_EXPR case.
	* tree.c (mapcar): Support NEW_EXPR.
	* error.c (dump_expr): Support NEW_EXPR.
	* decl2.c (arg_assoc_type): Return 0 for LANG_TYPE.

From-SVN: r20218
1998-06-03 21:33:03 -04:00
Jeff Law 6035f0aed8 Daily bump.
From-SVN: r20217
1998-06-03 18:45:01 -06:00
Jeffrey A Law f1bfebe57f * gcc.c-torture/execute/980604-1.c: New test.
From-SVN: r20216
1998-06-03 18:40:23 -06:00
Jason Merrill cc600f3318 method.c (make_thunk): Use overload machinery to make name.
* method.c (make_thunk): Use overload machinery to make name.
	* search.c (covariant_return_p): New fn.
	(get_matching_virtual): Use it.
	* init.c (build_new_1): Fix check for void.

From-SVN: r20215
1998-06-03 20:34:57 -04:00
Craig Burley ff439b5fee expr.c (safe_from_p): Avoid combinatorial explosion over duplicate SAVE_EXPRs by ensuring we never...
* expr.c (safe_from_p): Avoid combinatorial explosion
        over duplicate SAVE_EXPRs by ensuring we never recurse
        on one that has already been visited.

From-SVN: r20214
1998-06-03 18:30:40 -06:00
Graham Stott 7d2a46a8c7 loop.c (check_dbra_loop): Initialise final_value before normalizing the loop.
* loop.c (check_dbra_loop): Initialise final_value before
        normalizing the loop.

From-SVN: r20213
1998-06-03 18:01:28 -06:00
Craig Burley 5a3321e186 com.c (ffecom_expr_): Fix D**I and Z**I cases to not convert (DOUBLE PRECISION) D and (DOUBLE...
Mon May 25 03:34:42 1998  Craig Burley  <burley@gnu.org>
	* com.c (ffecom_expr_): Fix D**I and Z**I cases to
	not convert (DOUBLE PRECISION) D and (DOUBLE COMPLEX) Z
	to INTEGER.  (This is dead code here anyway.)

From-SVN: r20212
1998-06-03 14:13:06 +00:00
Craig Burley 6a047254ef (ffecom_expr_): Fix D**I and Z**I cases to not convert (DOUBLE PRECISION) D and (DOUBLE COMPLEX) Z to INTEGER.
(ffecom_expr_): Fix D**I and Z**I cases to
not convert (DOUBLE PRECISION) D and (DOUBLE COMPLEX) Z
to INTEGER.  (This is dead code here anyway.)

From-SVN: r20211
1998-06-03 14:12:26 +00:00
J"orn Rennecke f5470689a7 reload1.c (reload_reg_free_for_value_p): New arguments out and reloadnum.
* reload1.c (reload_reg_free_for_value_p): New arguments out and
	reloadnum.  Changed all callers.

From-SVN: r20210
1998-06-03 13:03:35 +01:00
Ulrich Drepper 9b91d8f4ed Add _() and N_() macros.
From-SVN: r20209
1998-06-03 09:14:21 +00:00
Bruce Korb fb2aebdb81 This is a more workable makefile
From-SVN: r20208
1998-06-03 07:29:13 +00:00
Andreas Schwab bc516719ec c-common.c (check_format_info): Put back check for C9x `hh' length modifier.
* c-common.c (check_format_info): Put back check for C9x `hh'
	length modifier.  Warn about %n format writing into const.  Remove
	obsolete comment.
	(format_char_info): Fix comments.

From-SVN: r20207
1998-06-03 02:13:21 +00:00
Andreas Schwab 7fdc2757cb configure.in: Set float_format to m68k for all m68k targets that do not override...
* configure.in: Set float_format to m68k for all m68k targets that
	do not override LONG_DOUBLE_TYPE_SIZE.
	* config/float-m68k.h: New file.

From-SVN: r20206
1998-06-03 02:06:31 +00:00
Andreas Schwab c8db55b051 configure.in: Set float_format to m68k for all m68k targets that do not override...
* configure.in: Set float_format to m68k for all m68k targets that
	do not override LONG_DOUBLE_TYPE_SIZE.
	* config/float-m68k.h: New file.

From-SVN: r20205
1998-06-03 01:56:57 +00:00
Jeff Law 474c7687e0 Daily bump.
From-SVN: r20204
1998-06-02 18:45:02 -06:00
Richard Henderson dc2a47ed40 jump.c (jump_optimize): Remove debug messages accidentally left in with the previous change.
* jump.c (jump_optimize): Remove debug messages accidentally left in
with the previous change.

From-SVN: r20203
1998-06-02 16:12:06 -07:00
Jeff Law 06abe5a483 Fix typo in last change change.
From-SVN: r20202
1998-06-02 16:59:45 -06:00
Richard Henderson f0348c2524 expr.c (store_expr): Revert stray patch associated with 1998-05-23 commit.
* expr.c (store_expr): Revert stray patch associated with
	1998-05-23 commit.

From-SVN: r20201
1998-06-02 15:48:51 -07:00
Richard Henderson 4f4f436f07 jump.c (rtx_unsafe_p): New function.
* jump.c (rtx_unsafe_p): New function.
        (jump_optimize): Use it on if/then/else transformations and
        conditional move transformations.

From-SVN: r20200
1998-06-02 15:03:22 -07:00
Jeffrey A Law c0e3b3b346 New test.
From-SVN: r20199
1998-06-02 15:54:22 -06:00
Andreas Schwab df0e526f2d fold-const.c (fold, [...]): When folding VAR++ == CONST or VAR-- == CONST construct a proper mask if...
* fold-const.c (fold, case EQ_EXPR): When folding VAR++ == CONST
        or VAR-- == CONST construct a proper mask if VAR is a bitfield.
        Cope with CONST being out of range for the bitfield.

From-SVN: r20198
1998-06-02 15:53:37 -06:00
Jeffrey A Law ccdb925105 Makefile.in (site.exp): Use the object testsuite directory as the temporary directory.
* Makefile.in (site.exp): Use the object testsuite directory as
        the temporary directory.

From-SVN: r20197
1998-06-02 15:48:43 -06:00
Robert Lipe cc33912a9a Correct typo in "OPtions"
From-SVN: r20196
1998-06-02 21:37:21 +00:00
Bernd Schmidt 2638126a5d expr.c (emit_move_insn_1): When moving complex values in several steps...
* expr.c (emit_move_insn_1): When moving complex values in several
        steps, emit a CLOBBER to show the destination dies.
Re-add patch.

From-SVN: r20195
1998-06-02 15:30:26 -06:00
Jeff Law 8fca9b9aa8 Random tweaks.
From-SVN: r20194
1998-06-02 15:26:02 -06:00
Jeffrey A Law 6c8538ccb1 expr.c (expand_expr, [...]): Handle taking the address of an ADDRESSOF rtx.
* expr.c (expand_expr, case ADDR_EXPR): Handle taking the
        address of an ADDRESSOF rtx.

From-SVN: r20193
1998-06-02 15:16:10 -06:00
Mike Stump 0bc02db4e6 expr.c (expand_builtin_setjmp): Handle BUILTIN_SETJMP_FRAME_VALUE.
* expr.c (expand_builtin_setjmp): Handle BUILTIN_SETJMP_FRAME_VALUE.
        * i960.h (SETUP_FRAME_ADDRESSES, BUILTIN_SETJMP_FRAME_VALUE): Define.
        * i960.md (ret, flush_register_windows): Define.
        (nonlocal_goto): Likewise.  Nested function nonlocal gotos don't
        work yet.
        * tm.texi (BUILTIN_SETJMP_FRAME_VALUE): Document new macro.

From-SVN: r20192
1998-06-02 14:11:21 -06:00
Robert Lipe 666e0f5ad5 Per Martin.
From-SVN: r20191
1998-06-02 20:10:23 +00:00
Robert Lipe 0d4ba75b83 More patches from Martin.
From-SVN: r20190
1998-06-02 20:01:42 +00:00
Robert Lipe 7e2fbe9340 Corrections, per Martin.
From-SVN: r20189
1998-06-02 20:00:24 +00:00
Robert Lipe 72f8240e7a Remove syntax error, turns into an ICE.
From-SVN: r20188
1998-06-02 19:55:39 +00:00
Jeffrey A Law 8ca0d19f71 * gcc.c-torture/execute/980602-1.c: New test.
From-SVN: r20187
1998-06-02 13:53:46 -06:00
Robert Lipe 3a0243dbd8 Quoting Martin:
The semantics of this test case are implementation-defined, as per
[lib.support.types]/4. Therefore, I propose to delete it.

From-SVN: r20186
1998-06-02 19:47:20 +00:00
Robert Lipe 57f1de49eb Quoting Martin:
[ eb47, eb53, eb89 ] build standard templates from reference types,
which is illegal.
Unfortunately, they all give errors for lines in library headers,
which I can't test for.
Therefore, I suggest to remove all of them, and replace it with
the [eb128.C]

From-SVN: r20185
1998-06-02 19:45:48 +00:00
Robert Lipe 631253eb70 eb47.C eb53.C eb89.C, quoting Martin:
These three test cases all build standard templates from reference types,
which is illegal.
Unfortunately, they all give errors for lines in library headers,
which I can't test for.
Therefore, I suggest to remove all of them, and replace it with
[eb128.c]

From-SVN: r20184
1998-06-02 19:44:07 +00:00
Richard Henderson d46f7484c3 alpha.md (divsi3, [...]): Enable, and work around an OSF/1 library bug wrt sign-extension of inputs.
* alpha.md (divsi3, udivsi3, modsi3, umodsi3): Enable, and work
        around an OSF/1 library bug wrt sign-extension of inputs.

From-SVN: r20183
1998-06-02 08:37:34 -07:00
Richard Henderson e3c81d201d * vax/netbsd.h (DWARF2_UNWIND_INFO): Must be undef, not defined 0.
From-SVN: r20182
1998-06-02 05:59:23 -07:00
Bruce Korb 8dafb9d7be update generated files
From-SVN: r20181
1998-06-02 07:02:02 +00:00
Bruce Korb f6770495f9 Fix variable name to match inclhack shell script
From-SVN: r20180
1998-06-02 07:00:13 +00:00
Dave Love 858a26d475 970125-0.f: Fix per JCB.
1998-06-02  Dave Love  <d.love@dl.ac.uk>
	* 970125-0.f: Fix per JCB.  Add commentary.

From-SVN: r20179
1998-06-02 02:48:29 +00:00
Dave Love de5ecc6c4d Fix per JCB. Add commentary.
From-SVN: r20178
1998-06-02 02:44:48 +00:00
Jeff Law 7eca798618 Daily bump.
From-SVN: r20177
1998-06-01 18:45:02 -06:00
Per Bothner 9fed47fc4c cp-tree.h (TYPE_FOR_JAVA): New macro.
�
	* cp-tree.h (TYPE_FOR_JAVA):  New macro.
	* decl.c, cp-tree.h (java_byte_type_node, java_short_type_node,
	java_int_type_node, java_long_type_node, java_float_type_node,
	java_double_type_node, java_char_type_node, java_boolean_type_node):
	New "primitive" types, with predefined names __java_byte etc.
	(record_builtin_java_type):  New function.
	(init_decl_processing):  Make Java types with record_builtin_java_type.
	(pushtag, grokdeclarator):  Set TYPE_FOR_JAVA if in extern "JAVA".
	(xref_baseypes):  If base class was TYPE_FOR_JAVA, so is this class.
	(grokfndecl):  Call check_java_method for Java classes.
	* method.c (is_java_type):  Removed.  Replaced with TYPE_FOR_JAVA.
	(process_overload_item):  Match types against specific
	java_XX_type_node types, rather than using is_java_type.
	* class.c (finish_struct_1):  Don't add default copy constructor
	or operator= if TYPE_FOR_JAVA.
	(pop_lang_conext):  Restore strict_prototyp proper if Java.
	* decl2.c (acceptable_java_type, check_java_method):  New functions.
	* pt.c (instantiate_class_template):  Copy TYPE_FOR_JAVA from pattern.
	(tsubst):  Move common statement after if statement.
	* typeck.c (comptypes):  If strict, TYPE_FOR_JAVA must match.

From-SVN: r20176
1998-06-01 11:25:37 -07:00
Per Bothner ea419909d4 cp-tree.h (TYPE_FOR_JAVA): New macro.
a
	* cp-tree.h (TYPE_FOR_JAVA):  New macro.
	* decl.c, cp-tree.h (java_byte_type_node, java_short_type_node,
	java_int_type_node, java_long_type_node, java_float_type_node,
	java_double_type_node, java_char_type_node, java_boolean_type_node):
	New "primitive" types, with predefined names __java_byte etc.
	(record_builtin_java_type):  New function.
	(init_decl_processing):  Make Java types with record_builtin_java_type.
	(pushtag, grokdeclarator):  Set TYPE_FOR_JAVA if in extern "JAVA".
	(xref_baseypes):  If base class was TYPE_FOR_JAVA, so is this class.
	(grokfndecl):  Call check_java_method for Java classes.
	* method.c (is_java_type):  Removed.  Replaced with TYPE_FOR_JAVA.
	(process_overload_item):  Match types against specific
	java_XX_type_node types, rather than using is_java_type.
	* class.c (finish_struct_1):  Don't add default copy constructor
	or operator= if TYPE_FOR_JAVA.
	(pop_lang_conext):  Restore strict_prototyp proper if Java.
	* decl2.c (acceptable_java_type, check_java_method):  New functions.
	* pt.c (instantiate_class_template):  Copy TYPE_FOR_JAVA from pattern.
	(tsubst):  Move common statement after if statement.
	* typeck.c (comptypes):  If strict, TYPE_FOR_JAVA must match.

From-SVN: r20175
1998-06-01 11:25:35 -07:00
Per Bothner eff71ab0ab cp-tree.h (TYPE_FOR_JAVA): New macro.
d
	* cp-tree.h (TYPE_FOR_JAVA):  New macro.
	* decl.c, cp-tree.h (java_byte_type_node, java_short_type_node,
	java_int_type_node, java_long_type_node, java_float_type_node,
	java_double_type_node, java_char_type_node, java_boolean_type_node):
	New "primitive" types, with predefined names __java_byte etc.
	(record_builtin_java_type):  New function.
	(init_decl_processing):  Make Java types with record_builtin_java_type.
	(pushtag, grokdeclarator):  Set TYPE_FOR_JAVA if in extern "JAVA".
	(xref_baseypes):  If base class was TYPE_FOR_JAVA, so is this class.
	(grokfndecl):  Call check_java_method for Java classes.
	* method.c (is_java_type):  Removed.  Replaced with TYPE_FOR_JAVA.
	(process_overload_item):  Match types against specific
	java_XX_type_node types, rather than using is_java_type.
	* class.c (finish_struct_1):  Don't add default copy constructor
	or operator= if TYPE_FOR_JAVA.
	(pop_lang_conext):  Restore strict_prototyp proper if Java.
	* decl2.c (acceptable_java_type, check_java_method):  New functions.
	* pt.c (instantiate_class_template):  Copy TYPE_FOR_JAVA from pattern.
	(tsubst):  Move common statement after if statement.
	* typeck.c (comptypes):  If strict, TYPE_FOR_JAVA must match.

From-SVN: r20174
1998-06-01 11:25:34 -07:00
Catherine Moore 44ec7e59cc sh.h (MAX_OFILE_ALIGNMENT): Define.
* config/sh/sh.h (MAX_OFILE_ALIGNMENT): Define.
        * varasm.c (assemble_variable): Augment alignment warning.

From-SVN: r20173
1998-06-01 10:25:44 -04:00
Robert Lipe 3d9bd4e31d Much simplified version from Martin.
From-SVN: r20172
1998-06-01 12:01:29 +00:00
Jason Merrill bbc06b4b09 * pt.c (for_each_template_parm): Use first_rtl_op.
From-SVN: r20171
1998-06-01 07:09:17 -04:00
Robert Lipe 994d3884f0 Add better error text.
From-SVN: r20170
1998-06-01 10:16:16 +00:00