Commit Graph

112 Commits

Author SHA1 Message Date
Mike Stump
679163cf4d expr.c (expand_expr, [...]): Move from the C++ frontend to the backend where it belongs.
* expr.c (expand_expr, cond UNSAVE_EXPR): Move from the C++
	frontend to the backend where it belongs.
	* tree.c (unsave_expr): Ditto.
	(unsave_expr_now): Ditto.
	* tree.def (UNSAVE_EXPR): Ditto.
	* tree.h (unsave_expr): Ditto.
	(unsave_expr_now): Ditto.

From-SVN: r12015
1996-05-17 20:13:01 +00:00
Doug Evans
1d2a8985b0 rtl.h: #include "gansidecl.h".
* rtl.h: #include "gansidecl.h".
	(PROTO,VPROTO,PVPROTO,VPROTO,VA_START,STDIO_PROTO): Delete.
	(NULL,GENERIC_PTR,NULL_PTR): Delete.
	* tree.h: Likewise.

From-SVN: r11799
1996-04-15 18:07:51 +00:00
Richard Kenner
914981cccf (substitute_in_type): Delete declaration.
From-SVN: r11684
1996-04-09 07:11:16 -04:00
Richard Kenner
fa58294a56 (xstrdup): Declare.
From-SVN: r11409
1996-03-04 08:36:43 -05:00
Per Bothner
9506a28da9 Changes to distinguish typedef from original type in debug output.
* tree.h (DECL_ORIGINAL_TYPE):  New macro.

