Age | Commit message (Collapse) | Author | Files | Lines |
|
* c-common.h (genrtl_expr_stmt_value): Declare.
* c-semantics.c (genrtl_goto_stmt): Redirect to...
(genrtl_goto_stmt_value): ... this new function. Pass new
argument down to expand_expr_stmt_value, taking
TREE_ADDRESSABLE into account.
* c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
STMT_EXPR as addressable, i.e., one whose result we want.
* expr.c (expand_expr): Don't save expression statement value
of labeled_blocks or loop_exprs.
* stmt.c (expand_expr_stmt): Redirect to...
(expand_expr_stmt_value): ... this new function. Use new
argument to tell whether to save expression value.
(expand_end_stmt_expr): Reset last_expr_type and
last_expr_value if we don't have either.
* tree-inline.c (declare_return_variable): Mark its use
statement as addressable.
* tree.h: Document new use of TREE_ADDRESSABLE.
(expand_expr_stmt_value): Declare.
From-SVN: r48456
|
|
${srcdir}/ginclude/ to every...
* configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
${srcdir}/ginclude/ to every entry in extra_headers.
* configure: Regenerate.
* ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
* ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
* ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
* ginclude/proto.h: Rename to config/convex/proto.h.
From-SVN: r48454
|
|
From-SVN: r48453
|
|
tree_int_cst; remove warnings.
* attribs.c (handle_vector_size_attribute): Use host_integerp
and tree_int_cst; remove warnings.
* caller-save.c (insert_restore): Add cast to get rid of warning.
(insert_save): Likewise.
* emit-rtl.c (adjust_address_1, offset_address): Likewise.
* regmove.c (find_matches): Add temporary var to kill a warning.
From-SVN: r48452
|
|
* config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
* config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
(vms-dwarf2eh.o): Add Makefile rule.
* config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
* config/alpha/vms-dwarf2eh.asm: New file.
From-SVN: r48451
|
|
From-SVN: r48450
|
|
From-SVN: r48449
|
|
* config/mmix/mmix.md: Update FIXME to not mention
define_constants.
(MMIX_rJ_REGNUM): New define_constants constant.
("movqi", "movsi", "movdi", "*movdicc_real_foldable",
"*movdicc_real"): Adjust contraints formatting.
("*bCC_foldable"): Add %+ for P in output format and delete FIXME
for branch prediction.
("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
output template.
("*call_real", "*call_value_real", "nonlocal_goto_receiver",
"*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
number. Delete related FIXMEs.
* config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
from number to MMIX_rJ_REGNUM.
(TARGET_MASK_BRANCH_PREDICT): New.
(TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
(TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
value. Add -mbranch-predict and -mno-branch-predict.
(TARGET_VERSION): Drop date.
(ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
* config/mmix/mmix.c (mmix_encode_section_info): Correct condition
for finding out global symbols.
(mmix_asm_output_labelref): Revert condition for global symbol.
(mmix_print_operand): <case '+'>: Emit P for a likely branch.
(mmix_print_operand_punct_valid_p): A '+' is valid.
From-SVN: r48448
|
|
From-SVN: r48447
|
|
From-SVN: r48440
|
|
* parse.y (dump_java_tree): New function.
(source_end_java_method): Call it.
(end_class_declaration): Likewise.
* lang.c (java_decode_option): Call dump_switch_p.
From-SVN: r48439
|
|
From-SVN: r48437
|
|
hard registers.
* regrename.c (build_def_use): Don't rename asm operands that
were originally hard registers.
(copyprop_hardreg_forward_1): Likewise.
(find_oldest_value_reg): Copy ORIGINAL_REGNO from source.
* varasm.c (make_decl_rtl): Use gen_rtx_raw_REG. Set ORIGINAL_REGNO.
* gcc.dg/asm-5.c: New.
From-SVN: r48435
|
|
* config/alpha/vms.h (HAS_INIT_SECTION, NEED_ATEXIT): Remove.
(NAME__MAIN, SYMBOL__MAIN): Define.
From-SVN: r48434
|
|
* config/alpha/alpha.c (reg_no_subreg_operand): Reject all
non-registers.
From-SVN: r48433
|
|
From-SVN: r48432
|
|
decrementing LABEL_NUSES from a...
* cfgrtl.c (delete_insn): Check for not NOTE_INSN_DELETED_LABEL
before decrementing LABEL_NUSES from a jump table.
From-SVN: r48431
|
|
2001-12-31 Paolo Carlini <pcarlini@unitus.it>
* g++.old-deja/g++.robertl/eb130.C: hash_set is now
in namespace __gnu_cxx
From-SVN: r48427
|
|
From-SVN: r48419
|
|
From-SVN: r48418
|
|
From-SVN: r48417
|
|
* except.h: Remove forward def of tree_node, rtx_def and
define of tree, rtx. Also remove undefs.
From-SVN: r48416
|
|
* basic-block.h: Remove forward def of tree_node and
define of tree.
From-SVN: r48415
|
|
* except.h: Remove forward def of tree_node, rtx_def and
define of tree, rtx. Also remove undefs.
* basic-block.h: Remove forward def of tree_node and
define of tree.
From-SVN: r48414
|
|
From-SVN: r48413
|
|
* cfglayout.c (scope_def, scope_forest_info, forest,
relate_bbs_with_scopes, make_new_scope, build_scope_forest,
remove_scope_notes, insert_intra_before_1, insert_intra_1,
insert_intra_bb_scope_notes, insert_inter_bb_scope_notes,
rebuild_scope_notes, free_scope_forest_1, dump_scope_forest,
dump_scope_forest_1, get_next_bb_note, get_prev_bb_note): Remove.
(fixup_reorder_chain): Don't set scope for bb.
(insn_scopes, scope_to_insns_initialize, set_block_levels,
change_scope, scope_to_insns_finalize): New.
(cfg_layout_initialize, cfg_layout_finalize): Update to match.
* cfglayout.h (scope_def, scope): Remove.
(reorder_block_def): Remove scope member.
(scope_to_insns_initialize, scope_to_insns_finalize): Declare.
* haifa-sched.c: Revert reemit_other_notes change.
* sched-ebb.c (schedule_ebbs): Don't call remove_unnecessary_notes.
Use scope_to_insns_initialize and scope_to_insns_finalize.
* sched-rgn.c (schedule_insns): Likewise.
* gcc.dg/debug-6.c: New.
From-SVN: r48412
|
|
From-SVN: r48411
|
|
From-SVN: r48410
|
|
* tree.h (STRIP_NOPS): Remove extraneous semicolon.
(STRIP_SIGN_NOPS): Likewise.
(STRIP_TYPE_NOPS): Likewise.
(COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): Add Parenthesis around
macro paramater.
From-SVN: r48409
|
|
* final.c (struct bb_list): Delete.
(struct bb_str): Likewise.
From-SVN: r48408
|
|
* cfgloop.c (flow_loop_entry_edges_find): Fix typo.
(flow_loop_exit_edges_find): Likewise.
From-SVN: r48407
|
|
* gcse.c (gcse_main): Fix typos.
(alloc_gcse_mem): Likewise.
From-SVN: r48406
|
|
From-SVN: r48405
|
|
has_multiple_exit_targets and exit_count.
* loop.c (check_dbra_loop): Fix last change: examine both
has_multiple_exit_targets and exit_count.
From-SVN: r48404
|
|
unconditionally create a new mem.
* integrate.c (copy_rtx_and_substitute): Fix error last change:
we need to unconditionally create a new mem.
From-SVN: r48403
|
|
* config/mmix/mmix.md ("*call_real"): Fix typo in comment.
* config/mmix/mmix.h (EXTRA_CONSTRAINT): Pass MMIX_REG_OK_STRICT
to mmix_extra_constraint.
* config/mmix/mmix.c (mmix_secondary_reload_class): Only handle
non-global register classes. Mark now unused parameters as such.
(mmix_extra_constraint, 'U'): Use new parameter strict and call
calling memory_operand_p or strict_memory_address_p, not
address_operand.
* config/mmix/mmix-protos.h (mmix_extra_constraint): Add parameter.
From-SVN: r48402
|
|
From-SVN: r48400
|
|
target is EXIT_BLOCK_PTR, die otherwise.
* cfgrtl.c (try_redirect_by_replacing_jump): Allow redirect_jump
to fail if target is EXIT_BLOCK_PTR, die otherwise.
(redirect_edge_and_branch): Likewise.
* cfgcleanup.c (try_forward_edge): Don't force jump redirecting
if target is EXIT_BLOCK_PTR.
* gcc.c-torture/compile/20011229-2.c: New test.
From-SVN: r48399
|
|
From-SVN: r48398
|
|
-shared.
* gcc.c (init_gcc_spec): Do not link with static libgcc.a if
gcc invoked with -shared.
From-SVN: r48396
|
|
* config/i386/i386.c (ix86_asm_dialect): Fix enum type.
(override_options): Delete abs macro unused.
(output_pic_addr_const): Use ASM_ATT/ASM_INTEL enumerations
when testing ASSEMBLER_DIALECT.
(print_reg): Likewise.
(print_operand): Likewise.
(print_operand_address): Likewise.
(print_operand): abort if ASSEMBLER_DIALECT is unknown dialect.
* config/i386/i386.h (ix86_asm_dialect): Fix enum type.
(FIND_BASE_TERM): Fix typo.
From-SVN: r48393
|
|
From-SVN: r48392
|
|
* config/i386/i386.c (ix86_asm_dialect): Fix enum type.
(override_options): Delete abs macro unused.
(output_pic_addr_const): Use ASM_ATT/ASM_INTEL enumerations
when testing ASSEMBLER_DIALECT.
(print_reg): Likewise.
(print_operand): Likewise.
(print_operand_address): Likewise.
(print_operand): abort if ASSEMBLER_DIALECT is unknown dialect.
* config/i386/i386.h (ix86_asm_dialect): Fix enum type.
(FIND_BASE_TERM): Fix typo.
From-SVN: r48391
|
|
* expr.c (store_field): Use adjust_address, not PUT_MODE.
(expand_expr, case VIEW_CONVERT_EXPR): Likewise.
* reload1.c (eliminate_regs, case SUBREG): Likewise, but use
adjust_address_nv.
* varasm.c (make_decl_rtl): Likewise.
* integrate.c (copy_rtx_and_substitute, case MEM): Likewise, but use
replace_equiv_address_nv.
From-SVN: r48387
|
|
looking at TREE_CST_RTL.
* varasm.c (decode_addr_const, case INTEGER_CST): Call
output_constant_def instead of looking at TREE_CST_RTL.
From-SVN: r48386
|
|
From-SVN: r48385
|
|
packed record.
* stor-layout.c (layout_decl): Don't misalign field of variable size
for packed record.
From-SVN: r48384
|
|
* dwarf2out.c (compute_section_prefix): Avoid cast warning.
(gen_decl_die): Only check DECL_IGNORED_P on decls.
(dwarf2out_decl): Check for DECL_IGNORED_P only when needed.
From-SVN: r48382
|
|
* cfglayout.c (insert_intra_before_1): New.
(insert_inter_bb_scope_notes): Emit sibling block notes which don't
span multiple basic blocks.
* gcc.dg/debug-3.c: New test.
* gcc.dg/debug-4.c: New test.
* gcc.dg/debug-5.c: New test.
From-SVN: r48380
|
|
From-SVN: r48378
|