summaryrefslogtreecommitdiff
path: root/gcc/varasm.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Use new macro AGGREGATE_TYPE_P.bothner1994-04-261-6/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7160 138bc75d-0d04-0410-961f-82ee72b054a4
* (copy_constant, case CONSTRUCTOR): Fix typo; copied list was placed onkenner1994-04-251-1/+1
| | | | | | | old CONSTRUCTOR, not new one. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7157 138bc75d-0d04-0410-961f-82ee72b054a4
* * varasm.c (contains_pointers_p): When examining a RECORD_TYPE,merrill1994-04-131-1/+2
| | | | | | | only look at the FIELD_DECLs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7045 138bc75d-0d04-0410-961f-82ee72b054a4
* (immed_double_const): Sign-extend constants when theywilson1994-04-111-0/+13
| | | | | | | have the most significant bit set for the target. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7027 138bc75d-0d04-0410-961f-82ee72b054a4
* (assemble_variable): Likewise.wilson1994-03-181-0/+17
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6819 138bc75d-0d04-0410-961f-82ee72b054a4
* (output_constant_def): Do hashing and make label even if bytecode.kenner1994-03-141-39/+34
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6784 138bc75d-0d04-0410-961f-82ee72b054a4
* (output_constant): Strip off some NOP_EXPRs before further processing.kenner1994-03-011-6/+11
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6683 138bc75d-0d04-0410-961f-82ee72b054a4
* (handle_pragma_weak): Depend on ASM_OUTPUT_DEF notwilson1994-02-281-18/+5
| | | | | | | | SET_ASM_OP when defining it. Use ASM_OUTPUT_DEF to output value instead of SET_ASM_OP and explicit ASM_OUTPUT_LABELREF calls. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6662 138bc75d-0d04-0410-961f-82ee72b054a4
* (make_decl_rtl): Initialize NAME and abort if not reset.kenner1994-02-271-1/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6648 138bc75d-0d04-0410-961f-82ee72b054a4
* (IN_NAMED_SECTION): New macro.dje1994-02-171-27/+77
| | | | | | | | | | | | | | | (named_section): New function. (enum in_section): New value `in_named'. (in_named_name): New global. (make_function_rtl, make_decl_rtl, output_constant_def): Fix comment regarding ASM_OUTPUT_LABELREF. (make_decl_rtl): Warn if section attribute used with uninitialized variable declaration. (assemble_start_function, assemble_variable, output_constant_def): Change to named section if given. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6585 138bc75d-0d04-0410-961f-82ee72b054a4
* (make_decl_rtl): Call globalize_reg, not init_reg_sets_1.kenner1994-01-111-4/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6372 138bc75d-0d04-0410-961f-82ee72b054a4
* * cp-decl.c (flag_conserve_space): New language specific flag tomrs1993-12-161-0/+1
| | | | | | | | | | | | | | | | | | | tell the compiler to use .common when possible. Reduces the size of .o files. * cp-decl.c (duplicate_decls): Copy DECL_COMMON from the olddecl. * cp-decl.c (start_decl): Set DECL_COMMON appropriately. * cp-decl.c (finish_decl): Use flag_conserve_space, instead of flag_no_common. * cp-decl2.c (flag_conserve_space, lang_f_options): New flag. * toplev.c (lang_options): New -fconserve-space flag. * tree.h (DECL_COMMON): New flag. * tree.h (tree_decl): New common_flag. * varasm.c (assemble_variable): Use DECL_COMMON to help determine if an object can be put in .common. * c-decl.c (start_decl): Set DECL_COMMON to 1.. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6244 138bc75d-0d04-0410-961f-82ee72b054a4
* (assemble_variable): Set DECL_IN_TEXT_SECTION somewhat earlier.rms1993-11-041-4/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5994 138bc75d-0d04-0410-961f-82ee72b054a4
* (assemble_variable): Set DECL_IN_TEXT_SECTION.rms1993-11-041-0/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5991 138bc75d-0d04-0410-961f-82ee72b054a4
* (assemble_variable): Set last_assemble_variable_decl.rms1993-10-241-0/+10
| | | | | | | (last_assemble_variable_decl): New variable. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5877 138bc75d-0d04-0410-961f-82ee72b054a4
* (output_constructor): Fix previous change:rms1993-10-211-8/+54
| | | | | | | | | | if no TYPE_DOMAIN, don't set min_index. (copy_constant): New function. (output_constant_def): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5860 138bc75d-0d04-0410-961f-82ee72b054a4
* (output_constructor): Add support for non-zero lower array bound.kenner1993-10-201-1/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5836 138bc75d-0d04-0410-961f-82ee72b054a4
* (size_directive_output): New variable.rms1993-10-201-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5827 138bc75d-0d04-0410-961f-82ee72b054a4
* (immed_double_const): Clarify tombstone comment.kenner1993-10-191-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5816 138bc75d-0d04-0410-961f-82ee72b054a4
* (enum pragma_state): Defined.rms1993-10-111-0/+16
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5720 138bc75d-0d04-0410-961f-82ee72b054a4
* (decode_rtx_const, case CONST_DOUBLE): Only use mode of X if it is notkenner1993-10-051-1/+2
| | | | | | | VOIDmode. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5602 138bc75d-0d04-0410-961f-82ee72b054a4
* (bc_output_ascii): New function.rms1993-10-041-4/+20
| | | | | | | | | (assemble_string): Use it. (assemble_static_space, assemble_variable): Put braces around uses of BC_OUTPUT_COMMON and BC_OUTPUT_LOCAL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5596 138bc75d-0d04-0410-961f-82ee72b054a4
* (output_constant_def): Remove last change; no longer needed.kenner1993-10-041-3/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5590 138bc75d-0d04-0410-961f-82ee72b054a4
* (output_constant_def): Copy string as well as string node whenkenner1993-10-031-0/+3
| | | | | | | deferring output of constants. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5568 138bc75d-0d04-0410-961f-82ee72b054a4
* (make_decl_rtl): Set TREE_SIDE_EFFECTS on global if -fvolatile-global.kenner1993-10-021-3/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5559 138bc75d-0d04-0410-961f-82ee72b054a4
* (assemble_string): Put braces around ASM_OUTPUT_ASCII.rms1993-09-271-1/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5479 138bc75d-0d04-0410-961f-82ee72b054a4
* (handle_pragma_weak): Test HANDLE_PRAGMA_WEAKrms1993-09-231-0/+5
| | | | | | | and WEAK_ASM_OP and SET_ASM_OP. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5438 138bc75d-0d04-0410-961f-82ee72b054a4
* (bc_assemble_integer): Make definition static.rms1993-09-221-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5415 138bc75d-0d04-0410-961f-82ee72b054a4
* bytecode fixesbson1993-09-221-2/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5402 138bc75d-0d04-0410-961f-82ee72b054a4
* (output_constructor): Use the type givenkrab1993-09-221-1/+5
| | | | | | | | by the constructor expression only if available. Otherwise use the type of the declared type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5390 138bc75d-0d04-0410-961f-82ee72b054a4
* bytecodebson1993-09-211-81/+473
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5379 138bc75d-0d04-0410-961f-82ee72b054a4
* (immed_double_const, immed_real_const_1): Don't touchwilson1993-09-151-6/+6
| | | | | | | const_double_chain if not inside a function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5322 138bc75d-0d04-0410-961f-82ee72b054a4
* (output_constructor): Handle index value inrms1993-09-131-4/+16
| | | | | | | the TREE_PURPOSE, for array constructors. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5314 138bc75d-0d04-0410-961f-82ee72b054a4
* (assembler_variable): For XCOFF_DEBUG, restore sectionwilson1993-08-091-1/+20
| | | | | | | if dbxout_symbol call changes it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5122 138bc75d-0d04-0410-961f-82ee72b054a4
* (contains_pointers_p): New function.rms1993-08-091-1/+40
| | | | | | | (assemble_variable): Use that. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5117 138bc75d-0d04-0410-961f-82ee72b054a4
* (assemble_variable): Flag_no_common applies only ifwilson1993-07-281-2/+3
| | | | | | | external linkage. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5019 138bc75d-0d04-0410-961f-82ee72b054a4
* (assemble_variable): For array whose size comes fromrms1993-07-271-0/+17
| | | | | | | | the initializer, determine proper alignment here. (assemble_align): New function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4996 138bc75d-0d04-0410-961f-82ee72b054a4
* (output_constant_def_contents): New function.rms1993-07-231-59/+149
| | | | | | | | | | | | (output_constant_def): Use it. (deferred_constants): New list of constants not yet output. (defer_addressed_constants): New function. (output_deferred_addressed_constants): New function. (make_decl_rtl): Don't ever replace old rtl; instead, change its mode if necessary. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4974 138bc75d-0d04-0410-961f-82ee72b054a4
* (assemble_variable): Move debugging output callsrms1993-07-181-21/+64
| | | | | | | | to after section has been selected. Select the section again if the debugging output call changes the section. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4934 138bc75d-0d04-0410-961f-82ee72b054a4
* Include ctype.h.rms1993-06-261-0/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4743 138bc75d-0d04-0410-961f-82ee72b054a4
* (immed_real_const_1): Check explicitly for NaNs.rms1993-06-031-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4626 138bc75d-0d04-0410-961f-82ee72b054a4
* (assemble_constant_align): New function.rms1993-05-201-0/+18
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4509 138bc75d-0d04-0410-961f-82ee72b054a4
* (record_constant): Properly make the header of a structkenner1993-05-061-5/+8
| | | | | | | constant_descriptor. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4361 138bc75d-0d04-0410-961f-82ee72b054a4
* (make_decl_rtl): If a variable has an asm operand that refers to,kenner1993-04-251-1/+10
| | | | | | | e.g., fp, make a distinct RTL for it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4215 138bc75d-0d04-0410-961f-82ee72b054a4
* (make_var_volatile): Return type is void.kenner1993-04-131-1/+2
| | | | | | | (assemble_string): First arg is not pointer to unsigned. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4145 138bc75d-0d04-0410-961f-82ee72b054a4
* Treat QUAL_UNION_TYPE like UNION_TYPE when seeing if aggregate.kenner1993-04-131-1/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4118 138bc75d-0d04-0410-961f-82ee72b054a4
* (assemble_real): Case TFmode and XFmode invoke ASM_OUTPUT_LONG_DOUBLE.rms1993-03-311-0/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3941 138bc75d-0d04-0410-961f-82ee72b054a4
* (make_decl_rtl): Handle flag_volatile_global.rms1993-03-081-1/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3679 138bc75d-0d04-0410-961f-82ee72b054a4
* (immed_double_const): Cope with MODE_PARTIAL_INT.sac1993-03-041-1/+3
| | | | | | | (output_constant_pool): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3650 138bc75d-0d04-0410-961f-82ee72b054a4
* (assemble_variable): Update comment.kenner1993-03-031-2/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3620 138bc75d-0d04-0410-961f-82ee72b054a4