gcc/cygwin-gcc.git
18 years agoThis commit was manufactured by cvs2svn to create tagr106029.43/tags/tree-profiling-merge-20040303
No Author [Wed, 3 Mar 2004 04:23:40 +0000 (3 04:23 +0000)]
This commit was manufactured by cvs2svn to create tag
'tree-profiling-merge-20040303'.

From-SVN: r78817

18 years ago* testsuite/gcc.dg/tree-ssa/tailrecursion-5.c: New test.
Zdenek Dvorak [Wed, 3 Mar 2004 04:23:40 +0000 (3 05:23 +0100)]
* testsuite/gcc.dg/tree-ssa/tailrecursion-5.c: New test.

From-SVN: r78816

18 years agotree-tailcall.c (struct tailcall): Remove return_block and return_bsi fields, add...
Zdenek Dvorak [Wed, 3 Mar 2004 04:23:19 +0000 (3 05:23 +0100)]
tree-tailcall.c (struct tailcall): Remove return_block and return_bsi fields, add m and a fields.

* tree-tailcall.c (struct tailcall): Remove return_block and return_bsi
fields, add m and a fields.
(m_acc, a_acc): New.
(find_tail_calls): Find tail calls on whose results simple operations
are performed.
(independent_on_stmt_p, process_assignment,
propagate_through_phis, adjust_accumulator_values,
adjust_return_value): New.
(eliminate_tail_call): Update the accumulators if needed.
(optimize_tail_call): Do not create phis.
(tree_optimize_tail_calls): Create phis and accumulators as needed.
Adjust return values.

From-SVN: r78814

18 years ago20030815-1.c: Expect 1 type cast.
Diego Novillo [Wed, 3 Mar 2004 01:05:58 +0000 (3 01:05 +0000)]
20030815-1.c: Expect 1 type cast.

* testsuite/gcc.dg/tree-ssa/20030815-1.c: Expect 1 type cast.
* 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.

From-SVN: r78810

18 years agotree-ssa-operands.c (get_expr_operands): Mark CALL_EXPRs with has_volatile_ops if...
Diego Novillo [Wed, 3 Mar 2004 00:59:48 +0000 (3 00:59 +0000)]
tree-ssa-operands.c (get_expr_operands): Mark CALL_EXPRs with has_volatile_ops if aliases haven't been computed yet.

* tree-ssa-operands.c (get_expr_operands): Mark CALL_EXPRs
with has_volatile_ops if aliases haven't been computed yet.
(add_stmt_operand): Use 'true' instead of '1'.

From-SVN: r78809

18 years agoDaily bump.
GCC Administrator [Wed, 3 Mar 2004 00:17:31 +0000 (3 00:17 +0000)]
Daily bump.

From-SVN: r78796

18 years agore PR rtl-optimization/14266 ([tree-ssa] ICE on legal, depends on .GLOBAL_VAR.)
Diego Novillo [Tue, 2 Mar 2004 19:48:50 +0000 (2 19:48 +0000)]
re PR rtl-optimization/14266 ([tree-ssa] ICE on legal, depends on .GLOBAL_VAR.)

PR optimization/14266
* 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.

From-SVN: r78774

18 years agoMerge to tree-ssa-20020619-merge-20040227.
Richard Henderson [Tue, 2 Mar 2004 18:44:48 +0000 (2 10:44 -0800)]
Merge to tree-ssa-20020619-merge-20040227.

From-SVN: r78772

18 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Tue, 2 Mar 2004 18:44:48 +0000 (2 18:44 +0000)]
This commit was manufactured by cvs2svn to create branch
'tree-ssa-20020619-branch'.

From-SVN: r78771

18 years agoMakefile.in (install-libgcc, [...]): Pass mkinstalldirs var to libgcc.mk.
Nicolas Roche [Tue, 2 Mar 2004 05:53:21 +0000 (2 06:53 +0100)]
Makefile.in (install-libgcc, [...]): Pass mkinstalldirs var to libgcc.mk.

2004-03-02  Roche Nicolas <roche@act-europe.fr>

* Makefile.in (install-libgcc, install-multilib): Pass
mkinstalldirs var to libgcc.mk.

From-SVN: r78748

18 years agopasses.texi: Add information about mudflap.
Frank Ch. Eigler [Tue, 2 Mar 2004 01:07:40 +0000 (2 01:07 +0000)]
passes.texi: Add information about mudflap.

2004-03-01  Frank Ch. Eigler  <fche@redhat.com>

* doc/passes.texi: Add information about mudflap.

From-SVN: r78735

18 years agoDaily bump.
GCC Administrator [Tue, 2 Mar 2004 00:16:21 +0000 (2 00:16 +0000)]
Daily bump.

From-SVN: r78731

18 years agore PR middle-end/13066 ([tree-ssa] ICE in in invert_truthvalue, at fold-const.c:2554)
Andrew Pinski [Mon, 1 Mar 2004 19:18:46 +0000 (1 19:18 +0000)]
re PR middle-end/13066 ([tree-ssa] ICE in in invert_truthvalue, at fold-const.c:2554)

2004-03-01  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/13066
        * fold-const (fold): Call fold_convert when building
        a TRUTH_*_EXPR tree.

From-SVN: r78714

18 years agocommon.opt: Add tree-copyrename option.
Andrew MacLeod [Mon, 1 Mar 2004 18:06:56 +0000 (1 18:06 +0000)]
common.opt: Add tree-copyrename option.

2004-03-01  Andrew MacLeod  <amacleod@redhat.com>

* common.opt : Add tree-copyrename option. Remove duplicate tree-sra.
* flags.h (flag_tree_copyrename): Declare.
* opts.c (decode_options): Turn copyrename on by default at -O.
(common_handle_option): Handle -ftree-copyrename.
* toplev.c (flag_tree_copyrename): Declare.
* tree-ssa-copyrename.c (gate_copyrename): New.  Check flag.
(pass_rename_ssa_copies): Initialize with gated routine.
(lang_independent_options f_): Add tree-copyrename.
* doc/invoke.texi: Add -fdump-tree-copyrename and  -ftree-copyrename.
* doc/passes.texi: Add blurb for copy renaming.

From-SVN: r78711

18 years agoinit.c (build_vec_delete_1): Convert 2nd argument to NE_EXPR to the proper type.
Jeff Law [Mon, 1 Mar 2004 17:50:25 +0000 (1 10:50 -0700)]
init.c (build_vec_delete_1): Convert 2nd argument to NE_EXPR to the proper type.

