summaryrefslogtreecommitdiff
path: root/gcc/varasm.c
Commit message (Collapse)AuthorAgeFilesLines
* alias.c: Change all uses of gen_rtx(FOO...) to gen_rtx_FOO...Richard Henderson1998-01-141-18/+18
| | | | | | | | | | | | | | | * alias.c: Change all uses of gen_rtx(FOO...) to gen_rtx_FOO; change gen_rtx(expr...) to gen_rtx_fmt_foo(expr...). * caller-save.c, calls.c, combine.c, cse.c: Likewise. * dwarf2out.c, except.c, explow.c, expmed.c, expr.c: Likewise. * final.c, flow.c, function.c, genpeep.c, haifa-sched.c: Likewise. * halfpic.c, integrate.c, jump.c, local-alloc.c, loop.c: Likewise. * profile.c, recog.c, reg-stack.c, regclass.c, regmove.c: Likewise. * reload.c, reload1.c, reorg.c, sched.c, stmt.c, stupid.c: Likewise. * unroll.c, varasm.c: Likewise. * config/alpha/alpha.c, config/alpha/alpha.md: Likewise. From-SVN: r17357
* Merge from gcc-2.8Jeff Law1997-12-061-1/+1
| | | | From-SVN: r16987
* patch from paul eggert to fix -0.0/0.0 confusion that breaks glibcPaul Eggert1997-11-131-2/+1
| | | | | | | | | | | | | * real.h (REAL_VALUES_IDENTICAL): New macro. * expr.c (is_zeros_p): Don't consider -0.0 to be all zeros. * fold-const.c (operand_equal_p): Don't consider -0.0 to be identical to 0.0. * tree.c (simple_cst_equal): Don't consider -0.0 to have the same tree structure as 0.0. * varasm.c (immed_real_const_1): Use new REAL_VALUES_IDENTICAL macro instead of doing it by hand. From-SVN: r16472
* Update mainline egcs to gcc2 snapshot 971021.Jeff Law1997-11-021-8/+42
| | | | From-SVN: r16278
* combine.c (try_combine): Use NULL_RTX instead of '0' where appropriate in ↵David S. Miller1997-09-221-1/+1
| | | | | | | | | | | | | | | | | calls to gen_rtx(). * combine.c (try_combine): Use NULL_RTX instead of '0' where appropriate in calls to gen_rtx(). * cse.c (cse_main): Likewise. * emit-rtl.c (gen_label_rtx): Likewise. * expr.c (init_expr_once): Likewise. * haifa-sched.c (flush_pending_lists, sched_analyze_insn, sched_analyze, init_rgn_data_dependences, compute_block_backward_dependences): Likewise. * sched.c (schedule_insns): Likewise. * varasm.c (immed_double_const): Likewise. From-SVN: r15630
* dwarf2 EH supportJason Merrill1997-09-101-3/+18
| | | | From-SVN: r15255
* Fix C++ template instantiation back end core dump.Jim Wilson1997-08-291-0/+7
| | | | | | * varasm.c (mark_constants): Don't look inside CONST_DOUBLEs. From-SVN: r14999
* (make_function_rtl, make_decl_rtl): Add a prefix when ↵Richard Kenner1997-08-021-0/+44
| | | | | | | | | | flag_prefix_function_name_usage is set. (make_function_rtl, make_decl_rtl): Add a prefix when flag_prefix_function_name_usage is set. (assemble_name): Strip the CHKR_PREFIX. From-SVN: r14619
* (compare_constant_1, case STRING_CST): Compare TYPE_MODE.Richard Kenner1997-08-021-0/+4
| | | | | | (record_constant_1, case STRING_CST): Record TYPE_MODE. From-SVN: r14606
* xJason Merrill1997-07-191-2/+2
| | | | From-SVN: r14491
* (assemble_variable): If low part of size doesn't fit in an int,Richard Kenner1997-07-141-1/+5
| | | | | | variable is too large. From-SVN: r14428
* (assemble_end_function): Switch back to function section afterRichard Kenner1997-06-091-1/+4
| | | | | | outputting constant pool. From-SVN: r14184
* xJason Merrill1997-04-301-25/+42
| | | | From-SVN: r13994
* (TRAMPOLINE_ALIGNMENT): Provide default.Richard Kenner1997-01-301-1/+5
| | | | | | | (assemble_trampoline_template): Use TRAMPOLINE_ALIGNMENT instead of FUNCTION_BOUNDARY. From-SVN: r13568
* (force_const_mem): Set MARK instead of clearing it.Richard Kenner1997-01-291-3/+7
| | | | | | | | (output_constant_pool): Only mark constant pool if -O. Check mark flag unconditionally. (mark_constant_pool): Start by clearing all mark flags. From-SVN: r13564
* Garbage collect constant pool entries and don't output unnecessary onesIan Lance Taylor1997-01-241-0/+96
| | | | From-SVN: r13550
* (const_hash): Treat NON_LVALUE_EXPR like CONVERT_EXPR.Richard Kenner1997-01-181-140/+188
| | | | | | | (compare_constant_1, copy_constant, bc_assemble_integer): Likewise. (const_hash, compare_constant_1): Use switch, not if-then-else. From-SVN: r13507
* Copy a CONST_INT rtx in force_const_memIan Lance Taylor1997-01-141-8/+14
| | | | From-SVN: r13490
* Add support for new target macro CONSTANT_AFTER_FUNCTION_PIan Lance Taylor1997-01-141-4/+45
| | | | From-SVN: r13489
* Call ASM_OUTPUT_POOL_EPILOGUE after outputting the constant poolIan Lance Taylor1996-12-131-0/+4
| | | | From-SVN: r13306
* Check CONSTANT_POOL_BEFORE_FUNCTION to control placement of constantIan Lance Taylor1996-12-131-1/+14
| | | | | | pool From-SVN: r13304
* xJason Merrill1996-12-091-40/+18
| | | | From-SVN: r13258
* xJason Merrill1996-11-201-2/+2
| | | | From-SVN: r13209
* xJason Merrill1996-11-151-0/+10
| | | | From-SVN: r13160
* xJason Merrill1996-11-111-2/+10
| | | | From-SVN: r13121
* xJason Merrill1996-11-091-14/+24
| | | | From-SVN: r13116
* (make_decl_rtl,assemble_variable): Allow named sections forRichard Kenner1996-10-281-13/+3
| | | | | | uninitialized variables. From-SVN: r13053
* (bss_section): Delete unused parameters.Jim Wilson1996-10-071-1/+1
| | | | From-SVN: r12912
* (copy_constant, case COMPLEX_CST): Add new arg, TYPE, to call to build_complex.Richard Kenner1996-09-291-1/+2
| | | | From-SVN: r12866
* (assemble_variable): Fix setting of first_global_object_name.Jason Merrill1996-09-181-10/+66
| | | | | | | | | | (assemble_variable): Fix setting of first_global_object_name. (assemble_start_function): Likewise. (supports_one_only): New function. (make_decl_one_only): Likewise. From-SVN: r12734
* (decode_addr_const, output_constant_def): Allow INTEGER_CST.Richard Kenner1996-07-231-3/+1
| | | | From-SVN: r12557
* install EH codeMike Stump1996-07-231-0/+21
| | | | From-SVN: r12549
* Fix formatting.Richard Kenner1996-07-201-1/+1
| | | | From-SVN: r12540
* formatting tweaksMike Stump1996-07-031-15/+16
| | | | From-SVN: r12390
* (asm_output_aligned_bss): Don't emit a skip of size 0.Jason Merrill1996-06-181-1/+1
| | | | From-SVN: r12308
* * varasm.c (output_constructor): Handle RANGE_EXPR in array index.Per Bothner1996-06-051-1/+20
| | | | From-SVN: r12165
* (make_decl_rtl): Don't update DECL_ASSEMBLER_NAME forJason Merrill1996-06-051-1/+0
| | | | | | local statics. From-SVN: r12163
* (assemble_variable): Only treat vars with DECL_COMMONJason Merrill1996-06-041-1/+1
| | | | | | as common. From-SVN: r12157
* varasm.c (asm_output_bss): New argument DECL.Doug Evans1996-05-241-5/+19
| | | | | | | | | * varasm.c (asm_output_bss): New argument DECL. Use ASM_DECLARE_OBJECT_NAME if defined. (asm_output_aligned_bss): Likewise. (assemble_variable): Pass DECL to ASM_OUTPUT{,_ALIGNED}_BSS. From-SVN: r12087
* varasm.c (function_section): Delete flag_function_sections support.Doug Evans1996-05-161-23/+17
| | | | | | | * varasm.c (function_section): Delete flag_function_sections support. (assemble_start_function): Put it here. Use UNIQUE_SECTION if defined. From-SVN: r11975
* varasm.c (assemble_variable): ASM_DECLARE_OBJECT_NAME needn't consider ↵Doug Evans1996-05-101-11/+15
| | | | | | | | | | | bytecodes. * varasm.c (assemble_variable): ASM_DECLARE_OBJECT_NAME needn't consider bytecodes. * varasm.c (assemble_start_function): ASM_DECLARE_FUNCTION_NAME needn't consider bytecodes. From-SVN: r11964
* (make_decl_rtl): Update DECL_ASSEMBLER_NAME for localJason Merrill1996-05-071-2/+2
| | | | | | | statics. From-SVN: r11950
* (named_section): Accept any decl.Doug Evans1996-05-061-1/+3
| | | | From-SVN: r11945
* -fno-common changeJason Merrill1996-05-061-9/+1
| | | | From-SVN: r11940
* (assemble_trampoline_template): No such function if noRichard Kenner1996-04-161-0/+2
| | | | | | TRAMPOLINE_TEMPLATE. From-SVN: r11823
* flags.h (flag_function_sections): Declare.Jeff Law1996-04-151-1/+25
| | | | | | | | | | | | | | | | | | | | * flags.h (flag_function_sections): Declare. * toplev.c (flag_function_sections): Define. (compile_file): Add warnings when -ffunction-sections is used with -g, or profiling. Disable -ffunction-sections when profiling is used. Add warning when -ffunction-sections is used on a target that doesn't support it. * varasm.c (named_section): Make a copy of the section name in case the original is in temporary storage. (function_section): Set DECL_SECTION_NAME for each function if flag_function_sections is on and the target supports it. * dbxout.c (dbxout_function_end): New function. (dbxout_function): Call dbxout_function_end if using extensions and flag_function_sections is on. * sparc/sysv4.h (ASM_OUTPUT_SECTION_NAME): Prefix a function section's name with ".text%" when -ffunction-sections. From-SVN: r11774
* varasm.c (compare_constant_1): For a SET_TYPE CONSTRUCTOR, first extract and ↵Per Bothner1996-02-291-2/+6
| | | | | | | | | | | compare the set length. * varasm.c (compare_constant_1): For a SET_TYPE CONSTRUCTOR, first extract and compare the set length. * varasm.c (record_constant_1): For SET_TYPE CONSTRUCTOR, permanent_obstack.next_free is *end* of available space. From-SVN: r11385
* varasm.c (enum in_section): Define in_bss if BSS_SECTION_ASM_OP is defined.Doug Evans1996-02-291-14/+125
| | | | | | | | | | | | * varasm.c (enum in_section): Define in_bss if BSS_SECTION_ASM_OP is defined. (bss_section,asm_output_bss,asm_output_aligned_bss): New functions. (assemble_variable): Delete redundant test for too large an object. Rewrite test for uninitialized variables. Use new macros ASM_OUTPUT{,_ALIGNED}_BSS if defined to output global uninitialized but not common variables. From-SVN: r11364
* (in_data_section): New function.Richard Kenner1996-01-151-1/+7
| | | | From-SVN: r10983
* varasm.c (variable_section): New function.Doug Evans1996-01-101-59/+41
| | | | | | | * varasm.c (variable_section): New function. (assemble_variable): Call it. From-SVN: r10960