Age | Commit message (Collapse) | Author |
|
'apple-gcc-1744'.
git-svn-id: https://gcc.gnu.org/svn/gcc/tags/apple-gcc-1744@81232 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* tree-ssa-alias.c (group_aliases_into): Don't add a variable
to its own may-alias set.
(create_alias_map_for): New.
(setup_pointers_and_addressables): Call it.
Fix allocation of AI->ADDRESSABLE_VARS and AI->POINTERS.
If there are no addressable variables and more than one
dereferenced pointers, add type tags to the ADDRESSABLE_VARS
array.
(get_tmt_for): Add comment about using alias set equality when
checking for existing tags.
testsuite/ChangeLog.tree-ssa:
* gcc.dg/tree-ssa/20040319-1.c: New test.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@79728 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Eliminate unnecessary test of VAL.
* gcc.c-torture/execute/20040319-1.c: New test.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@79706 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* c-decl.c (grokdeclarator): Do not complain about redeclaring
visible "static" identifiers "extern" in a local scope.
* dwarf2out.c (loc_descriptor_from_tree): Handle pre- and
post-increments/decrements.
2004-03-18 Mark Mitchell <mark@codesourcery.com>
* gcc.dg/local1.c: New test.
* gcc.dg/debug/dwarf2/c99-typedef1.c: New test.
Bring over from mainline.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@79649 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
'tree-ssa-20020619-branch'.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@79648 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* gcc.c-torture/compile/20040317-2.c: New test.
* gcc.c-torture/compile/20040317-3.c: New test.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@79605 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* tree-ssa-alias.c (compute_flow_insensitive_aliasing): Do not
ignore read-only variables.
(may_alias_p): Fix pointer-to-var calculation when 'var' is an
array.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@79599 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* gcc.dg/tree-ssa/20040313-1.c: New test.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@79449 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* tree-ssa.c (warn_uninit): Don't warn for hard register variables.
* gcc.dg/uninit-H.c: New.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@79365 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
16-bit int.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@79340 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
on modified ADDR_EXPRs.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@79291 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
PR c/14475
* gcc.dg/pr14475.c: New test.
2004-03-10 Andrew Pinski <apinski@apple.com
PR c/14475
* c-decl.c (check_bitfield_type_and_width): Check for null
lang_type_specific when check the precision of an enum.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@79272 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
a constant for a virtual operand.
* gcc.c-torture/compile/20040309-1.c: New test.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@79195 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@79121 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
'tree-ssa-20020619-branch'.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@79120 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@78997 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
'tree-ssa-20020619-branch'.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@78996 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@78988 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
rather than deleting the old ones and creating a new one when
removing a dead conditional.
* testsuite/gcc.c-torture/compile/20040304-1.c: New test.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@78941 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@78914 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
'tree-ssa-20020619-branch'.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@78913 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* gcc.c-torture/20040303-2.c: New test.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@78887 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@78816 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* testsuite/gcc.dg/tree-ssa/ssa-dce-1.c: Check after aliasing.
* testsuite/gcc.dg/tree-ssa/ssa-dce-2.c: Likewise.
* testsuite/gcc.dg/tree-ssa/ssa-dom-cse-1.c: Likewise.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@78810 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* tree-ssa-alias.c (create_global_var): Mark GLOBAL_VAR for
renaming.
testsuite/ChangeLog.tree-ssa
* gcc.dg/tree-ssa/20040302-1.c: New test.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@78774 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@78772 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
'tree-ssa-20020619-branch'.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@78771 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
(true_false_expr_eq): Update comments slightly. Avoid using
operand_equal_p, instead check the code and operands directly.
* gcc.dg/tree-ssa/20030211-1.c: Update.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@78702 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@78619 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* gcc.dg/tree-ssa/20030730-1.c: Declare ggc_alloc.
* gcc.dg/tree-ssa/20030730-2.c: Likewise.
* gcc.dg/tree-ssa/20030917-2.c: Fix int->pointer cast.
* gcc.dg/tree-ssa/20030922-2.c: XFAIL.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@78584 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* tree-pretty-print.c (dump_generic_node): Mark tail calls.
* tree-ssa-alias.c (compute_may_aliases): Restore call to
dump_referenced_vars.
(compute_points_to_and_addr_escape): If the address of a
variable V is stored into a non-pointer variable, mark V as
call-clobbered.
* tree-tailcall.c (suitable_for_tail_opt_p): Check for
call-clobbered instead of TREE_ADDRESSABLE.
Ignore memory tags.
(optimize_tail_call): Add newline to dump output.
testsuite/ChangeLog.tree-ssa
* gcc.dg/tree-ssa/tailcall-2.c: New test.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@78572 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@78557 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@78491 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
'tree-ssa-20020619-branch'.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@78490 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
if fold_stmt was successful.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@78181 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* basic-block.h (struct reorder_block_def): Moved from cfglayout.h.
(alloc_rbi_pool, initialize_bb_rbi, free_rbi_pool): New.
* bb-reorder.c (copy_bb): Use cfghooks for bb duplication.
* cfg.c (rbi_pool): New variable.
(alloc_rbi_pool, free_rbi_pool, initialize_bb_rbi): New functions.
* cfghooks.c (can_duplicate_block_p, duplicate_block): New functions.
* cfghooks.h (struct cfg_hooks): Add can_duplicate_block_p and
duplicate_block hooks.
(can_duplicate_block_p, duplicate_block): Declare.
* cfglayout.c (cfg_layout_pool, cfg_layout_initialize_rbi): Removed.
(fixup_reorder_chain): Use initialize_bb_rbi.
(cfg_layout_can_duplicate_bb_p, cfg_layout_duplicate_bb): Hookized.
(cfg_layout_initialize): Use cfg.c rbi pool manipulation functions.
(can_copy_bbs_p, copy_bbs): Use cfghooks for bb duplication.
* cfglayout.h (typedef struct reorder_block_def): Moved to
basic_block.h.
(cfg_layout_can_duplicate_bb_p, cfg_layout_duplicate_bb): Declaration
removed.
* cfgrtl.c (cfg_layout_create_basic_block): Use initialize_bb_rbi.
(rtl_cfg_hooks, cfg_layout_rtl_cfg_hook): Fill in can_duplicate_block_p
and duplicate_block fields.
* common.opt (ftree-ch): Add.
* flags.h (flag_tree_ch): Declare.
* jump.c (next_nonnote_insn_in_loop, duplicate_loop_exit_test,
copy_loop_headers): Removed.
* loop-unswitch.c (unswitch_loop): Use cfghooks for bb duplication.
* opts.c (decode_options): Enable flag_tree_ch at -O1.
(common_handle_option): Handle -ftree_ch.
* rtl.h (copy_loop_headers): Declaration removed.
* timevar.def (TV_TREE_CH): New.
* toplev.c (flag_tree_ch): New.
(rest_of_compilation): Do not call copy_loop_headers.
* tracer.c (tail_duplicate): Use cfghooks for bb duplication.
* tree-cfg.c (build_tree_cfg): Call alloc_rbi_pool.
(create_bb): Call initialize_bb_rbi.
(delete_tree_cfg): Call free_rbi_pool.
(tree_duplicate_bb): Hookize.
(tree_can_duplicate_bb_p): New.
(tree_cfg_hooks): Fill in can_duplicate_block_p and duplicate_block
fields.
* tree-flow.h (tree_duplicate_bb): Declaration removed.
* tree-optimize.c (init_tree_optimization_passes): Add pass_ch.
* tree-pass.h (pass_ch): Declare.
* tree-ssa-loop.c: Include tree-inline.h.
(call_expr_p, should_duplicate_loop_header_p, mark_defs_for_rewrite,
duplicate_blocks, copy_loop_headers, gate_ch): New functions.
(pass_ch): New.
* doc/invoke.texi (-fdump-tree-ch, -ftree-ch): Document.
* gcc.dg/tree-ssa/copy-headers.c: New test.
* gcc.dg/tree-ssa/20030711-1.c: Update outcome.
* gcc.dg/tree-ssa/20030714-2.c: Ditto.
* gcc.dg/tree-ssa/20030807-3.c: Ditto.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@78165 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@78107 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@77934 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@77933 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@77930 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* trans-decl.c (gfc_build_function_decl) For functions
returning CHARACTER*(*) pass an extra length argument,
following g77 calling conventions.
* trans-types.c (gfc_get_function_type) Ditto.
* trans-expr.c (gfc_conv_function_call) Ditto.
* gfortran.fortran-torture/execute/straret.f90: New test.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@77856 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@77840 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@77756 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
'tree-ssa-20020619-branch'.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@77725 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@77656 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@77645 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
point to DR#236.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@77633 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* langhooks-def.h, c-lang.c, objc/objc-lang.c
(LANG_HOOKS_FUNCTION_MISSING_NORETURN_OK_P): New.
* c-objc-common.c (c_missing_noreturn_ok_p): Return bool.
(c_objc_common_init): Don't set lang_missing_noreturn_ok_p.
* c-tree.h (c_missing_noreturn_ok_p): Update decl.
* flow.c (lang_missing_noreturn_ok_p): Remove.
cp/
* cp-lang.c (LANG_HOOKS_FUNCTION_MISSING_NORETURN_OK_P): New.
* cp-tree.h (cp_missing_noreturn_ok_p): Declare.
* decl.c (cp_missing_noreturn_ok_p): Export.
(cxx_init_decl_processing): Don't set lang_missing_noreturn_ok_p.
* flow.c (check_function_return_warnings): Move to tree-cfg.c.
* toplev.c (rest_of_compilation): Don't call it.
* tree-cfg.c (execute_warn_function_return): Move from flow.c,
rename, update for tree vs rtl.
(pass_warn_function_return): New.
* tree-pass.h (pass_warn_function_return): Declare it.
* tree-optimize.c (init_tree_optimization_passes): Run it.
* function.h (struct function): Remove x_clobber_return_insn.
* function.c (free_after_compilation): Don't set it.
(expand_function_end): Likewise.
testsuite/
* gcc.dg/noreturn-1.c: Adjust line numbers on warnings.
* gcc.dg/noreturn-4.c: Likewise.
* gcc.dg/noreturn-7.c: Likewise. Adjust warnings for
changes to tail-call optimizations.
* gcc.dg/return-type-3.c: Turn on optimization.
* gcc.dg/uninit-6.c: Adjust line numbers on warnings.
* gcc.dg/uninit-8.c: XFAIL.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@77580 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@77551 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@77545 138bc75d-0d04-0410-961f-82ee72b054a4
|