* init.c (build_vec_delete_1): Convert 2nd argument to NE_EXPR to
the proper type.

From-SVN: r78710

18 years agotree-ssa-dom.c (true_false_expr_hash): Update comments slightly.
Jeff Law [Mon, 1 Mar 2004 14:41:04 +0000 (1 07:41 -0700)]
tree-ssa-dom.c (true_false_expr_hash): Update comments slightly.

        * tree-ssa-dom.c (true_false_expr_hash): Update comments slightly.
        (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.

From-SVN: r78702

18 years agoMakefile.in (tree-ssa-copyrename.o): New object.
Andrew MacLeod [Mon, 1 Mar 2004 14:37:55 +0000 (1 14:37 +0000)]
Makefile.in (tree-ssa-copyrename.o): New object.

2004-03-01  Andrew MacLeod  <amacleod@redhat.com>

* Makefile.in (tree-ssa-copyrename.o): New object.
* timevar.def (TV_TREE_COPY_RENAME): New time variable.
* tree-optimize.c (init_tree_optimization_passes): Add copy rename
pass.
* tree-pass.h (pass_rename_ssa_copies): New pass structure.
* tree-sra.c (lookup_scalar): Copy DECL_ARITIFICIAL flag from base.
* tree-ssa-copyrename.c : New file.
(copy_rename_partition_coalesce): Coalesce partitions for renaming.
(rename_ssa_copies): Find renamable copies.
(pass_rename_ssa_copies): Initialize.
* tree-ssa-live.c (register_ssa_partition): Move to tree-ssa-live.h.
* tree-ssa-live.h (register_ssa_partition): Moved from tree-ssa-live.c.

From-SVN: r78701

18 years agodoloop.c (doloop_optimize): Increment n_iterations if loop->top present.
David Edelsohn [Mon, 1 Mar 2004 04:37:44 +0000 (1 04:37 +0000)]
doloop.c (doloop_optimize): Increment n_iterations if loop->top present.

        * doloop.c (doloop_optimize): Increment n_iterations if loop->top
        present.

From-SVN: r78694

18 years agoDaily bump.
GCC Administrator [Mon, 1 Mar 2004 00:16:15 +0000 (1 00:16 +0000)]
Daily bump.

From-SVN: r78687

18 years ago* gimple-low.c (pass_remove_useless_vars): Add TODO_dump_func.
Diego Novillo [Sun, 29 Feb 2004 17:26:48 +0000 (29 17:26 +0000)]
* gimple-low.c (pass_remove_useless_vars): Add TODO_dump_func.

From-SVN: r78655

18 years agoconfigure.in: Set ac_libbanshee_warn_cflags for GCC.
Andreas Jaeger [Sun, 29 Feb 2004 17:20:34 +0000 (29 18:20 +0100)]
configure.in: Set ac_libbanshee_warn_cflags for GCC.

* configure.in: Set ac_libbanshee_warn_cflags for GCC.
* configure: Regenerated.

* libcompat/Makefile.am (AM_CFLAGS): Add
ac_libbanshee_warn_cflags.
* engine/Makefile.am (AM_CFLAGS): Likewise.
* points-to/Makefile.am (AM_CFLAGS): Likewise.

* libcompat/Makefile.in: Regenerated.
* engine/Makefile.in: Regenerated.
* points-to/Makefile.in: Regenerated.
* Makefile.in: Regenerated.

From-SVN: r78654

18 years ago* libcompat/radix-tree.c: Include <stdlib.h> for calloc.
Andreas Jaeger [Sun, 29 Feb 2004 14:39:58 +0000 (29 15:39 +0100)]
* libcompat/radix-tree.c: Include <stdlib.h> for calloc.

From-SVN: r78651

18 years agoDaily bump.
GCC Administrator [Sun, 29 Feb 2004 00:16:46 +0000 (29 00:16 +0000)]
Daily bump.

From-SVN: r78643

18 years agodarwin.h (machopic_finish): Output stub even if the symbol is already defined.
Andrew Pinski [Sat, 28 Feb 2004 23:34:57 +0000 (28 23:34 +0000)]
darwin.h (machopic_finish): Output stub even if the symbol is already defined.

2004-02-28  Andrew Pinski  <pinskia@physics.uc.edu>

        * config/darwin.h (machopic_finish): Output stub even if the
        symbol is already defined.

From-SVN: r78638

18 years agomove both:
Andrew Pinski [Sat, 28 Feb 2004 23:30:58 +0000 (28 15:30 -0800)]
move both:

2004-02-27  Dale Johannesen  <dalej@apple.com>

        * config/darwin.c (machopic_output_possible_stub_label):  Remove.
        config/darwin-protos.h:  Ditto.
        config/darwin.h:  Remove call to it.

2004-02-27  Dale Johannesen  <dalej@apple.com>

        * combine.c (distribute_notes): Do not place a REG_DEAD note
        when value is both set and used.

into ChangeLog from ChangeLog.tree-ssa as they are both on the mainline also.

From-SVN: r78636

18 years agoFix test contributor's last name.
Diego Novillo [Sat, 28 Feb 2004 14:37:50 +0000 (28 09:37 -0500)]
Fix test contributor's last name.

From-SVN: r78619

18 years agodarwin.c (machopic_output_possible_stub_label): Remove.
Dale Johannesen [Sat, 28 Feb 2004 01:24:57 +0000 (28 01:24 +0000)]
darwin.c (machopic_output_possible_stub_label): Remove.

2004-02-27  Dale Johannesen  <dalej@apple.com>
        * config/darwin.c (machopic_output_possible_stub_label):  Remove.
        config/darwin-protos.h:  Ditto.
        config/darwin.h:  Remove call to it.

From-SVN: r78600

18 years agotree-cfg.c (verify_expr): Do not walk down into types.
Jeff Law [Sat, 28 Feb 2004 01:06:20 +0000 (27 18:06 -0700)]
tree-cfg.c (verify_expr): Do not walk down into types.

        * tree-cfg.c (verify_expr): Do not walk down into types.
        Expand checking to verify that unary/binary operators have
        gimple operands.
        * tree-ssa-ccp.c (ccp_fold_builtin, case BUILT_IN_STRLEN): Do not
        create non-gimple code.  Similarly for BUILTIN_IN_STRCPY and
        BUILT_IN_STRNCPY.
        * tree-ssa-phiopt.c (conditional_replacement): Do not create
        non-gimple code.
        * tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): Likewise.

        * tree-simple.c (is_gimple_min_invariant): Subtraction of a
        constant from a constant pointer is a gimple invariant as well.
        * tree-ssa-operands.c (get_expr_operands): Handle subtraction
        of a constant from a constant pointer too.

