Commit Graph

17103 Commits

Author SHA1 Message Date
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
Michael Meissner
9224220fb3 Fix IEEE negative zero problems
From-SVN: r20169
1998-06-01 09:15:23 +00:00
Robert Lipe
36f5cda04b More changes from Martin.
From-SVN: r20168
1998-06-01 09:10:43 +00:00
Robert Lipe
d146c305b2 Additional changes from Martin.
From-SVN: r20167
1998-06-01 09:09:55 +00:00
Robert Lipe
8e54705d55 Another round of improvements from Martin.
From-SVN: r20166
1998-06-01 08:24:42 +00:00
Robert Lipe
d73365c5d6 Identical to eb56. Removed.
From-SVN: r20165
1998-06-01 08:07:33 +00:00
Jason Merrill
8a70cb5e65 tree.c (build_cplus_array_type_1): Also check index_type for template parms.
* tree.c (build_cplus_array_type_1): Also check index_type for
	template parms.

From-SVN: r20164
1998-05-31 22:04:10 -04:00
Jeff Law
3504a7b968 Daily bump.
From-SVN: r20163
1998-05-31 18:45:02 -06:00
Jason Merrill
48da2d99e4 * tlist.cc, tvector.cc, tmap.cc: Remove explicit instantiations.
From-SVN: r20162
1998-05-31 20:41:51 -04:00
Manfred Hollstein
c903011605 warn_summary: Update to Kaveh's latest version allowing to specify the last stage built.
* warn_summary: Update to Kaveh's latest version allowing to
	specify the last stage built.

From-SVN: r20161
1998-06-01 00:26:36 +00:00
Manfred Hollstein
91af92df6e warn_summary: Update to Kaveh's latest version allowing to specify the last stage built.
�
	* warn_summary: Update to Kaveh's latest version allowing to
	specify the last stage built.

From-SVN: r20160
1998-06-01 00:26:35 +00:00
Jason Merrill
299e66e590 new
From-SVN: r20159
1998-05-31 19:57:47 -04:00
Jason Merrill
1ceaad38df * pt.c (tsubst): Always copy BINFO_BASETYPES.
From-SVN: r20158
1998-05-31 19:26:58 -04:00
Robert Lipe
9045f690f8 Mark call to sort() as error, per Alexandre Oliva.
From-SVN: r20157
1998-05-31 22:21:26 +00:00
Robert Lipe
1f4d936f38 Martin said:
This is illegal C++, and egcs detects that.

From-SVN: r20156
1998-05-31 21:08:03 +00:00
Robert Lipe
33ae31b16a Martin says:
AFAIK, g++ does not support array initialization (anymore?).

From-SVN: r20155
1998-05-31 21:06:44 +00:00
Robert Lipe
1362dd37fc Additional changes from Martin.
From-SVN: r20154
1998-05-31 20:47:52 +00:00
Robert Lipe
41c3f1e1d9 Additional changes from Martin von Loewis.
From-SVN: r20153
1998-05-31 20:47:01 +00:00
Michael Meissner
655ccec163 Add minus zero test
From-SVN: r20152
1998-05-31 20:31:09 +00:00
John Wehle
726e2d544c reload.c (find_reloads): Record the existing mode if operand_mode == VOIDmode before replacing a...
* reload.c (find_reloads): Record the existing mode if
        operand_mode == VOIDmode before replacing a register with
        a constant.
        * i386.md (tstsi, tsthi, tstqi, tstsf, tstdf, tstxf): Set
        i386_compare_op1 to const0_rtx for the benefit of the
        conditional move patterns.
        (movsicc, movhicc, movsfcc, movdfcc, movxfcc, movdicc): Rewrite
        based on suggestions from Jim Wilson.

From-SVN: r20151
1998-05-31 09:13:36 -06:00