aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
AgeCommit message (Collapse)AuthorFilesLines
1997-05-06reformat a little to match GNU coding standards.Mike Stump1-2/+2
From-SVN: r14024
1997-04-17xJason Merrill1-6/+29
From-SVN: r13909
1997-03-17(build_{index,range}_type): Ensure expressions for min and max valueRichard Kenner1-3/+12
are in same obstack as type. From-SVN: r13722
1997-01-29(copy_node): Clear TREE_ASM_WRITTEN.Richard Kenner1-0/+1
From-SVN: r13563
1997-01-18(get_unwidened): Don't crash if FIELD_DECL not layed out.Richard Kenner1-1/+3
From-SVN: r13508
1997-01-04(staticp, case COMPONENT_REF, BIT_FIELD_REF): Not static if bitfield.Richard Kenner1-1/+6
From-SVN: r13376
1997-01-04(integer_pow2): Mask value to width of type.Richard Kenner1-1/+57
(tree_log2): New function. From-SVN: r13374
1996-12-09xJason Merrill1-0/+39
From-SVN: r13258
1996-11-07(integer_{zero,one,all_ones,pow2}p, real_{zero,one,two}p): Return 0 ifRichard Kenner1-2/+8
TREE_CONSTANT_OVERFLOW. From-SVN: r13107
1996-10-31(decl_function_context): Handle QUAL_UNION_TYPE.Jim Wilson1-1/+2
From-SVN: r13083
1996-09-29(build_complex): Add new argument, TYPE.Richard Kenner1-5/+6
From-SVN: r12863
1996-09-29(contains_placeholder): Return 1 for PLACEHOLDER_EXPR.Richard Kenner1-0/+2
From-SVN: r12862
1996-09-24(copy_node): Fix error in last change.Richard Kenner1-9/+5
From-SVN: r12835
1996-09-23(copy_node): Abort if don't know size of node.Richard Kenner1-0/+2
From-SVN: r12790
1996-09-23(build1): Clean up initialization of OBSTACK.Richard Kenner1-2/+1
From-SVN: r12782
1996-07-23install EH codeMike Stump1-0/+1
From-SVN: r12550
1996-07-03formatting tweaksMike Stump1-19/+23
From-SVN: r12390
1996-05-31tree.def (OFFSET_REF): Remove.Mike Stump1-9/+0
* tree.def (OFFSET_REF): Remove. * expr.c (expand_expr, case OFFSET_REF): Ditto. * tree.c (substitute_in_expr): Remove OFFSET_REF code. Remove some old cruft From-SVN: r12127
1996-05-18(unsave_expr_now): Avoid use of NULL_RTX since no rtl.h.Richard Kenner1-3/+3
From-SVN: r12037
1996-05-17expr.c (expand_expr, [...]): Make TARGET_EXPRs redoable for UNSAVE_EXPR.Mike Stump1-3/+5
* expr.c (expand_expr, cond TARGET_EXPR): Make TARGET_EXPRs redoable for UNSAVE_EXPR. * stmt.c (expand_decl_cleanup): Wrap the cleanup in an UNSAVE_EXPR to that we can redo it. * tree.c (unsave_expr_now): Handle TARGET_EXPRs fully now. * tree.def (TARGET_EXPR): Add a third field so that TARGET_EXPRs are redoable. From-SVN: r12018
1996-05-17expr.c (expand_expr, [...]): Move from the C++ frontend to the backend where ↵Mike Stump1-0/+85
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-06expr.c (expand_increment): Add third parameter to know when to ignore the ↵Mike Stump1-4/+4
result value. * expr.c (expand_increment): Add third parameter to know when to ignore the result value. (store_constructor): Ditto. (expand_expr, case PREINCREMENT_EXPR): Ditto. (expand_expr, case PREDECREMENT_EXPR): Ditto. (expand_expr, case POSTINCREMENT_EXPR): Ditto. (expand_expr, case POSTDECREMENT_EXPR): Ditto. * tree.c (stabilize_reference): Always ignore the first operand of COMPOUND_EXPRs. From-SVN: r11939
1996-05-05(build_real_from_int_cst): Remove spurious test forRichard Kenner1-1/+1
REAL_IS_NOT_DOUBLE. From-SVN: r11924
1996-04-14(real_value_from_int_cst): New arg, TYPE.Richard Kenner1-5/+12
Pass mode to REAL_VALUE_FROM_INT. (build_real_from_int_cst): Properly deal with truncation. From-SVN: r11767
1996-04-09(substitute_in_expr): Don't return new expression if nothing changed.Richard Kenner1-164/+44
(substitute_in_type): Deleted, not used. From-SVN: r11683
1996-03-16(substitute_in_expr, case COMPONENT_REF): Ignore if innerRichard Kenner1-1/+7
PLACEHOLDER_EXPR has not yet been initialized. From-SVN: r11547
1996-03-05(staticp): Check DECL_NO_STATIC_CHAIN on nested functions.Jason Merrill1-1/+1
From-SVN: r11462
1996-02-21(decl_function_context): Do decl_function_context right forJason Merrill1-1/+1
| function-local classes. From-SVN: r11334
1996-02-12Changes to distinguish typedef from original type in debug output.Per Bothner1-0/+8
* tree.c (copy_node): Zero out type.symtab union. From-SVN: r11218
1996-01-09(merge_attributes): Moved here from c-typeck.c.Doug Evans1-0/+38
From-SVN: r10955
1995-12-18libgcc2.c (__empty): An empty function used by the C++ frontend for ↵Mike Stump1-0/+3
defaulting cleanup actions. * libgcc2.c (__empty): An empty function used by the C++ frontend for defaulting cleanup actions. * tree.c (save_tree_status, restore_tree_status): Save and restore temporary_firstobj, so that in progress objects that live on the temporary obstack are not reallocated, if we save and restore the tree status in their lifetime. From-SVN: r10799
1995-10-01(staticp, case INDIRECT_EXPR): Disable case.Richard Kenner1-0/+5
From-SVN: r10416
1995-09-25(save_expr): Return original for ERROR_MARK.Richard Kenner1-1/+1
From-SVN: r10399
1995-06-19(simple_cst_equal): Work around enum bug in vax ultrix 4.3 pcc.Richard Kenner1-1/+1
From-SVN: r10016
1995-06-15Update FSF address.Richard Kenner1-1/+2
From-SVN: r9966
1995-05-24*** empty log message ***Jason Merrill1-4/+3
From-SVN: r9811
1995-05-24(type_list_equal, simple_cst_list_equal, index_type_equal):Richard Kenner1-24/+25
Check for simple_cst_equal return value of -1. From-SVN: r9802
1995-05-22(valid_machine_attribute): Handle attribute on pointer-to-functionRichard Kenner1-0/+27
types. From-SVN: r9762
1995-05-20(simple_cst_equal): Don't look at language-specific nodes since weRichard Kenner1-2/+7
don't know what's in them. From-SVN: r9754
1995-05-16Fix typos in comments.Richard Kenner1-5/+5
From-SVN: r9712
1995-04-30(substitute_in_expr): Preserve TREE_READONLY.Richard Kenner1-26/+39
From-SVN: r9546
1995-04-28(attribute_hash_list): New function.Doug Evans1-51/+136
(build_type_attribute_variant): Call it. (valid_machine_attribute): Handle attributes with arguments. (is_attribute_p): New function. (lookup_attribute): New function. (attribute_in_list): Deleted. (attribute_list_contained): Check TREE_PURPOSE and TREE_VALUE. From-SVN: r9520
1995-04-27(valid_machine_attribute): Update last change.Richard Kenner1-4/+4
From-SVN: r9504
1995-04-25(valid_machine_attribute): Use new function attribute_in_list...Richard Kenner1-25/+49
(valid_machine_attribute): Use new function attribute_in_list, makes sure type_attribute_variants are reused even when attributes have parameters. Assign any new type to TREE_TYPE (decl). (attribute_in_list): New function. (attribute_list_contained): Use it. From-SVN: r9456
1995-04-25(chain_member_purpose): Make similar to chain_member_value.Richard Kenner1-2/+2
From-SVN: r9454
1995-04-21(integer_all_onesp): Test to size of mode, not TYPE_PRECISION.Richard Kenner1-1/+3
From-SVN: r9427
1995-04-18(get_set_constructor_bytes): Fix BITS_BIG_ENDIAN -> BYTES_BIG_ENDIAN.Per Bothner1-1/+1
From-SVN: r9417
1995-04-02(chain_member_purpose): New function.Richard Kenner1-0/+18
From-SVN: r9292
1995-03-30(valid_machine_attribute): Now receive name and args.Richard Kenner1-15/+22
From-SVN: r9262
1995-03-15Handle compilation of nested functions from another scope.Jason Merrill1-24/+73
From-SVN: r9185