From-SVN: r78599

18 years agoDaily bump.
GCC Administrator [Sat, 28 Feb 2004 00:16:23 +0000 (28 00:16 +0000)]
Daily bump.

From-SVN: r78594

18 years agore PR middle-end/14310 ([tree-ssa] nonlocal goto savearea mode != STACK_SAVEAREA_MODE)
Richard Henderson [Fri, 27 Feb 2004 23:14:45 +0000 (27 15:14 -0800)]
re PR middle-end/14310 ([tree-ssa] nonlocal goto savearea mode != STACK_SAVEAREA_MODE)

2004-02-27  Richard Henderson  <rth@redhat.com>

        PR middle-end/14310
        * explow.c (emit_stack_save): Remove savearea mode check.

From-SVN: r78587

18 years agowarn-1.c: Update warning line.
Richard Henderson [Fri, 27 Feb 2004 22:25:53 +0000 (27 14:25 -0800)]
warn-1.c: Update warning line.

        * gcc.dg/warn-1.c: Update warning line.
        * 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.

From-SVN: r78584

18 years agobuiltins.c (simplify_builtin_strcmp): Don't export.
Richard Henderson [Fri, 27 Feb 2004 22:21:58 +0000 (27 14:21 -0800)]
builtins.c (simplify_builtin_strcmp): Don't export.

        * builtins.c (simplify_builtin_strcmp): Don't export.  Remove
        length parameters.  Remove conversion to memcmp.
        (simplify_builtin_strncmp): Likewise.
        * expr.h: Don't declare them.
        * tree-ssa-ccp.c (ccp_fold_builtin): Don't call them.

From-SVN: r78583

18 years agoFix typo in last change.
Jeff Law [Fri, 27 Feb 2004 21:50:48 +0000 (27 14:50 -0700)]
Fix typo in last change.

From-SVN: r78579

18 years agotree-cfg.c (cleanup_control_expr_graph): Prevent edge probability from overflowing...
Dale Johannesen [Fri, 27 Feb 2004 20:18:44 +0000 (27 20:18 +0000)]
tree-cfg.c (cleanup_control_expr_graph): Prevent edge probability from overflowing due to roundoff errors.

2004-02-27  Dale Johannesen  <dalej@apple.com>
        * tree-cfg.c (cleanup_control_expr_graph): Prevent edge
        probability from overflowing due to roundoff errors.

2004-02-27  Dale Johannesen  <dalej@apple.com>

        * combine.c (distribute_notes): Do not place a REG_DEAD note
        when value is both set and used.

From-SVN: r78576

18 years agofold-const.c (fold): Tighten test for optimizing an equality comparison of the addres...
Jeff Law [Fri, 27 Feb 2004 18:52:06 +0000 (27 11:52 -0700)]
fold-const.c (fold): Tighten test for optimizing an equality comparison of the address of two variables.

        * fold-const.c (fold): Tighten test for optimizing an equality
        comparison of the address of two variables.

        * tree-inline.c (setup_one_parameter): Improve test for when we
        need to gimplify the initialization statements.

From-SVN: r78573

18 years agore PR rtl-optimization/14312 ([tree-ssa] [regression] tailcalls not being generated...
Diego Novillo [Fri, 27 Feb 2004 18:39:00 +0000 (27 18:39 +0000)]
re PR rtl-optimization/14312 ([tree-ssa] [regression] tailcalls not being generated when functions contain pointers)

PR optimization/14312
* 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.

From-SVN: r78572

18 years agore PR rtl-optimization/13347 ([tree-ssa] Incorrect code generated for reinterpret_cas...
Diego Novillo [Fri, 27 Feb 2004 12:41:36 +0000 (27 12:41 +0000)]
re PR rtl-optimization/13347 ([tree-ssa] Incorrect code generated for reinterpret_cast<> of pointer-to-member)

PR optimization/13347
* tree-sra.c (scalarize_structure_assignment): Use STRIP_NOPS
instead of STRIP_USELESS_TYPE_CONVERSION to remove type casts
from RHS of the assignment.

* tree-ssa.c (tree_ssa_useless_type_conversion_1): Reformat
and rephrase comments.
* tree.h (STRIP_USELESS_TYPE_CONVERSION): Reformat comment.

From-SVN: r78564

18 years ago* gcc.c-torture/execute/20040208-2.x: New file.
Richard Sandiford [Fri, 27 Feb 2004 07:45:26 +0000 (26 23:45 -0800)]
* gcc.c-torture/execute/20040208-2.x: New file.

From-SVN: r78557

18 years agoDaily bump.
GCC Administrator [Fri, 27 Feb 2004 00:16:18 +0000 (27 00:16 +0000)]
Daily bump.

From-SVN: r78538

18 years agotree-nrv.c (tree_nrv): Only perform NRV optimization when the return value lives...
Jeff Law [Thu, 26 Feb 2004 22:39:00 +0000 (26 15:39 -0700)]
tree-nrv.c (tree_nrv): Only perform NRV optimization when the return value lives in memory.

        * tree-nrv.c (tree_nrv): Only perform NRV optimization when the
        return value lives in memory.

From-SVN: r78526

18 years agotree-cfg.c (tree_redirect_edge_and_branch_1): Allow to redirect RETURN_EXPR branches.
Zdenek Dvorak [Thu, 26 Feb 2004 19:37:04 +0000 (26 20:37 +0100)]
tree-cfg.c (tree_redirect_edge_and_branch_1): Allow to redirect RETURN_EXPR branches.

        * tree-cfg.c (tree_redirect_edge_and_branch_1): Allow to redirect
        RETURN_EXPR branches.

From-SVN: r78518

18 years agotree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): If an operand is unsigned...
Jeff Law [Thu, 26 Feb 2004 19:22:16 +0000 (26 12:22 -0700)]
tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): If an operand is unsigned...

* tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): If an
operand is unsigned, then we can eliminate more ABS expressions
and turned div/mod expression into shift/and expressions.

RCS file: /cvs/gcc/gcc/gcc/Attic/tree-ssa-dom.c,v

From-SVN: r78516

18 years agofold-const.c (fold): An equality comparison of the address of two non-weak variables...
Jeff Law [Thu, 26 Feb 2004 19:15:21 +0000 (26 12:15 -0700)]
fold-const.c (fold): An equality comparison of the address of two non-weak variables has known...

* fold-const.c (fold): An equality comparison of the address of
two non-weak variables has known compile-time result.

From-SVN: r78514

