summaryrefslogtreecommitdiff
path: root/gcc/tree.c
Commit message (Collapse)AuthorAgeFilesLines
* xJason Merrill1997-04-171-6/+29
| | | | From-SVN: r13909
* (build_{index,range}_type): Ensure expressions for min and max valueRichard Kenner1997-03-171-3/+12
| | | | | | are in same obstack as type. From-SVN: r13722
* (copy_node): Clear TREE_ASM_WRITTEN.Richard Kenner1997-01-291-0/+1
| | | | From-SVN: r13563
* (get_unwidened): Don't crash if FIELD_DECL not layed out.Richard Kenner1997-01-181-1/+3
| | | | From-SVN: r13508
* (staticp, case COMPONENT_REF, BIT_FIELD_REF): Not static if bitfield.Richard Kenner1997-01-041-1/+6
| | | | From-SVN: r13376
* (integer_pow2): Mask value to width of type.Richard Kenner1997-01-041-1/+57
| | | | | | (tree_log2): New function. From-SVN: r13374
* xJason Merrill1996-12-091-0/+39
| | | | From-SVN: r13258
* (integer_{zero,one,all_ones,pow2}p, real_{zero,one,two}p): Return 0 ifRichard Kenner1996-11-071-2/+8
| | | | | | TREE_CONSTANT_OVERFLOW. From-SVN: r13107
* (decl_function_context): Handle QUAL_UNION_TYPE.Jim Wilson1996-10-311-1/+2
| | | | From-SVN: r13083
* (build_complex): Add new argument, TYPE.Richard Kenner1996-09-291-5/+6
| | | | From-SVN: r12863
* (contains_placeholder): Return 1 for PLACEHOLDER_EXPR.Richard Kenner1996-09-291-0/+2
| | | | From-SVN: r12862
* (copy_node): Fix error in last change.Richard Kenner1996-09-241-9/+5
| | | | From-SVN: r12835
* (copy_node): Abort if don't know size of node.Richard Kenner1996-09-231-0/+2
| | | | From-SVN: r12790
* (build1): Clean up initialization of OBSTACK.Richard Kenner1996-09-231-2/+1
| | | | From-SVN: r12782
* install EH codeMike Stump1996-07-231-0/+1
| | | | From-SVN: r12550
* formatting tweaksMike Stump1996-07-031-19/+23
| | | | From-SVN: r12390
* tree.def (OFFSET_REF): Remove.Mike Stump1996-05-311-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
* (unsave_expr_now): Avoid use of NULL_RTX since no rtl.h.Richard Kenner1996-05-181-3/+3
| | | | From-SVN: r12037
* expr.c (expand_expr, [...]): Make TARGET_EXPRs redoable for UNSAVE_EXPR.Mike Stump1996-05-171-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
* expr.c (expand_expr, [...]): Move from the C++ frontend to the backend where ↵Mike Stump1996-05-171-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
* expr.c (expand_increment): Add third parameter to know when to ignore the ↵Mike Stump1996-05-061-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
* (build_real_from_int_cst): Remove spurious test forRichard Kenner1996-05-051-1/+1
| | | | | | REAL_IS_NOT_DOUBLE. From-SVN: r11924
* (real_value_from_int_cst): New arg, TYPE.Richard Kenner1996-04-141-5/+12
| | | | | | | Pass mode to REAL_VALUE_FROM_INT. (build_real_from_int_cst): Properly deal with truncation. From-SVN: r11767
* (substitute_in_expr): Don't return new expression if nothing changed.Richard Kenner1996-04-091-164/+44
| | | | | | (substitute_in_type): Deleted, not used. From-SVN: r11683
* (substitute_in_expr, case COMPONENT_REF): Ignore if innerRichard Kenner1996-03-161-1/+7
| | | | | | PLACEHOLDER_EXPR has not yet been initialized. From-SVN: r11547
* (staticp): Check DECL_NO_STATIC_CHAIN on nested functions.Jason Merrill1996-03-051-1/+1
| | | | From-SVN: r11462
* (decl_function_context): Do decl_function_context right forJason Merrill1996-02-211-1/+1
| | | | | | | function-local classes. From-SVN: r11334
* Changes to distinguish typedef from original type in debug output.Per Bothner1996-02-121-0/+8
| | | | | | * tree.c (copy_node): Zero out type.symtab union. From-SVN: r11218
* (merge_attributes): Moved here from c-typeck.c.Doug Evans1996-01-091-0/+38
| | | | From-SVN: r10955
* libgcc2.c (__empty): An empty function used by the C++ frontend for ↵Mike Stump1995-12-181-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
* (staticp, case INDIRECT_EXPR): Disable case.Richard Kenner1995-10-011-0/+5
| | | | From-SVN: r10416
* (save_expr): Return original for ERROR_MARK.Richard Kenner1995-09-251-1/+1
| | | | From-SVN: r10399
* (simple_cst_equal): Work around enum bug in vax ultrix 4.3 pcc.Richard Kenner1995-06-191-1/+1
| | | | From-SVN: r10016
* Update FSF address.Richard Kenner1995-06-151-1/+2
| | | | From-SVN: r9966
* *** empty log message ***Jason Merrill1995-05-241-4/+3
| | | | From-SVN: r9811
* (type_list_equal, simple_cst_list_equal, index_type_equal):Richard Kenner1995-05-241-24/+25
| | | | | | Check for simple_cst_equal return value of -1. From-SVN: r9802
* (valid_machine_attribute): Handle attribute on pointer-to-functionRichard Kenner1995-05-221-0/+27
| | | | | | types. From-SVN: r9762
* (simple_cst_equal): Don't look at language-specific nodes since weRichard Kenner1995-05-201-2/+7
| | | | | | don't know what's in them. From-SVN: r9754
* Fix typos in comments.Richard Kenner1995-05-161-5/+5
| | | | From-SVN: r9712
* (substitute_in_expr): Preserve TREE_READONLY.Richard Kenner1995-04-301-26/+39
| | | | From-SVN: r9546
* (attribute_hash_list): New function.Doug Evans1995-04-281-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
* (valid_machine_attribute): Update last change.Richard Kenner1995-04-271-4/+4
| | | | From-SVN: r9504
* (valid_machine_attribute): Use new function attribute_in_list...Richard Kenner1995-04-251-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
* (chain_member_purpose): Make similar to chain_member_value.Richard Kenner1995-04-251-2/+2
| | | | From-SVN: r9454
* (integer_all_onesp): Test to size of mode, not TYPE_PRECISION.Richard Kenner1995-04-211-1/+3
| | | | From-SVN: r9427
* (get_set_constructor_bytes): Fix BITS_BIG_ENDIAN -> BYTES_BIG_ENDIAN.Per Bothner1995-04-181-1/+1
| | | | From-SVN: r9417
* (chain_member_purpose): New function.Richard Kenner1995-04-021-0/+18
| | | | From-SVN: r9292
* (valid_machine_attribute): Now receive name and args.Richard Kenner1995-03-301-15/+22
| | | | From-SVN: r9262
* Handle compilation of nested functions from another scope.Jason Merrill1995-03-151-24/+73
| | | | From-SVN: r9185
* Remove Feb 28's FUNCTION_NEEDS_STATIC_CHAIN changes.Per Bothner1995-03-011-1/+1
| | | | From-SVN: r9106