Age | Commit message (Collapse) | Author | Files | Lines |
|
* output.h (current_function_is_leaf,
current_function_uses_only_leaf_regs): Declare.
* function.c (current_function_is_leaf,
current_function_uses_only_leaf_regs): Define.
(init_function_start): Initialize current_function_is_leaf
and current_function_uses_only_leaf_regs.
* final.c (leaf_function): Don't define.
(final_start_function): Replace uses of leaf_function with
current_function_uses_only_leaf_regs.
* toplev.c (rest_of_compilation): Set current_function_is_leaf
prior to invoking local register allocation.
(rest_of_compilation): Replace uses of leaf_function with
current_function_uses_only_leaf_regs.
* dbxout.c (dbxout_symbol, dbxout_parms): Likewise.
* dwarf2out.c (add_location_or_const_vaule_attribute): Likewise.
* dwarfout.c (add_location_or_const_value_attribute): Likewise.
* sdbout.c (sdbout_symbol): Likewise.
* sparc.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
* sparc.c (eligible_for_epilogue_delay, output_return,
sparc_return_peephole_ok): Likewise.
* sparc.md (leaf_function attribute, untyped_return): Likewise.
* i386.c (ix86_compute_frame_size): Don't align the stack
for leaf functions which don't allocate any stack slots.
* tm.texi: Update documentation.
From-SVN: r26538
|
|
fly and do not cache the result.
* sdbout.c (sdbout_symbol): Do not call build_pointer_type, build
one on the fly and do not cache the result.
From-SVN: r26032
|
|
* sdbout.c (syms.h): Don't include on Interix.
* toplev.c (main): No sbrk on Interix.
Co-Authored-By: Donn Terry <donn@interix.com>
From-SVN: r25911
|
|
* calls.c (initialize_argument_information): Mark parameters
`num_actuals' and `n_named_args' with ATTRIBUTE_UNUSED.
* dbxout.c (dbxout_start_new_source_file): Likewise for parameter
`filename'.
(dbxout_finish): Likewise for parameters `file' and `filename'.
(dbxout_prepare_symbol): Likewise for parameter `decl'.
(dbxout_begin_function): Likewise.
* explow.c (hard_function_value): Likewise for parameter `func'.
* function.c (locate_and_pad_parm): Likewise for parameter `fndecl'.
* expmed.c (expand_divmod): Omit unused argument to `expand_abs'.
* expr.c (expand_expr): Likewise.
* expr.h (expand_abs): Delete unused argument from prototype.
* optabs.c (expand_abs): Remove unused parameter `unsignedp'.
* sdbout.c (sdbout_init): Mark parameter `syms' with ATTRIBUTE_UNUSED.
(sdbout_end_block): Likewise for parameter `n'.
* toplev.c (debug_define): Likewise for parameters `lineno' and
`buffer'.
(debug_undef): Likewise.
* varasm.c (named_section): Likewise for parameter 'reloc'.
(assemble_external): Likewise for parameter `decl'.
(assemble_alias): Likewise for parameter `target'.
From-SVN: r25858
|
|
From-SVN: r25686
|
|
* sdbout.c (sdbout_one_type): Don't look at TYPE_BINFO field of enums.
From-SVN: r22592
|
|
emitting.
* sdbout.c (sdbout_field_types): Don't emit the types of fields we
won't be emitting.
From-SVN: r22576
|
|
* reload1.c (reload_cse_regs): Cast first arg of `bzero' to char *.
* sdbout.c: Include output.h and toplev.h.
(PUT_SDB_INT_VAL): Use HOST_WIDE_INT_PRINT_DEV to print argument
`a'. Cast `a' to HOST_WIDE_INT to force it to always be so.
(PUT_SDB_SIZE): Likewise.
* sdbout.h (sdbout_mark_begin_function): Add prototype.
* stmt.c (check_for_full_enumeration_handling): Cast argument of
`warning' to long and use %ld specifier.
* toplev.c (main): Likewise for `fprintf'.
* toplev.h (output_file_directive): Add prototype.
* unroll.c (unroll_loop): Use HOST_WIDE_INT_PRINT_DEC specifier in
call to `fprintf'.
(precondition_loop_p): Likewise.
* varasm.c Include sdbout.h.
(assemble_static_space): Move sometimes-unused variable `rounded'
into the scope in which it is used.
From-SVN: r20651
|
|
* dwarfout.h, dwarf2out.h, dbxout.h, sdbout.h: New files.
Prototypes for externally used functions in respective C files.
* dwarfout.c, dbxout.c, dwarf2out.c, sdbout.c, toplev,c,
final.c: Include above files.
* Makefile.in (toplev.o): Add dependency for above four headers.
(final.o): Likewise.
(dwarfout.o, dbxout.o, dwarf2out.o, sdbout.o): Depend on four
respective header files.
From-SVN: r19835
|
|
for details.
* haifa-sched.c: Mirror recent changes from gcc2.
From-SVN: r18984
|
|
* Makefile.in (alias.o, bitmap.o, c-aux-info.o, c-common.o,
c-decl.o, c-iterate.o, c-lang.o, c-lex.o, c-pragma.o, c-typeck.o,
caller-save.o, calls.o, collect2.o, combine.o, cse.o, dbxout.o,
dwarf2out.o, dwarfout.o, emit-rtl.o, except.o, explow.o, expmed.o,
expr.o, final.o, flow.o, function.o, getpwd.o, global.o,
integrate.o, jump.o, local-alloc.o, loop.o, optabs.o, pexecute.o,
prefix.o, print-rtl.o, print-tree.o, profile.o, real.o, recog.o,
reg-stack.o, regclass.o, regmove.o, reload.o, reload1.o, reorg.o,
rtl.o, rtlanal.o, sdbout.o, stmt.o, stor-layout.o, stupid.o,
tlink.o, toplev.o, tree.o, unroll.o, varasm.o, xcoffout.o): Depend
on system.h.
* alias.c, bitmap.c, c-aux-info.c, c-common.c, c-decl.c,
c-iterate.c, c-lang.c, c-lex.c, c-pragma.c, c-typeck.c,
caller-save.c, calls.c, collect2.c, combine.c, cse.c, dbxout.c,
dwarf2out.c, dwarfout.c, emit-rtl.c, except.c, explow.c, expmed.c,
expr.c, final.c, flow.c, function.c, gcc.c, getpwd.c, global.c,
integrate.c, jump.c, local-alloc.c, loop.c, optabs.c, pexecute.c,
prefix.c, print-rtl.c, print-tree.c, profile.c, real.c, recog.c,
reg-stack.c, regclass.c, regmove.c, reload.c, reload1.c, reorg.c,
rtl.c, rtlanal.c, sched.c, sdbout.c, stmt.c, stor-layout.c,
stupid.c, tlink.c, toplev.c, tree.c, unroll.c, varasm.c,
xcoffout.c: Include system.h. Organize include ordering so
that stdarg/varargs comes before other system headers. Remove
spurious casts of functions assured of a prototype in system.h.
From-SVN: r18726
|
|
From-SVN: r17355
|
|
* bitmap.c (bitmap_clear): Ensure `inline' is at the beginning
of the declaration.
* c-decl.c (finish_decl): Use parentheses around && within ||.
* rtl.c: Include stdlib.h.
(read_skip_spaces): Add parentheses around assignments used as
truth values.
(read_rtx): Initialize list_rtx.
* cppexp.c (parse_number): Use || when operands are truth values.
* alias.c (find_base_value): Add default case.
(memrefs_conflict): Likewise.
* combine.c (sets_function_arg_p): Likewise.
* genemit.c (gen_exp): Likewise.
* local-alloc.c (contains_replace_regs): Likewise.
* rtlanal.c (jmp_uses_reg_or_mem): Likewise.
* fold-const.c (fold_convert): Use "&&" for truth values.
(fold): Add default case.
* sdbout.c (sdbout_field_types): Fix typo in declaration.
(sdbout_one_type): Add default case.
* alpha.c (alpha_sa_mask): Prototype only if OPEN_VMS.
(some_operand): Add default case.
(input_operand): Likewise.
(signed_comparison_operator): Likewise.
(divmod_operator): Likewise.
(alpha_set_memflags_1): Likewise.
* reload1.c (reload_cse_simplify_operands): Ensure function
always returns a value.
* scan-decls.c (scan_decls): Likewise.
* c-lex.c (skip_white_space): Fix typo in declaraion.
* c-typeck.c (comp_target_types): Add parentheses around assignment
used as truth value.
(print_spelling): Likewise.
(constructor_implicit, constructor_result): Remove unused variables.
* collect2.c (scan_library): Protect prototype with
#ifdef SCAN_LIBRARIES.
* emit-rtl.c (find_line_note): Fix typo in declaration.
* final.c (asm_insn_count): Protect prototype with
#ifdef HAVE_ATTR_length.
* flow.c (find_auto_inc): Protect prototype with #ifdef AUTO_INC_DEC.
(try_pre_increment_1, try_pre_increment): Likewise.
* regclass.c (auto_inc_dec_reg_p): Protect prototype with
#ifdef FORBIDDEN_INC_DEC_CLASSES. Make return type explicit.
* gcov-io.h (__store_long, __write_long, __read_long): Fix
unsigned/signed comparisons.
* gcov.c (read_files): Remove unused "first_type" variable.
(scan _for_source_files): Initialize s_ptr.
(function_summary): Eliminate "%lf" formatting, use %ld for
longs.
(output_data): Initialize branch_probs and last_line_num.
Eliminate "%lf" formatting, use "%ld" for longs.
Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r17158
|
|
* tree.c (build_range_type): Allow creation of ranges with no maximum.
* dbxout.c (dbxout_range_type): Handle missing TYPE_MAX_VALUE.
* dwarf2out.c (add_subscript_info): Likewise.
* dwarfout.c (subscript_data_attribute, byte_size_attribute): Likewise.
* sdbout.c (plain_type_1): Likewise.
* stmt.c (pushcase_range, all_cases_count, node_has_high_bound):
Likewise.
* fold-const.c (int_const_binop, fold_convert, make_range, fold):
Likewise.
From-SVN: r17142
|
|
* reload.h, reload1.c (eliminate_regs), caller-save.c, dbxout.c,
dwarfout.c, dwarf2out.c, reload.c, sdbout.c: Revert March 15 change.
* reload.c (push_reload): If WORD_REGISTER_OPERATIONS, reload the
SUBREG_REG if the word count is unchanged.
* reload1.c (eliminate_regs) [case SET]: If W_R_O, preserve
subregs of identical word size for push_reload.
From-SVN: r17105
|
|
From-SVN: r16278
|
|
TYPE_{MAX,MIN}_VALUE before using them.
* sdbout.c (plain_type_1, case ARRAY_TYPE): Verify that TYPE_DOMAIN
has integer TYPE_{MAX,MIN}_VALUE before using them.
Bring over from the FSF.
From-SVN: r15117
|
|
From-SVN: r14024
|
|
From-SVN: r13705
|
|
* sdbout.c (current_file): New global.
(PUT_SDB_SRC_FILE): New PUT_SDB_FOO macro.
(sdbout_init): Initialize current_file ifdef MIPS_DEBUGGING_INFO.
(sdbout_{start_new,resume_previous}_source_file): New functions.
* toplev.c (debug_{start,end}_source_file): Call them if SDB_DEBUG.
* mips/mips.h (PUT_SDB_SRC_FILE): Define.
From-SVN: r13179
|
|
From-SVN: r12922
|
|
From-SVN: r12390
|
|
(plain_type_1): Use TYPE_PRECISION instead of TYPE_SIZE.
Add check for LONG_DOUBLE_TYPE_SIZE if EXTENDED_SDB_BASIC_TYPES.
From-SVN: r12223
|
|
(sdbout_parms, sdbout_reg_parms): Delete extra parm to plain_type.
From-SVN: r12047
|
|
dimension.
From-SVN: r10906
|
|
instead of DECL_EXTERNAL to identify declarations.
From-SVN: r10805
|
|
From-SVN: r9966
|
|
From-SVN: r9732
|
|
(plain_type_1): New parameter level. Increment it when making
recursive calls. Force the type to void_type_mode before starting
a 7th level of recursion.
From-SVN: r9572
|
|
in function with section attribute.
From-SVN: r9560
|
|
(sdbout_symbol): Use DECL_ASSEMBLER_NAME unconditionally.
(sdbout_one_type): Likewise.
From-SVN: r9365
|
|
DECL_NAME.
From-SVN: r9166
|
|
From-SVN: r8780
|
|
(plain_type_1): For LONG_LONG_TYPE_SIZE, return T_[U]LONG instead of 0
(i.e. T_VOID).
From-SVN: r8755
|
|
From-SVN: r8470
|
|
From-SVN: r8181
|
|
DECL_LANG_SPECIFIC is set.
From-SVN: r7522
|
|
DECL_NAME for child_type that is a template type.
From-SVN: r7518
|
|
DECL_LANG_SPECIFIC is set.
From-SVN: r7516
|
|
MIPS_DEBUGGING_INFO is defined.
(sdbout_begin_block): Don't output block for function
level scope unless MIPS_DEBUGGING_INFO is defined.
(sdbout_end_block): Likewise. Add new parameter n for the block
number.
From-SVN: r6966
|
|
(sdbout_type): Remove decl of unused variable TEM.
From-SVN: r6894
|
|
From-SVN: r6358
|
|
don't output anything for it.
From-SVN: r6106
|
|
From-SVN: r6040
|
|
remove casts.
(KNOWN_TYPE_TAG, SET_KNOWN_TYPE_TAG): Refer to TYPE_SYMTAB_POINTER and remove
casts.
(tag_of_ru_type): Likewise.
From-SVN: r5756
|
|
FRAME_POINTER_REGNUM.
* sdbout.c: (sdbout_symbol): Use HARD_FRAME_POINTER_REGNUM instead of
FRAME_POINTER_REGNUM.
From-SVN: r5467
|
|
From-SVN: r4118
|
|
From-SVN: r3681
|
|
From-SVN: r3183
|
|
From-SVN: r3046
|