18 years agotree-ssa-phiopt.c (conditional_replacement): s/tree_dump_flags/dump_flags/.
Andrew Pinski [Thu, 26 Feb 2004 18:51:51 +0000 (26 18:51 +0000)]
tree-ssa-phiopt.c (conditional_replacement): s/tree_dump_flags/dump_flags/.

2004-02-26  Andrew Pinski  <pinskia@physics.uc.edu>

        * tree-ssa-phiopt.c (conditional_replacement):
        s/tree_dump_flags/dump_flags/.

From-SVN: r78513

18 years agotree-ssa-phiopt.c (tree_ssa_phiopt): Split into ...
Andrew Pinski [Thu, 26 Feb 2004 18:27:15 +0000 (26 18:27 +0000)]
tree-ssa-phiopt.c (tree_ssa_phiopt): Split into ...

2004-02-26  Andrew Pinski  <pinskia@physics.uc.edu>

        * tree-ssa-phiopt.c (tree_ssa_phiopt): Split into ...
        (conditional_replacement): Here.

From-SVN: r78509

18 years agotree-ssa.c (find_replaceable_in_bb): Don't repalce expressions in volatile statements.
Andrew MacLeod [Thu, 26 Feb 2004 12:59:43 +0000 (26 12:59 +0000)]
tree-ssa.c (find_replaceable_in_bb): Don't repalce expressions in volatile statements.

2004-02-26  Andrew MacLeod  <amacleod@redhat.com>

* tree-ssa.c (find_replaceable_in_bb): Don't repalce expressions in
volatile statements.

From-SVN: r78496

18 years agoNew test.
Richard Henderson [Thu, 26 Feb 2004 05:35:49 +0000 (25 21:35 -0800)]
New test.

From-SVN: r78491

18 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Thu, 26 Feb 2004 05:35:49 +0000 (26 05:35 +0000)]
This commit was manufactured by cvs2svn to create branch
'tree-ssa-20020619-branch'.

From-SVN: r78490

