Commit Graph

24 Commits

Author SHA1 Message Date
Mark Mitchell
9c4cb3a3e9 convert.c (convert_to_integer): Issue an error on conversions to incomplete types.
* convert.c (convert_to_integer): Issue an error on conversions to
	incomplete types.

From-SVN: r22102
1998-08-30 16:04:17 +00:00
Robert Lipe
10f0ad3d49 toplev.h: New file.
Wed May  6 06:35:38 1998  Robert Lipe  <robertl@dgii.com>
        * toplev.h: New file.   Protypes for functions in toplev.c.
        * tree.h, rtl.h: Deleted protos for functions in toplev.c.
        * c-common.c, c-convert.c, c-decl.c, c-iterate.c, c-lex.c,
        c-parse.in, c-parse.y, c-pragma.c, c-typeck.c, calls.c,
        convert.c, dwarf2out.c, except.c, expr.c, final.c, fold-const.c,
        function.c, hash.c, profile.c, real.c, reg-stack.c, regclass.c,
        reload.c, reload1.c, stmt.c, stor-layout.c, tlink.c, tree.c,
        varasm.c: include it.

From-SVN: r19564
1998-05-06 04:54:01 +00:00
Jeff Law
f5963e6170 * Check in merge from gcc2. See ChangeLog.12 for details.
From-SVN: r19553
1998-05-05 17:18:02 -06:00
Jeff Law
31031eddac dummy commit before merge
From-SVN: r18980
1998-04-03 09:37:26 -07:00
Mike Stump
0f41302f47 formatting tweaks
From-SVN: r12390
1996-07-03 22:07:53 +00:00
Richard Kenner
1c013b45fd (convert_to_integer): If TYPE is a enumeral type or if its precision is not the same as the size of its mode...
(convert_to_integer): If TYPE is a enumeral type or if its precision
is not the same as the size of its mode, convert in two steps.

From-SVN: r10140
1995-07-17 12:54:50 -04:00
Richard Kenner
940d9d638b Update FSF address.
From-SVN: r9959
1995-06-15 07:33:25 -04:00
Jason Merrill
98c76e3c9c Support reference types
From-SVN: r8922
1995-02-13 13:24:42 +00:00
Richard Kenner
fb2f482870 (convert_to_pointer): Eliminate ref to null_pointer_node.
From-SVN: r8691
1994-12-25 07:22:24 -05:00
Jason Merrill
b722f2b857 (convert_to_real): Accept boolean values.
From-SVN: r7325
1994-05-18 06:46:33 +00:00
Richard Kenner
ab29fdfc6f (convert_to_integer): Convert integer_one_node to proper type before
tree_int_cst_lt call.

From-SVN: r6777
1994-03-14 05:09:52 -05:00
Richard Kenner
c9529354a0 (convert_to_integer): When changing type of truthvalue operation,
change types of inputs too.

From-SVN: r6771
1994-03-13 21:16:38 -05:00
Richard Stallman
d283912a4b (convert_to_integer): Don't pass truncate into ABS_EXPR.
From-SVN: r5037
1993-07-29 06:30:20 +00:00
Richard Kenner
d9a9c5a7b3 (convert_to_integer): When we want to return zero, be sure we honor
any side-effects in our operand.

From-SVN: r4255
1993-04-28 06:16:57 -04:00
Richard Kenner
95e7890978 (convert_to_integer...
(convert_to_integer, convert_to_complex): Avoid using
build_{unary,binary}_op since the calling sequences depend on the
front-end.

From-SVN: r4196
1993-04-23 06:56:52 -04:00
Richard Stallman
d788976496 (convert_to_real): Pass mode arg to REAL_VALUE_ATOF.
From-SVN: r3947
1993-03-31 07:02:59 +00:00
Richard Stallman
d847907df7 Minor fix in last change.
From-SVN: r3689
1993-03-09 23:57:34 +00:00
Richard Stallman
07150665c9 (convert_to_complex): Avoid using comptypes.
From-SVN: r3688
1993-03-09 23:55:57 +00:00
Steve Chamberlain
502d58a60e (convert_to_pointer): Fix typo comparing size of integer and pointers.
From-SVN: r3651
1993-03-04 22:18:45 +00:00
Richard Stallman
0b1278213b (convert_to_real): Convert complex to real.
(convert_to_integer): Likewise.
(convert_to_complex): New function.

From-SVN: r3639
1993-03-04 19:41:50 +00:00
Jim Wilson
ff86907911 (convert_to_integer): Delete Feb 19 change.
From-SVN: r3531
1993-02-25 11:34:16 -08:00
Richard Stallman
0ef08a071a (convert_to_integer): #if 0 the truncated integer warning.
From-SVN: r3512
1993-02-22 05:25:58 +00:00
Richard Stallman
4c42625bf5 (convert_to_integer): Warn if integer is truncated and that changes the value.
From-SVN: r3496
1993-02-19 05:46:22 +00:00
Brendan Kehoe
76e616dbb8 Initial revision
From-SVN: r3161
1993-01-08 20:58:44 -05:00