summaryrefslogtreecommitdiff
path: root/gcc/expr.c
Commit message (Collapse)AuthorAgeFilesLines
* (expand_assignment): When offset is zero, make new MEMJim Wilson1995-03-101-1/+8
| | | | | | before setting MEM_VOLATILE_P. From-SVN: r9167
* (expand_expr, CLEANUP_POINT_EXPR): Force the operand outJason Merrill1995-03-031-1/+4
| | | | | | of memory before running cleanups. From-SVN: r9117
* Remove Feb 28's FUNCTION_NEEDS_STATIC_CHAIN changes.Per Bothner1995-03-011-10/+1
| | | | From-SVN: r9106
* (store_expr): Do conversion in two steps for promoted lhs.Richard Kenner1995-03-011-4/+16
| | | | From-SVN: r9098
* expr.c (expand_expr): If non-local variable is expanded...Per Bothner1995-02-281-1/+10
| | | | | | | | | * expr.c (expand_expr): If non-local variable is expanded, set FUNCTION_NEEDS_STATIC_CHAIN (current_function_decl). * expr.c (expand_expr case ADDR_EXPR): Check for trampoline using FUNCTION_NEEDS_STATIC_CHAIN, instead of decl_function_context. From-SVN: r9095
* (expand_expr, case COMPONENT_REF): Don't fetch unalignedJim Wilson1995-02-241-9/+9
| | | | | | field if we only want its address. From-SVN: r9069
* * expr.c (store_constructor): Don't use get_set_constructor_words.Per Bothner1995-02-141-29/+37
| | | | From-SVN: r8954
* (expand_builtin, case BUILT_IN_NEXT_ARG): Don't warn whenJim Wilson1995-02-111-1/+1
| | | | | | no argument if this is a varargs routine. From-SVN: r8912
* (store_constructor, ARRAY_TYPE): Use code for non-integer INDEX for ↵Richard Kenner1995-02-101-4/+8
| | | | | | | | | | non-integer ELTTYPE size. (store_constructor, ARRAY_TYPE): Use code for non-integer INDEX for non-integer ELTTYPE size. Allow INDEX to be zero in code and divide size by BITS_PER_UNIT. From-SVN: r8902
* (expand_expr, case MINUS_EXPR): Remove bogus operand swap.Richard Kenner1995-01-271-4/+0
| | | | From-SVN: r8829
* (expand_expr, case MIN_EXPR): If must emit multipleJim Wilson1995-01-251-0/+6
| | | | | | instructions, then don't allow a MEM target. From-SVN: r8822
* (get_inner_reference): Don't ignore CONVERT_EXPR from non-UNION_TYPE to ↵Richard Kenner1995-01-181-15/+18
| | | | | | | | | | | UNION_TYPE. (get_inner_reference): Don't ignore CONVERT_EXPR from non-UNION_TYPE to UNION_TYPE. (expand_expr, case CONVERT_EXPR): Check for conversion to union before checking for not changing mode. From-SVN: r8772
* (get_inner_reference): Only treat offset of PLUS_EXPR as special ifRichard Kenner1995-01-141-31/+15
| | | | | | second arg is integer constant. From-SVN: r8762
* calls.c (expand_call): Set MEM_IN_STRUCT_P as needed on return value from ↵Jeff Law1994-12-291-0/+4
| | | | | | | | | | | | | | | assign_stack_temp. * calls.c (expand_call): Set MEM_IN_STRUCT_P as needed on return value from assign_stack_temp. (store_one_arg): Likewise. * expr.c (save_noncopied_parts): Likewise. (expand_expr): Likewise. * function.c (assign_parms): Likewise. * integrate.c (expand_inline_function): Likewise. * stmt.c (expand_decl): Likewise. From-SVN: r8708
* (store_constructor): Properly get constant part of bit position whenRichard Kenner1994-12-151-1/+1
| | | | | | DECL_FIELD_BITPOS is a PLUS_EXPR. From-SVN: r8655
* (get_inner_reference): Use EXACT_DIV_EXPR to compute byte offset fromRichard Kenner1994-12-141-2/+2
| | | | | | bit offset. From-SVN: r8654
* (expand_expr, case MINUS_EXPR): Properly handle case when the NEGATERichard Kenner1994-12-131-4/+23
| | | | | | overflows. From-SVN: r8648
* * expr.c (store_constructor): Add support for SET_TYPE.Per Bothner1994-12-021-0/+167
| | | | From-SVN: r8604
* (convert_move): When emit multiword conversion, force FROM into a newRichard Kenner1994-11-301-0/+6
| | | | | | pseudo-reg if it overlaps TO. From-SVN: r8593
* (emit_block_move): Only use movstr if size is small enough constant orRichard Kenner1994-11-301-1/+4
| | | | | | MODE is at least BITS_PER_WORD. From-SVN: r8585
* expr.c (expand_assignment): For BLKmode structure returns...Jeff Law1994-11-281-1/+8
| | | | | | | | * expr.c (expand_assignment): For BLKmode structure returns, copy the return value from registers into the target memory locations. From-SVN: r8575
* (move_by_pieces, move_by_pieces_ninsns, emit_push_insn,Jim Wilson1994-11-281-10/+11
| | | | | | | expand_assignment, store_field, expand_expr): Likewise. (SLOW_UNALIGNED_ACCESS): Default to STRICT_ALIGNMENT, not zero. From-SVN: r8569
* (emit_move_insn): If splitting up into individual words and X is a ↵Richard Kenner1994-11-231-0/+11
| | | | | | | | | push_operand... (emit_move_insn): If splitting up into individual words and X is a push_operand, do the push and reference top of stack. From-SVN: r8554
* (convert_move): Don't put FROM in a register if it is a SUBREG.Richard Kenner1994-11-161-7/+8
| | | | | | | | (store_expr): If don't want a value and storing into promoted variable, do conversion at tree level; don't copy volatile MEM unless want value, as comment says. From-SVN: r8466
* (do_jump_by_parts_greater_rtx): No longer static.Richard Kenner1994-11-151-66/+4
| | | | | | (expand_expr): Delete code for plain `abs'. From-SVN: r8443
* (expand_expr, COND_EXPR case): Don't use original target as a temp if it's a ↵Richard Kenner1994-10-311-3/+4
| | | | | | | | | | volatile mem ref. (expand_expr, COND_EXPR case): Don't use original target as a temp if it's a volatile mem ref. Finish previous patch (don't expand "X ? A & 1 : A" as "A & (X != 0)"). From-SVN: r8369
* (expand_expr, case COMPONENT_REF): Don't extract field from a CONSTRUCTOR if ↵Richard Kenner1994-10-311-2/+6
| | | | | | | | | | | it already has a TREE_CST_RTL. (expand_expr, case COMPONENT_REF): Don't extract field from a CONSTRUCTOR if it already has a TREE_CST_RTL. (expand_expr, case ADDR_EXPR): Call mark_temp_addr_taken on the temporary made when operand needs to be stored into memory. From-SVN: r8362
* (expand_expr, COND_EXPR case): Don't expand "X ? A & 1 : A" as "A & (X != 0)".Doug Evans1994-10-261-2/+1
| | | | From-SVN: r8345
* (convert_move): Add TImode conversions.Richard Kenner1994-10-101-0/+52
| | | | From-SVN: r8248
* Fix typo in last change.Richard Kenner1994-10-071-2/+2
| | | | From-SVN: r8236
* (safe_from_p): If EXP has a variable size, assume safe.Richard Kenner1994-10-071-2/+10
| | | | | | (preexpand_calls): Don't preexpand a call that returns a variable-sized object. From-SVN: r8234
* (store_expr): Don't clobber TEMP with address.Richard Kenner1994-10-061-8/+9
| | | | From-SVN: r8227
* (expand_expr, case ADDR_EXPR): Call mark_temp_addr_taken.Richard Kenner1994-10-061-1/+4
| | | | From-SVN: r8225
* Fix error in last change.Richard Kenner1994-10-041-8/+8
| | | | From-SVN: r8215
* (do_jump_for_compare): Properly scan insns when branch is at start ofRichard Kenner1994-10-041-3/+3
| | | | | | sequence. From-SVN: r8214
* (result_vector): Use INCOMING_REGNO when !savep insteadJim Wilson1994-09-291-1/+1
| | | | | | of when savep. From-SVN: r8170
* expr.c (do_jump): Handle cleanups in TRUTH_ANDIF_EXPR and TRUTH_ORIF_EXPR.Mike Stump1994-09-291-8/+108
| | | | | | | * expr.c (do_jump): Handle cleanups in TRUTH_ANDIF_EXPR and TRUTH_ORIF_EXPR. From-SVN: r8164
* (convert_move): Added handling of PDImode conversions.Richard Kenner1994-09-281-0/+35
| | | | From-SVN: r8161
* (emit_move_insn_1): Never make a no-conflict block.Richard Kenner1994-08-191-19/+0
| | | | From-SVN: r7951
* (expand_builtin): Relegate sin and cos to ffast-math.Richard Kenner1994-08-111-0/+3
| | | | From-SVN: r7886
* (expand_expr...Jason Merrill1994-08-051-1/+2
| | | | | | | | (expand_expr, COND_EXPR case): Use truthvalue_conversion to make the condition for running cleanups acceptable to invert_truthvalue. From-SVN: r7861
* (defer_cleanups_to): Put back line which was mistakenlyJason Merrill1994-08-051-0/+1
| | | | | | removed. From-SVN: r7857
* (move_block_to_reg): Do nothing if NREGS == 0.Richard Kenner1994-07-291-0/+3
| | | | From-SVN: r7820
* (expand_expr, case CONJ_EXPR): Use correct mode for parts of a complexRichard Kenner1994-07-281-4/+6
| | | | | | expression. From-SVN: r7815
* (expand_expr, case ARRAY_REF): Don't fold L"foo"[2].Richard Kenner1994-07-261-2/+5
| | | | From-SVN: r7797
* (store_field): Set MEM_IN_STRUCT_P on object andJim Wilson1994-07-131-0/+2
| | | | | | blk_object. From-SVN: r7767
* (convert_move): Add some conversions for TQFmode.Richard Kenner1994-07-111-0/+16
| | | | From-SVN: r7733
* (expand_builtin, case BUILT_IN_FSQRT): Don't use asterisk in name ofRichard Kenner1994-07-101-1/+1
| | | | | | `errno'. From-SVN: r7695
* (expand_expr, case CONVERT_EXPR): If changing signedness and we have aRichard Kenner1994-07-081-1/+13
| | | | | | promoted SUBREG, clear the promotion flag. From-SVN: r7686
* (get_inner_unaligned_p): New function.Jim Wilson1994-07-081-7/+43
| | | | | | (expand_assignment, expand_expr): Use it. From-SVN: r7685