18 years agore PR rtl-optimization/14288 ([tree-ssa] [SRA] warning: 'SR.29591' may be used uninit...
Richard Henderson [Thu, 26 Feb 2004 05:15:59 +0000 (25 21:15 -0800)]
re PR rtl-optimization/14288 ([tree-ssa] [SRA] warning: 'SR.29591' may be used uninitialized in this function)

        PR opt/14288
        * gimplify.c (gimple_push_cleanup): Add VAR argument.  Set
        TREE_NO_WARNING if in a conditional context.
        (gimplify_target_expr): Pass new argument.
        * tree-sra.c (lookup_scalar): Copy TREE_NO_WARNING to replacement.

From-SVN: r78487

18 years agoexplow.c (force_reg): Call mark_reg_pointer as appropriate.
Richard Henderson [Thu, 26 Feb 2004 02:09:29 +0000 (25 18:09 -0800)]
explow.c (force_reg): Call mark_reg_pointer as appropriate.

        * explow.c (force_reg): Call mark_reg_pointer as appropriate.
        * config/alpha/alpha.c (alpha_emit_conditional_branch): Don't
        use (op0-op1) == 0 if op0 is a pointer.
        * config/alpha/alpha.md (cmpdi): Use some_operand.
        (three comparison combine splits): Remove.

From-SVN: r78476

18 years agore PR c/12794 ([tree-ssa] ICE with attribute __alias__)
Richard Henderson [Thu, 26 Feb 2004 01:26:49 +0000 (25 17:26 -0800)]
re PR c/12794 ([tree-ssa] ICE with attribute __alias__)

        PR c/12794
        * c-common.c (handle_alias_attribute): Reject the attribute if
        current_function_decl is set.

From-SVN: r78474

18 years agoDaily bump.
GCC Administrator [Thu, 26 Feb 2004 00:16:17 +0000 (26 00:16 +0000)]
Daily bump.

From-SVN: r78469

18 years agoinvoke.texi: Replace -fdump-tree-all-ssa with -fdump-tree-all.
Kazu Hirata [Wed, 25 Feb 2004 03:40:27 +0000 (25 03:40 +0000)]
invoke.texi: Replace -fdump-tree-all-ssa with -fdump-tree-all.

* doc/invoke.texi: Replace -fdump-tree-all-ssa with
-fdump-tree-all.

From-SVN: r78420

18 years agore PR target/14285 ([tree-ssa] current_function_needs_context is not declared)
Kazu Hirata [Wed, 25 Feb 2004 03:23:24 +0000 (25 03:23 +0000)]
re PR target/14285 ([tree-ssa] current_function_needs_context is not declared)

PR target/14285
* config/arm/arm.c (arm_compute_func_type): Replace
"current_function_needs_context" with "cfun->static_chain_decl
!= NULL".
(arm_compute_initial_elimination_offset): Likewise.
* config/h8300/h8300.c (h8300_emit_stack_adjustment):
Likewise.
* config/sh/sh.c (output_stack_adjust): Likewise.
(sh5_schedule_saves): Likewise.
* config/xtensa/xtensa.c (compute_frame_size): Likewise.

From-SVN: r78419

18 years agoc-simplify.c (c_genericize): s/dump_flags/local_dump_flags/.
Richard Henderson [Wed, 25 Feb 2004 03:22:47 +0000 (24 19:22 -0800)]
c-simplify.c (c_genericize): s/dump_flags/local_dump_flags/.

        * c-simplify.c (c_genericize): s/dump_flags/local_dump_flags/.
        * predict.c, tree-alias-ander.c, tree-cfg.c, tree-nrv.c,
        tree-optimize.c, tree-pass.h, tree-sra.c, tree-ssa-alias.c,
        tree-ssa-ccp.c, tree-ssa-copy.c, tree-ssa-dce.c, tree-ssa-dom.c,
        tree-ssa-dse.c, tree-ssa-forwprop.c, tree-ssa-loop.c,
        tree-ssa-phiopt.c, tree-ssa-pre.c, tree-ssa.c, tree-tailcall.c:
        s/tree_dump_flags/dump_flags/.

From-SVN: r78418

18 years agoDaily bump.
GCC Administrator [Wed, 25 Feb 2004 00:16:18 +0000 (25 00:16 +0000)]
Daily bump.

From-SVN: r78406

18 years agopredict.c, [...]: s/tree_dump_file/dump_file/g.
Richard Henderson [Wed, 25 Feb 2004 00:13:11 +0000 (24 16:13 -0800)]
predict.c, [...]: s/tree_dump_file/dump_file/g.

        * predict.c, tree-alias-ander.c, tree-cfg.c, tree-mudflap.c,
        tree-nrv.c, tree-optimize.c, tree-pass.h, tree-profile.c, tree-sra.c,
        tree-ssa-alias.c, tree-ssa-ccp.c, tree-ssa-copy.c, tree-ssa-dce.c,
        tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-forwprop.c, tree-ssa-loop.c,
        tree-ssa-operands.c, tree-ssa-phiopt.c, tree-ssa-pre.c, tree-ssa.c,
        tree-tailcall.c: s/tree_dump_file/dump_file/g.

From-SVN: r78402

18 years agotoplev.c (dump_file_tbl): Rename from dump_file.
Richard Henderson [Tue, 24 Feb 2004 23:55:31 +0000 (24 15:55 -0800)]
toplev.c (dump_file_tbl): Rename from dump_file.

        * toplev.c (dump_file_tbl): Rename from dump_file.
        * bb-reorder.c, bt-load.c, cfgcleanup.c, cfglayout.c, cfgloopanal.c,
        cfgloopmanip.c, cfgrtl.c, config/arm/arm.c, config/frv/frv.c,
        config/i386/i386.c, config/ia64/ia64.c, config/mips/mips.c,
        config/sh/sh.c, cse.c, flow.c, ifcvt.c, loop-iv.c, loop-unroll.c,
        loop-unswitch.c, output.h, predict.c, profile.c, ra-build.c,
        ra-colorize.c, ra-debug.c, ra-rewrite.c, ra.c, regrename.c, reload1.c,
        toplev.c, tracer.c, value-prof.c, var-tracking.c, web.c:
        s/rtl_dump_file/dump_file/g.

From-SVN: r78401

18 years ago* doc/tree-ssa.texi: Fix formatting mark ups.
Diego Novillo [Tue, 24 Feb 2004 21:23:28 +0000 (24 21:23 +0000)]
* doc/tree-ssa.texi: Fix formatting mark ups.

From-SVN: r78389

18 years agogimple-low.c (remove_useless_vars): Now static.
Jeff Law [Tue, 24 Feb 2004 21:09:26 +0000 (24 14:09 -0700)]
gimple-low.c (remove_useless_vars): Now static.

* gimple-low.c (remove_useless_vars): Now static.
(pass_remove_useless_vars): New.
* tree-flow.h (remove_useless_vars): Remove prototype.
* tree-nrv.c (struct nrv_data): Remove visited hashtable.
(finalize_nrv_r): Do not descend into types. No need to update
the visited hashtable.
(tree_nrv): No need to allocate/free the visited hashtable.
Clear the used flag on the variable's annotation.
* tree-optimize.c (init_tree_optimizatio_passes): Link in
pass_remove_useless_vars.
* tree-pass.h (pass_remove_useless_vars): Declare.
* tree-ssa.c (rewrite_out_of_ssa): Do not remove useless vars here.

From-SVN: r78386

18 years agore PR c++/13944 (exception in constructor of a class to be thrown is not caught)
Jason Merrill [Tue, 24 Feb 2004 18:30:19 +0000 (24 13:30 -0500)]
re PR c++/13944 (exception in constructor of a class to be thrown is not caught)

        PR c++/13944
        * except.c (do_free_exception): Remove #if 0 wrapper.
        (build_throw): Use it if we elide a copy into the exception object.

        * tree.c (stabilize_call): Fix thinko.

From-SVN: r78377

18 years agoMakefile.in (OBJS-common): Add tree-nrv.o.
Jeff Law [Tue, 24 Feb 2004 16:30:46 +0000 (24 09:30 -0700)]
Makefile.in (OBJS-common): Add tree-nrv.o.

        * Makefile.in (OBJS-common): Add tree-nrv.o.
        (tree-nrv.o): Add dependencies.
        * timevar.def (TV_TREE_NRV): New timevar.
        * tree-nrv.c: New file implementing NRV on generic trees.
        * tree-optimize.c (init_tree_optimization_passes): Link in
        tree_nrv optimization pass.
        * tree-pass.h (tree_nrv): Declare.
        * doc/invoke.texi: Add -fdump-tree-nrv documentation.

From-SVN: r78372

18 years agotree-flow.h (walk_use_def_chains_fn): Return a boolean.
Sebastian Pop [Tue, 24 Feb 2004 15:26:29 +0000 (24 16:26 +0100)]
tree-flow.h (walk_use_def_chains_fn): Return a boolean.

        * tree-flow.h (walk_use_def_chains_fn): Return a boolean.
        True for stopping the use-def walk, false otherwise.
        * tree-ssa-alias.c (collect_points_to_info_r): Same.
        Always return false, and never stopping the def-use walk as before.
        * tree-ssa.c (walk_use_def_chains_1): Stop when the result of the
        callback function is true.

        * doc/tree-ssa.texi: Document the behavior of the callback
        function for walk_use_def_chains.

From-SVN: r78365

18 years ago* doc/passes.texi: Rewrite.
Richard Henderson [Tue, 24 Feb 2004 10:45:59 +0000 (24 02:45 -0800)]
* doc/passes.texi: Rewrite.

From-SVN: r78362

18 years agoMakefile.in (STRICT2_WARN): Add -Wno-variadic-macros.
Richard Henderson [Tue, 24 Feb 2004 09:25:38 +0000 (24 01:25 -0800)]
Makefile.in (STRICT2_WARN): Add -Wno-variadic-macros.

        * Makefile.in (STRICT2_WARN): Add -Wno-variadic-macros.
        * tree.c (build0, build1, build2, build3, build4): Split out from...
        (build): ... here.  Call them.
        * tree.h (build, _buildN1, _buildN2, _buildC1, _buildC2): New.
        * convert.c (convert_to_integer): Remove extra build argument.
ada/
        * misc.c (record_code_position): Add third build arg for RTL_EXPR.
java/
        * parse.y (switch_label): Use make_node for DEFAULT_EXPR.
        * java-gimplify.c (java_gimplify_new_array_init): Remove extra
        argument building BLOCK.
fortran/
        * trans-array.c (gfc_trans_dummy_array_bias): Fix typo.

From-SVN: r78359

18 years agoggc-page.c (struct page_entry): New field PREV.
Jeff Law [Tue, 24 Feb 2004 03:57:51 +0000 (23 20:57 -0700)]
ggc-page.c (struct page_entry): New field PREV.

* ggc-page.c (struct page_entry): New field PREV.
(ggc_alloc): Update PREV field appropriately.
(sweep_pages): Likewise.
(ggc_free): Likewise.  Use PREV field rather than loop to
improve ggc_free performance.

From-SVN: r78352

18 years agoMakefile.in (TEXI_GCCINT_FILES): Add cfg.texi and tree-ssa.texi
Diego Novillo [Tue, 24 Feb 2004 00:25:20 +0000 (24 00:25 +0000)]
Makefile.in (TEXI_GCCINT_FILES): Add cfg.texi and tree-ssa.texi

* Makefile.in (TEXI_GCCINT_FILES): Add cfg.texi and tree-ssa.texi
* tree-ssa-alias.c (compute_may_aliases): Update documentation.
* doc/gccint.texi: Add node for Tree SSA documentation.
Include tree-ssa.texi.
* doc/tree-ssa.texi: New file.

From-SVN: r78345

18 years agoDaily bump.
GCC Administrator [Tue, 24 Feb 2004 00:16:17 +0000 (24 00:16 +0000)]
Daily bump.

From-SVN: r78341

18 years agoconfig/rs6000/rs6000.c (function_arg): call to rs6000_mixed_function_arg for...
Fariborz Jahanian [Mon, 23 Feb 2004 23:16:54 +0000 (23 23:16 +0000)]
config/rs6000/rs6000.c (function_arg): call to rs6000_mixed_function_arg for...

config/rs6000/rs6000.c (function_arg): call to
rs6000_mixed_function_arg for DFmode moved to allow
normal DFmode incoming register assignment.
OKed by David Edehlson.

From-SVN: r78335

18 years agors6000.md: Roll in changes from mainline:
Dale Johannesen [Mon, 23 Feb 2004 23:07:23 +0000 (23 23:07 +0000)]
rs6000.md: Roll in changes from mainline:

2004-02-23  Dale Johannesen <dalej@apple.com>

        * config/rs6000/rs6000.md:  Roll in changes from mainline:
        (movdf_softfloat64):  Add POWER form of nop.
        (movsf_hardfloat): Ditto, and accept CTR-to-CTR copy.
        (movdf_hardfloat64):  Ditto.

From-SVN: r78334

18 years agoMakefile.in (OBJC-common): Add tree-ssa-copy.o.
Jeff Law [Mon, 23 Feb 2004 18:14:02 +0000 (23 11:14 -0700)]
Makefile.in (OBJC-common): Add tree-ssa-copy.o.

        * Makefile.in (OBJC-common): Add tree-ssa-copy.o.
        (tree-ssa-copy.o): Add dependencies.
        * tree-flow.h (propagate_value, replace_exp): Prototype.
        (cprop_into_stmt, cprop_into_successor_phis): Likewise.
        * tree-ssa-copy.c: New file, most functions copied from tree-ssa-dom.c
        (cprop_into_stmt): Handle pointer & reference types better.
        * tree-ssa-dom.c (opt_stats_d): Kill uninteresting stats.
        (dump_dominator_optimization_stats): Corresponding changes.
        (cprop_into_stmt): Moved into tree-ssa-copy.c.
        (propagate_value): Likewise.
        (cprop_into_phis): Simplify using code fromi tree-ssa-copy.c.
        (optimize_stmt): Pass additional argument to cprop_into_stmt.
        * tree-ssa-pre.c (generate_expr_as_of_bb): Use replace_exp.
        (generate_vops_as_of_bb): Similarly.

From-SVN: r78321

18 years agoDaily bump.
GCC Administrator [Mon, 23 Feb 2004 00:16:15 +0000 (23 00:16 +0000)]
Daily bump.

From-SVN: r78285

18 years agoDaily bump.
GCC Administrator [Sun, 22 Feb 2004 00:16:18 +0000 (22 00:16 +0000)]
Daily bump.

From-SVN: r78247

18 years agocgraphunit.c (decide_is_function_needed): Nested functions of extern inline functions...
Jan Hubicka [Sat, 21 Feb 2004 22:03:35 +0000 (21 23:03 +0100)]
cgraphunit.c (decide_is_function_needed): Nested functions of extern inline functions don't need to be output.

* cgraphunit.c (decide_is_function_needed): Nested functions of extern
inline functions don't need to be output.
(expand_function): Re-enable sanity check.

From-SVN: r78237

18 years agotree-ssa-loop.c (do_while_loop_p): New function.
Zdenek Dvorak [Sat, 21 Feb 2004 16:45:20 +0000 (21 17:45 +0100)]
tree-ssa-loop.c (do_while_loop_p): New function.

* tree-ssa-loop.c (do_while_loop_p): New function.
(copy_loop_headers): Do not peel do-while loops.

From-SVN: r78229

18 years agotree-cfg.c (cleanup_control_expr_graph): Update profile.
Jan Hubicka [Sat, 21 Feb 2004 15:37:21 +0000 (21 16:37 +0100)]
tree-cfg.c (cleanup_control_expr_graph): Update profile.

* tree-cfg.c (cleanup_control_expr_graph): Update profile.

* tree-cfg.c (disband_implicit_edges): Set fallthru edges correctly.

* cfg.c (dump_flow_info): Work on trees too.

* tree-pretty-print.c (dump_generic_bb_stuff):  Do not touch bb
annotations when not allocated.

From-SVN: r78227

18 years agotree-ssa-dom.c (cprop_into_stmt): Look at the type's main variant to determine if...
Jeff Law [Sat, 21 Feb 2004 15:32:46 +0000 (21 08:32 -0700)]
tree-ssa-dom.c (cprop_into_stmt): Look at the type's main variant to determine if...

        * tree-ssa-dom.c (cprop_into_stmt): Look at the type's main variant
        to determine if the two operands of a copy have equivalent types.

From-SVN: r78226

18 years agotree-flow-inline.h (may_propagate_copy): Do not perform ABNORMAL_PHI and DECL_HARD_RE...
Jeff Law [Sat, 21 Feb 2004 06:28:18 +0000 (20 23:28 -0700)]
tree-flow-inline.h (may_propagate_copy): Do not perform ABNORMAL_PHI and DECL_HARD_REGISTER tests on virtual operands.

* tree-flow-inline.h (may_propagate_copy): Do not perform ABNORMAL_PHI
and DECL_HARD_REGISTER tests on virtual operands.
* tree-flow.h (propagate_copy): Kill prototype.
(propagate_value): New prototype.
* tree-ssa-dom.c (propagate_copy): Now static.
(propagate_value): No longer static.

From-SVN: r78210

18 years agoDaily bump.
GCC Administrator [Sat, 21 Feb 2004 00:16:21 +0000 (21 00:16 +0000)]
Daily bump.

From-SVN: r78199

18 years agore PR middle-end/14218 ([tree-ssa] Failure of gcc.c-torture/execute/920501-5.c)
Richard Henderson [Fri, 20 Feb 2004 18:57:02 +0000 (20 10:57 -0800)]
re PR middle-end/14218 ([tree-ssa] Failure of gcc.c-torture/execute/920501-5.c)

        PR middle-end/14218
        * c-simplify.c (mark_labels_r): Move to ...
        * gimplify.c (force_labels_r): ... here, and rename.
        (gimplify_init_constructor): Invoke it.
        * tree-simple.h (force_labels_r): Declare.

From-SVN: r78183

18 years agoMark pr last change.
Richard Henderson [Fri, 20 Feb 2004 18:52:09 +0000 (20 10:52 -0800)]
Mark pr last change.

From-SVN: r78182

18 years agotree-ssa-ccp.c (substitute_and_fold): Also mark new vars if fold_stmt was successful.
Richard Henderson [Fri, 20 Feb 2004 18:51:27 +0000 (20 10:51 -0800)]
tree-ssa-ccp.c (substitute_and_fold): Also mark new vars if fold_stmt was successful.

        * tree-ssa-ccp.c (substitute_and_fold): Also mark new vars
        if fold_stmt was successful.

From-SVN: r78181

18 years agoinvoke.texi: Add documentation for parameters global-var-threshold and max-aliased...
Diego Novillo [Fri, 20 Feb 2004 15:58:31 +0000 (20 15:58 +0000)]
invoke.texi: Add documentation for parameters global-var-threshold and max-aliased-vops.

* doc/invoke.texi: Add documentation for parameters
global-var-threshold and max-aliased-vops.
* params.def (PARAM_GLOBAL_VAR_THRESHOLD): Reformat help message.
(PARAM_MAX_ALIASED_VOPS): Rename from PARAM_MAX_ALIAS_SET_SIZE.
* params.h (MAX_ALIASED_VOPS): Rename from MAX_ALIAS_SET_SIZE.
Update all users.
* tree-ssa-alias.c (struct alias_map_d): Document fields.
Add fields total_alias_vops, grouped_p and may_aliases.
(struct alias_info): Change fields addressable_vars and
pointers to malloc'd arrays.  Update all users.
Add fields num_references and total_alias_vops.
(compute_may_aliases): Add more comments.
(init_alias_info): Initialize new fields in struct alias_info.
(delete_alias_info): Corresponding changes.
(compute_points_to_and_addr_escape): Count references to
potentially aliased variables and pointer dereferences.
(compute_flow_insensitive_aliasing): Remove old grouping
heuristic.
Count the number of virtual operands induced by all the alias
sets created and call group_aliases if the number exceeds the
threshold set by --param max-aliased-vops.
(total_alias_vops_cmp): New.
(group_aliases_into): New.
(group_aliases): New.
* tree-ssa-operands.c (get_expr_operands): Change dump file
message when no flow-sensitive alias information is available.
(add_stmt_operand): Reformat comment.
* tree-ssa.c (init_tree_ssa): Don't call bitmap_clear.

* tree-simple.c (get_base_decl): Fix typo in comment.

* tree-pretty-print.c (print_call_name): Handle matrices of
function pointers.

From-SVN: r78170

18 years agoMakefile.in (tree-ssa-loop.o): Add tree-inline.h dependency.
Zdenek Dvorak [Fri, 20 Feb 2004 12:46:03 +0000 (20 13:46 +0100)]
Makefile.in (tree-ssa-loop.o): Add tree-inline.h dependency.

* Makefile.in (tree-ssa-loop.o): Add tree-inline.h dependency.
* 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.

From-SVN: r78165

18 years agoDaily bump.
GCC Administrator [Fri, 20 Feb 2004 00:16:14 +0000 (20 00:16 +0000)]
Daily bump.

From-SVN: r78138

18 years agoc-opts.c (warn_variadic_macros): New.
Richard Henderson [Thu, 19 Feb 2004 22:47:25 +0000 (19 14:47 -0800)]
c-opts.c (warn_variadic_macros): New.

        * c-opts.c (warn_variadic_macros): New.
        (c_common_handle_option): Set it.
        (sanitize_cpp_opts): Copy it to cpp_opts.
        * c.opt (Wvariadic-macros): New.
        * cpplib.h (struct cpp_options): Add warn_variadic_macros.
        * cppinit.c (cpp_create_reader): Initialize it.
        * cppmacro.c (parse_params): Check it.

From-SVN: r78128

18 years agoForgot to commit.
Jeff Law [Thu, 19 Feb 2004 19:48:41 +0000 (19 12:48 -0700)]
Forgot to commit.

From-SVN: r78118

18 years agoaix.h (MFWRAP_SPEC): Define.
David Edelsohn [Thu, 19 Feb 2004 17:56:29 +0000 (19 17:56 +0000)]
aix.h (MFWRAP_SPEC): Define.

2004-02-19  David Edelsohn  <edelsohn@gnu.org>

        * config/rs6000/aix.h (MFWRAP_SPEC): Define.
        (MFLIB_SPEC): Define.

From-SVN: r78112

18 years agotree-cfg.c (cleanup_dead_labels): New function to remove redundant labels.
Steven Bosscher [Thu, 19 Feb 2004 17:10:37 +0000 (19 17:10 +0000)]
tree-cfg.c (cleanup_dead_labels): New function to remove redundant labels.

* tree-cfg.c (cleanup_dead_labels): New function to remove
redundant labels.
Patch from Steven.

From-SVN: r78108

18 years ago* gcc.c-torture/compile/20040219-1.c: New test.
Jeff Law [Thu, 19 Feb 2004 17:03:49 +0000 (19 10:03 -0700)]
* gcc.c-torture/compile/20040219-1.c: New test.

From-SVN: r78107

18 years agotree-ssa-phiopt.c (tree_ssa_phiopt): TRUTH_NOT_EXPR is valid gimple code.
Jeff Law [Thu, 19 Feb 2004 17:01:50 +0000 (19 10:01 -0700)]
tree-ssa-phiopt.c (tree_ssa_phiopt): TRUTH_NOT_EXPR is valid gimple code.

* tree-ssa-phiopt.c (tree_ssa_phiopt): TRUTH_NOT_EXPR is valid
gimple code.

From-SVN: r78105

18 years agofold-const.c (invert_truthvalue): Do not call invert_tree_comparison for unordered...
Jeff Law [Thu, 19 Feb 2004 17:00:39 +0000 (19 10:00 -0700)]
fold-const.c (invert_truthvalue): Do not call invert_tree_comparison for unordered comparison codes.

        * fold-const.c (invert_truthvalue): Do not call invert_tree_comparison
        for unordered comparison codes.

From-SVN: r78104

18 years agoRemove the RTL inliner.
Steven Bosscher [Thu, 19 Feb 2004 09:05:47 +0000 (19 09:05 +0000)]
Remove the RTL inliner.

* calls.c (try_to_integrate): Remove.
(expand_call): Do not try to expand calls inline.
* dbxout.c (dbxout_symbol_location): Don't mention integrate.c
in comments.
* expmed.c (extract_fixed_bit_field): Always propagate the
target for the shift if it is a REG.
* expr.c (emit_move_insn_1): Don't generate inline warnings.
(expand_expr_real_1): Don't look at inline_function_decl.
Don't output inlined functions here.
* expr.h (expand_inline_function): Remove prototype.
* emit-rtl.c (copy_most_rtx): Don't copy the integrated flag.
Copy the new return_val flag.
* final.c (final): Don't look at RTX_INTEGRATED_P.
* cfgrtl.c (create_basic_block_structure): Likewise.
* haifa-sched.c (priority): Likewise.
(restore_line_notes): Likewise.
* function.c (inline_function_decl): Remove.
(put_var_into_stack): Don't use it.
(fix_lexical_addr): Likewise.
* function.c (inline_function_decl): Remove extern declaration.
* genattrtab.c (ATTR_PERMANENT_P): Use the return_val flag
instead of the integrated flag.
* integrate.c (INTEGRATE_THRESHOLD): Remove.
(setup_initial_hard_reg_value_integration): Likewise.
(initialize_for_inline): Likewise.
(note_modified_parmregs): Likewise.
(integrate_parm_decls): Likewise.
(process_reg_param): Likewise.
(save_parm_insns): Likewise.
(copy_insn_list): Likewise.
(copy_insn_notes): Likewise.
(compare_blocks): Likewise.
(find_block): Likewise.
(inlining): Likewise.
(function_cannot_inline_p): Likewise.
(parmdecl_map): Likewise.
(in_nonparam_insns): Likewise.
(save_for_inline): Likewise.
(FIXED_BASE_PLUS): Likewise.
(expand_inline_function): Likewise.
(copy_rtx_and_substitute): Don't look at map->integrating,
map->inline_target, and inlining, since we are never copying
for integrating.
Don't abort on RTX_INTEGRATED_P.
(old_fun): Remove.
(output_inline_function): Remove.
* integrate.h (struct inline_map): Remove fields integrating,
block_map, leaf_reg_map, inline_target, and local_return_label.
* print-rtl.c (print_rtx): Don't print the integrated flag.
Print the return_val flag.
* rtl.h (struct rtx_def): Replace the integrated flag with the
return_val flag.
(RTX_INTEGRATED_P): Remove.
(notice_rtl_inlining_of_deferred_constant): Remove prototype.
* stmt.c (force_label_rtx): Don't look at inline_function_decl.
* toplev.c (rest_of_handle_inlining): Remove.
(rest_of_compilation): Don't call it, and never jump to exit.
Call convert_from_eh_region_ranges.
(wrapup_global_declarations): Don't output nested inlined functions.
* tree.h (function_cannot_inline_p): Remove prototype.
(save_for_inline): Ditto.
(output_inline_function): Ditto.
* unroll.c (unroll_loop): Don't clear map->inline_target.
* varasm.c (notice_rtl_inlining_of_deferred_constant): Remove.

* system.h: Poison INTEGRATE_THRESHOLD.
* config/avr/avr.h: Remove define.
* config/ip2k/ip2k.h: Likewise.

* unwind-sjlj.c (uw_install_context): Make a proper static inline
function.

cp/
* decl.c (poplevel): Don't output nested inline functions.

java/
* decl.c (poplevel): Don't output nested inline functions.

doc/
* rtl.texi: Remove references to the integrated flag.
* tm.texi: Remove documentation of INTEGRATE_THRESHOLD.

From-SVN: r78088

18 years agoMake-lang.in ($(srcdir)/fortran/gfortran.info): Move...
Loren J. Rittle [Thu, 19 Feb 2004 08:19:56 +0000 (19 08:19 +0000)]
Make-lang.in ($(srcdir)/fortran/gfortran.info): Move...

* Make-lang.in ($(srcdir)/fortran/gfortran.info): Move...
(fortran/gfortran.info): ... to here.
(f95.srcinfo): New.

From-SVN: r78086

18 years agoDaily bump.
GCC Administrator [Thu, 19 Feb 2004 00:16:14 +0000 (19 00:16 +0000)]
Daily bump.

From-SVN: r78065

18 years agoDaily bump.
GCC Administrator [Wed, 18 Feb 2004 00:16:15 +0000 (18 00:16 +0000)]
Daily bump.

From-SVN: r78004

18 years agofix formatting.
Andrew Macleod [Tue, 17 Feb 2004 21:02:03 +0000 (17 21:02 +0000)]
fix formatting.

mVS: ----------------------------------------------------------------------

From-SVN: r77982

18 years agotree-ssa-live.c (coalesce_tpa_members): Don't coalesce partitions which are not in...
Andrew MacLeod [Tue, 17 Feb 2004 20:59:52 +0000 (17 20:59 +0000)]
tree-ssa-live.c (coalesce_tpa_members): Don't coalesce partitions which are not in the same TPA group.

2004-02-17  Andrew Macleod  <amacleod@redhat.com>

* tree-ssa-live.c (coalesce_tpa_members):  Don't coalesce partitions
which are not in the same TPA group.
* tree-ssa.c (rewrite_out_of_ssa):  Coalesce via list first.

From-SVN: r77981

18 years ago* cfghooks.c (split_edge): Speed up updating of dominators.
Zdenek Dvorak [Tue, 17 Feb 2004 19:52:28 +0000 (17 20:52 +0100)]
* cfghooks.c (split_edge): Speed up updating of dominators.

From-SVN: r77974

18 years agoMAINTAINERS: Add myself to write-after-approval.
Brian Booth [Tue, 17 Feb 2004 18:10:10 +0000 (17 18:10 +0000)]
MAINTAINERS: Add myself to write-after-approval.

2004-02-17  Brian Booth  <bbooth@redhat.com>

        * MAINTAINERS: Add myself to write-after-approval.

        * MAINTAINERS.tree-ssa: Add self to write after approval.

From-SVN: r77967