From-SVN: r11216
1996-02-12 12:03:24 -08:00
Richard Kenner
33fb8b5fc1 (enum built_in_function): Add BUILT_IN_{SET,LONG}JMP.
From-SVN: r11111
1996-01-27 07:56:40 -05:00
Per Bothner
003846d14c * tree.h (CONSTRUCTOR_TARGET_CLEARED_P): Removed.
From-SVN: r11077
1996-01-19 17:43:18 -08:00
Doug Evans
6cb3d3146b (merge_attributes): Moved here from c-tree.h.
(valid_machine_attribute, is_attribute_p, lookup_attribute): Prefix
decl with `extern'.

From-SVN: r10957
1996-01-09 22:29:43 +00:00
Richard Kenner
a5f99f011f Add documentation on uses of common area flags.
(DECL_ERROR_ISSUED): New macro.
(DECL_NO_STATIC_CHAIN): New macro; currently unused.

From-SVN: r10908
1995-12-31 14:18:23 -05:00
Per Bothner
2fb2b21cd8 * tree.h (TYPE_ARRAY_MAX_SIZE): New macro (used by Chill).
From-SVN: r10898
1995-12-29 11:14:11 -08:00
Richard Kenner
f316d71e4f (CONSTRUCTTOR_TARGET_CLEARED_P): New macro.
From-SVN: r10839
1995-12-24 06:35:29 -05:00
Richard Kenner
f05a769fb8 (put_pending_sizes): Add declaration.
From-SVN: r10400
1995-09-25 17:50:43 -04:00
Richard Kenner
abc95ed36d Fix spelling errors.
From-SVN: r10289
1995-08-28 06:54:22 -04:00
Richard Kenner
e9fa0c7c6f Update FSF address.
From-SVN: r9966
1995-06-15 08:29:51 -04:00
Richard Kenner
9faa82d8c0 Fix typos in comments.
From-SVN: r9712
1995-05-16 08:39:54 -04:00
Jason Merrill
daefd78b4c Update weak symbol support
From-SVN: r9697
1995-05-16 01:02:59 +00:00
Jason Merrill
3edbc4b95f DECL_ARTIFICIAL
From-SVN: r9586
1995-05-07 10:28:12 +00:00
Doug Evans
9c1303987c (valid_machine_attribute): Add prototype.
(is_attribute_p, lookup_attribute): Likewise.

From-SVN: r9519
1995-04-28 01:07:33 +00:00
Richard Kenner
9e357cd843 (TYPE_PARSE_INFO): Delete unused field.
(TYPE_PACKED): Add new macro.
(struct tree_type): Delete unused field `parse_info'.
Add new field `packed_flag'.

From-SVN: r9483
1995-04-26 17:22:19 -04:00
Richard Kenner
406c2af7ed (attribute_in_list): New declaration.
From-SVN: r9457
1995-04-25 18:52:37 -04:00
Richard Kenner
f42c0c38fb (size_int): Likewise.
From-SVN: r9405
1995-04-18 06:19:10 -04:00
Richard Kenner
17ca38a2b9 (warn_if_unused_value): Add declaration.
From-SVN: r9266
1995-03-30 18:22:33 -05:00
Per Bothner
6f09c35cde Remove Feb 13's FUNCTION_NEEDS_STATIC_CHAIN changes.
From-SVN: r9107
1995-03-01 19:40:59 -08:00
Richard Kenner
77cf75a8ef (union tree_decl): New field MACHINE_ATTRIBUTES.
(DECL_MACHINE_ATTRIBUTES): New macro.

From-SVN: r9021
1995-02-21 18:59:24 -05:00
Doug Evans
4e95c4d02e (get_set_constructor_bytes): Fix prototype.
From-SVN: r8967
1995-02-18 18:53:51 +00:00
Per Bothner
4aad31acda * tree.h: get_set_constructor_words -> get_set_constructor_bytes.
From-SVN: r8953
1995-02-14 22:40:11 -08:00
Richard Kenner
1c8b10bb80 (stabilize_reference_1): Add declaration.
From-SVN: r8950
1995-02-14 08:04:23 -05:00
Per Bothner
1ce7b471ec * tree.h (FUNCTION_NEEDS_STATIC_CHAIN): New macro.
From-SVN: r8936
1995-02-13 12:54:24 -08:00
Jason Merrill
2458b9c094 Fix DECL_VIRTUAL_P comment.
From-SVN: r8839
1995-01-31 00:37:58 +00:00
Jason Merrill
4812480a45 Declare pedantic_lvalues.
From-SVN: r8767
1995-01-17 21:43:40 +00:00
Jason Merrill
2c5f4139a9 __attribute__ ((constructor))
From-SVN: r8747
1995-01-14 01:09:01 +00:00
Jason Merrill
9e6cfc4326 (POINTER_TYPE_P): New macro.
From-SVN: r8456
1994-11-16 00:45:41 +00:00
Per Bothner
bca949e251 (get_set_constructor_bits, get_set_constructor_words): New functions.
From-SVN: r8044
1994-09-08 11:59:33 -07:00
Per Bothner
8294accf6d * tree.h (maximum_field_alignment, set_alignment): New declarations.
From-SVN: r8019
1994-09-02 14:01:30 -07:00
Richard Kenner
adb2306127 (struct tree_type): New field transparent_union_flag.
(struct tree_decl): New field transparent_union.
({DECL,TYPE}_TRANSPARENT_UNION): New macros.

From-SVN: r7946
1994-08-19 17:32:29 -04:00
Jason Merrill
4ac3d99407 tree.h (TYPE_NEEDS_CONSTRUCTING): New macro.
Wed Jul 13 03:30:36 1994  Jason Merrill  (jason@deneb.cygnus.com)

        * tree.h (TYPE_NEEDS_CONSTRUCTING): New macro.
        (tree_type): Add needs_constructing_flag.
        * function.c (assign_parms): If TYPE_NEEDS_CONSTRUCTING, pass by
        invisible reference.
        * calls.c (expand_call): Ditto.

From-SVN: r7758
1994-07-13 11:06:24 +00:00
Jason Merrill
d3568529c7 (TREE_SYMBOL_REFERENCED): New macro.
From-SVN: r7549
1994-06-23 23:19:54 +00:00
Jason Merrill
308018308f (DECL_DEFER_OUTPUT): New macro.
From-SVN: r7506
1994-06-16 23:37:43 +00:00
Jason Merrill
248c0f743b (TREE_NO_UNUSED_WARNING): Note that this can be applied
to COMPOUND_EXPRs, too.

From-SVN: r7499
1994-06-16 00:47:03 +00:00
Jason Merrill
78b099bdf3 Declare copy_lang_decl.
From-SVN: r7295
1994-05-14 01:56:51 +00:00
Richard Kenner
5a783256bf Fix typo in comment.
From-SVN: r7260
1994-05-07 10:05:01 -04:00
Richard Kenner
bad1b4ba20 (TYPE_ATTRIBUTES): New macro.
(struct tree_type): attributes, new field.
(precision): Move this field up for better alignment.
(attribute_list_{equal,contained}): Prototype for new functions.
(build_type_attribute_variant): Prototype for new function.

From-SVN: r7251
1994-05-06 18:28:08 -04:00
Doug Evans
60e9e4b7a3 (TYPE_DECL_SUPPRESS_DEBUG): new macro to support
suppressing of detail type infos into stabs.

From-SVN: r7183
1994-04-29 22:28:22 +00:00
Per Bothner
947765f9f2 New macro AGGREGATE_TYPE_P.
From-SVN: r7159
1994-04-26 16:55:44 -07:00
Richard Kenner
d6b1265798 If RTX_CODE undefined, make an incomplete struct for rtx.
Add some missing declarations of functions in stmt.c.
(STDIO_PROTO): Define here if not already defined.

From-SVN: r7107
1994-04-21 15:23:35 -04:00
Richard Kenner
7ce82023d1 (DECL_PRINT_NAME): Deleted.
(struct tree_decl): Field print_name deleted.

From-SVN: r7059
1994-04-17 10:04:11 -04:00
Richard Kenner
73f3c7c350 (frame_size): Now a union.
(DECL_ALIGN, DECL_FRAME_SIZE, DECL_FUNCTION_CODE): Access proper
field of frame_size union.
(DECL_SET_FUNCTION_CODE): Simplified; retained for compatibility.

From-SVN: r7024
1994-04-11 06:19:56 -04:00
Richard Kenner
40c9a5496f (tree_int_cst_sgn): New declaration.
From-SVN: r6773
1994-03-14 05:07:09 -05:00
Richard Kenner
ae202b5602 Update comments for TREE_OVERFLOW and TREE_CONSTANT_OVERFLOW.
From-SVN: r6765
1994-03-13 08:28:55 -05:00
Richard Kenner
bdea67faf3 (PVPROTO): New macro.
From-SVN: r6743
1994-03-11 07:58:05 -05:00