OSDN Git Service

pf3gnuchains/gcc-fork.git
18 years ago * fold-const.c (operand_equal_p): Don't return 1, if element
jakub [Mon, 6 Jun 2005 19:26:10 +0000 (19:26 +0000)]
* fold-const.c (operand_equal_p): Don't return 1, if element
chains for 2 VECTOR_CSTs are not the same length.

PR regression/21897
* fold-const.c (fold_ternary) <case BIT_FIELD_REF>: Don't crash if
not all VECTOR_CST elements are given.

* gcc.c-torture/execute/20050604-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100674 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * combine.c (try_combine): Use hard_regno_nregs array instead of
jakub [Mon, 6 Jun 2005 19:22:19 +0000 (19:22 +0000)]
* combine.c (try_combine): Use hard_regno_nregs array instead of
HARD_REGNO_NREGS macro.
* config/rs6000/rs6000.c (rs6000_split_multireg_move,
rs6000_register_move_cost, rs6000_memory_move_cost): Likewise.
* config/ia64/ia64.c (mark_reg_gr_used_mask): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100673 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-06-06 Daniel Berlin <dberlin@dberlin.org>
dberlin [Mon, 6 Jun 2005 18:55:59 +0000 (18:55 +0000)]
2005-06-06  Daniel Berlin  <dberlin@dberlin.org>

* tree-ssa-reassoc.o: New.
(OBJS-common): Add tree-ssa-reassoc.o
* timevar.def: Add TV_TREE_REASSOC
* tree-optimize.c (pass_reassoc): Add call.
* tree-pass.h (pass_reassoc): Add.
* tree-ssa-reassoc.c: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100671 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-06-06 Eric Christopher <echristo@redhat.com>
echristo [Mon, 6 Jun 2005 18:13:31 +0000 (18:13 +0000)]
2005-06-06  Eric Christopher  <echristo@redhat.com>

target/21927
* expr.c (do_store_flag): Remove check for non-negative BRANCH_COST.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100670 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agocp:
nathan [Mon, 6 Jun 2005 17:29:41 +0000 (17:29 +0000)]
cp:
PR 21903
* cp-tree.def (DEFAULT_ARG): Document TREE_CHAIN use.
* parser.c (cp_parser_late_parsing_default_args): Propagate parsed
argument to any early instantiations.
* pt.c (tsubst_arg_types): Chain early instantiation of default arg.
testsuite:
PR 21903
* g++.dg/parse/defarg9.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100669 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-06-06 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 6 Jun 2005 16:59:55 +0000 (16:59 +0000)]
2005-06-06  Paolo Carlini  <pcarlini@suse.de>

        Port from libstdcxx_so_7-branch:
2004-09-24  Paolo Carlini  <pcarlini@suse.de>
    Jonathan Wakely  <redi@gcc.gnu.org>

* include/bits/stl_list.h (list::list(size_type, value_type,
const allocator_type&): Implement according to the letter of the
standard, i.e., don't use two overloads, not equivalent in case
of non default constructible T.
(list::resize(size_type, const value_type&)): Fix the signature:
according to the standard the second argument is by value; also,
don't use two overloads.
* include/bits/list.tcc (list::resize(size_type, const value_type&)):
Adjust consistently the signature.
* include/bits/stl_deque.h (deque::deque(size_type, value_type,
const allocator_type&)): Likewise.
(deque::resize(size_type, const value_type&)): Likewise.
* include/bits/stl_vector.h (vector::vector(size_type, value_type,
const allocator_type&)): Likewise.
(vector::resize(size_type, const value_type&)): Likewise.
* testsuite/testsuite_hooks.h: Add NonDefaultConstructible test type.
* testsuite/23_containers/deque/explicit_instantiation/2.cc: New.
* testsuite/23_containers/list/explicit_instantiation/2.cc: New.
* testsuite/23_containers/map/explicit_instantiation/2.cc: New.
* testsuite/23_containers/multimap/explicit_instantiation/2.cc: New.
* testsuite/23_containers/multiset/explicit_instantiation/2.cc: New.
* testsuite/23_containers/set/explicit_instantiation/2.cc: New.
* testsuite/23_containers/vector/explicit_instantiation/2.cc: New.

* include/bits/deque.tcc: Minor formatting fix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100668 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/i386/x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Guard with
ro [Mon, 6 Jun 2005 14:45:29 +0000 (14:45 +0000)]
* config/i386/x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Guard with
HAVE_GAS_MAX_SKIP_P2ALIGN.
(HAVE_AS_DWARF2_DEBUG_LINE): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100665 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agocp:
nathan [Mon, 6 Jun 2005 14:18:22 +0000 (14:18 +0000)]
cp:
PR c++/20637
* cp-tree.h (add_method): Add using_decl parameter.
* class.c (add_method): Add using_decl parameter.  Adjust error
messages.
(handle_using_decl): Pass the using decl to add_method.
(clone_function_decl): Adjust add_member calls.
* decl2.c (check_classfn): Likewise.
* method.c (lazily_declare_fn): Likewise.
* semantics.c (finish_member_declaration): Likewise.

* method.c (synthesize_method): Use inform, not warning.
testsuite:
PR c++/20637
* g++.dg/inherit/using4.C: New.
* g++.dg/overload/error1.C: Adjust expected errors.
* g++.old-deja/g++.benjamin/warn02.C: Likewise.
* g++.old-deja/g++.brendan/arm2.C: Likewise.
* g++.old-deja/g++.other/redecl2.C: Likewise.
* g++.old-deja/g++.other/redecl4.C: Likewise.
* g++.old-deja/g++.pt/memtemp78.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100664 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * Makefile.in (mips-tfile.o): Add $(srcdir)/../include prefix to
ro [Mon, 6 Jun 2005 14:08:35 +0000 (14:08 +0000)]
* Makefile.in (mips-tfile.o): Add $(srcdir)/../include prefix to
getopt.h dependency.
(mips-tdump.o): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100663 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * predict.c (tree_predict_edge): Don't drop useless predictions;
hubicka [Mon, 6 Jun 2005 12:31:35 +0000 (12:31 +0000)]
* predict.c (tree_predict_edge): Don't drop useless predictions;
check that it is not called too late in the game.
(gate_estimate_probability): New gate.
(pass_profile): Gate.
* tree-mudflap.c (mf_build_check_statement_for): Do not drop
predictions; update CFG instead.
* cfgrtl.c (rtl_verify_flow_info): Check that predcitions are consumed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100662 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config-lang.in (target_libs): Remove target-gperf.
hp [Mon, 6 Jun 2005 11:25:40 +0000 (11:25 +0000)]
* config-lang.in (target_libs): Remove target-gperf.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100659 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-06-06 Peter Doerfler <doerfler@techinfo.rwth-aachen.de>
paolo [Mon, 6 Jun 2005 10:00:34 +0000 (10:00 +0000)]
2005-06-06  Peter Doerfler  <doerfler@techinfo.rwth-aachen.de>

* include/bits/stl_function.h: ... and another one.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100657 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoAdd bfin-uclinux configuration.
bernds [Mon, 6 Jun 2005 09:46:39 +0000 (09:46 +0000)]
Add bfin-uclinux configuration.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100656 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-06-06 Peter Doerfler <doerfler@techinfo.rwth-aachen.de>
paolo [Mon, 6 Jun 2005 09:21:07 +0000 (09:21 +0000)]
2005-06-06  Peter Doerfler  <doerfler@techinfo.rwth-aachen.de>

* include/bits/stl_function.h: Fix typo in comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100654 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-06-05 Anthony Green <green@redhat.com>
green [Mon, 6 Jun 2005 06:17:28 +0000 (06:17 +0000)]
2005-06-05  Anthony Green  <green@redhat.com>

        * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
        fall-through bug.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100650 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * btest-gcc.sh <Build>: Don't pass --with-newlib when target is
hp [Mon, 6 Jun 2005 05:59:07 +0000 (05:59 +0000)]
* btest-gcc.sh <Build>: Don't pass --with-newlib when target is
"*-linux*".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100649 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * btest-gcc.sh (TESTLOGS): Make libstdc++.sum optional.
hp [Mon, 6 Jun 2005 05:57:03 +0000 (05:57 +0000)]
* btest-gcc.sh (TESTLOGS): Make libstdc++.sum optional.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100648 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * doc/md.texi (Insn Splitting): Fix some wording.
bje [Mon, 6 Jun 2005 03:57:36 +0000 (03:57 +0000)]
* doc/md.texi (Insn Splitting): Fix some wording.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100647 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-06-05 David Billinghurst <David.Billinghurst@riotinto.com>
billingd [Mon, 6 Jun 2005 03:00:10 +0000 (03:00 +0000)]
2005-06-05  David Billinghurst  <David.Billinghurst@riotinto.com>

* gfortran.dg/f2c_5.f90: Add -w to dg-options

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100646 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/rs6000/rs6000.c (rs6000_emit_swdivsf): New function.
dje [Mon, 6 Jun 2005 02:32:27 +0000 (02:32 +0000)]
    * config/rs6000/rs6000.c (rs6000_emit_swdivsf): New function.
        (rs6000_emit_swdivdf): New function.
        * config/rs6000/rs6000.md (fres): New pattern.
        (divsf3): Add approximation through rs6000_emit_swdivsf.
        (fred): New pattern.
        (divdf3): Add approximation through rs6000_emit_swdivdf.
        * config/rs6000/rs6000-protos.h (rs6000_emit_swdivsf): Declare.
        (rs6000_emit_swdivdf): Declare.
        * config/rs6000/rs6000.opt (mswdiv): New option.
        * doc/invoke.texi (RS/6000 and PowerPC Options): Document mswdiv.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100645 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Mon, 6 Jun 2005 00:16:21 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100643 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-06-05 David Billinghurst <David.Billinghurst@riotinto.com>
billingd [Sun, 5 Jun 2005 23:42:19 +0000 (23:42 +0000)]
2005-06-05  David Billinghurst  <David.Billinghurst@riotinto.com>

* lib/gfortran.exp (gfortran_target_compile): Call
dg-additional-files-options
* gfortran.dg/f2c_4.f90: New file
* gfortran.dg/f2c_4.c: New file
* gfortran.dg/f2c_5.f90: New file
* gfortran.dg/f2c_5.c: New file

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100641 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-06-05 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 5 Jun 2005 21:58:52 +0000 (21:58 +0000)]
2005-06-05  Paolo Carlini  <pcarlini@suse.de>

* acinclude.m4 ([GLIBCXX_ENABLE_C99]): Check clog, clogf, clogl
too for ac_c99_complex.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100639 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * gennews (files): Update for egcs-1.0 release pages consolidation.
gerald [Sun, 5 Jun 2005 20:35:21 +0000 (20:35 +0000)]
* gennews (files): Update for egcs-1.0 release pages consolidation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100636 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * gfortran.dg/forall_1.f90: Set previously uninitialized variable.
tobi [Sun, 5 Jun 2005 18:49:22 +0000 (18:49 +0000)]
* gfortran.dg/forall_1.f90: Set previously uninitialized variable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100632 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR tree-optimization/21846
rakdver [Sun, 5 Jun 2005 18:07:43 +0000 (18:07 +0000)]
PR tree-optimization/21846
* tree-cfg.c (replace_uses_by): Update information stored at loops.
* tree-flow.h (substitute_in_loop_info): Declare.
* tree-scalar-evolution.c (initialize_scalar_evolutions_analyzer):
Ensure that chrec_dont_know and chrec_known have a type.
* tree-ssa-loop-niter.c (substitute_in_loop_info): New function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100631 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agofortran/
tobi [Sun, 5 Jun 2005 18:03:47 +0000 (18:03 +0000)]
fortran/
PR fortran/21912
* trans-array.c (gfc_trans_array_constructor_value): Slightly reorder.
Generate correct exit condition in case of negative steps in
implied-do loops.
testsuite/
PR fortran/21912
* gfortran.dg/array_constructor_4.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100630 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR c++/21619
mmitchel [Sun, 5 Jun 2005 16:33:43 +0000 (16:33 +0000)]
PR c++/21619
* cp-tree.h (DECL_IS_BUILTIN_CONSTANT_P): New macro.
* parser.c (cp_parser_postfix_expression): Allow non-constant
expressions as arguments to __builtin_constant_p.
* tree.c (builtin_valid_in_constant_expr_p): Use
DECL_IS_BUILTIN_CONSTANT_P.

PR c++/21619
* g++.dg/ext/builtin9.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100626 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoremoving
dalej [Sun, 5 Jun 2005 16:20:14 +0000 (16:20 +0000)]
removing

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100625 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoRemoving
dalej [Sun, 5 Jun 2005 16:19:58 +0000 (16:19 +0000)]
Removing

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100624 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-06-05 Dale Johannesen <dalej@apple.com>
dalej [Sun, 5 Jun 2005 16:18:12 +0000 (16:18 +0000)]
2005-06-05  Dale Johannesen  <dalej@apple.com>

* gcc.c-torture/execute/20050603-1.c:  Move to gcc.dg.
* gcc.c-torture/execute/20050603-2.c:  Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100623 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * invoke.texi: Fix description of flags required for compatibility
tobi [Sun, 5 Jun 2005 13:13:09 +0000 (13:13 +0000)]
* invoke.texi: Fix description of flags required for compatibility
with g77.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100621 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/i386/i386.c (x86_use_loop): Remove.
steven [Sun, 5 Jun 2005 10:58:34 +0000 (10:58 +0000)]
* config/i386/i386.c (x86_use_loop): Remove.
* config/i386/i386.h (x86_use_loop): Remove extern decl.
(TARGET_USE_LOOP): Remove.
* config/i386/i386.md (doloop_end, doloop_end_internal): Remove.
Also remove related define_splits.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100618 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * tree-flow.h (stmt_ann_d): Move aux to ...
dorit [Sun, 5 Jun 2005 09:54:20 +0000 (09:54 +0000)]
    * tree-flow.h (stmt_ann_d): Move aux to ...
        (tree_ann_common_d): ... here.
        * tree-ssa-loop-im.c (LIM_DATA, determine_invariantness_stmt,
        move_computations_stmt, schedule_sm): Update references to
        aux.
        * tree-vectorizer.h (set_stmt_info, vinfo_for_stmt): Likewise.
        * tree-vect-transform.c (vect_create_index_for_vector_ref): Update
        call to set_stmt_info.
        (vect_transform_loop): Likewise.
        * tree-vectorizer.c (new_loop_vec_info, destroy_loop_vec_info):
        Likewise.

        * tree-vect-analyze.c (vect_analyze_scalar_cycles): Made void instead of
        bool.
        (vect_mark_relevant): Takes two additional arguments - live_p and
        relevant_p. Set RELEVANT_P and LIVE_P according to these arguments.
        (vect_stmt_relevant_p): Differentiate between a live stmt and a
        relevant stmt. Return two values = live_p and relevant_p.
        (vect_mark_stmts_to_be_vectorized): Call vect_mark_relevant and
        vect_stmt_relevant_p with additional arguments. Phis are no longer
        put into the worklist (analyzed seperately in analyze_scalar_cycles).
        (vect_determine_vectorization_factor): Also check for LIVE_P, because a
        stmt that is marked as irrelevant and live, cause it's only used out
        side the loop, may need to be vectorized (e.g. reduction).
        (vect_analyze_operations): Examine phis. Call
        vectorizable_live_operation for for LIVE_P stmts. Check if
        need_to_vectorize.
        (vect_analyze_scalar_cycles): Update documentation. Don't fail
        vectorization - just classify the scalar cycles created by the loop
        phis. Call vect_is_simple_reduction.
        (vect_analyze_loop): Call to analyze_scalar_cycles moved earlier.
        * tree-vect-transform.c (vect_create_index_for_vector_ref): Update
        call to set_stmt_info.
        (vect_get_vec_def_for_operand): Code reorganized - the code that
        classifies the type of use was factored out to vect_is_simple_use.
        (vectorizable_store, vect_is_simple_cond): Call vect_is_simple_use with
        additional arguments.
        (vectorizable_assignment): Likewise. Also make sure the stmt is relevant
        and computes a loop_vec_def.
        (vectorizable_operation, vectorizable_load, vectorizable_condition):
        Likewise.
        (vectorizable_live_operation): New.
        (vect_transform_stmt): Handle LIVE_P stmts.
        * tree-vectorizer.c (new_stmt_vec_info): Initialize the new fields
        STMT_VINFO_LIVE_P and STMT_VINFO_DEF_TYPE.
        (new_loop_vec_info, destroy_loop_vec_info): Also handle phis.
        (vect_is_simple_use): Determine the type of the def and return it
        in a new function argument. Consider vect_reduction_def and
        vect_induction_def, but for now these are not supported.
        (vect_is_simple_reduction): New. Empty for now.
        * tree-vectorizer.h (vect_def_type): New enum type.
        (_stmt_vec_info): Added new fields - live and _stmt_vec_info.
        (STMT_VINFO_LIVE_P, STMT_VINFO_DEF_TYPE): New accessor macros.
        (vect_is_simple_use): New arguments added to function declaration.
        (vect_is_simple_reduction): New function declaration.
        (vectorizable_live_operation): New function declaration.

        * tree-vect-analyze.c (vect_can_advance_ivs_p): Add debug printout.
        (vect_can_advance_ivs_p): Likewise.
        * tree-vect-transform.c (vect_update_ivs_after_vectorizer): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100617 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-06-05 Eric Christopher <echristo@redhat.com>
echristo [Sun, 5 Jun 2005 08:12:04 +0000 (08:12 +0000)]
2005-06-05  Eric Christopher  <echristo@redhat.com>

* config/mips/mips.c (mips_rtx_costs): Remove unused variable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100613 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR target/21914
hp [Sun, 5 Jun 2005 07:54:50 +0000 (07:54 +0000)]
PR target/21914
* config/mmix/mmix.md ("*movdicc_real_foldable")
("*movdfcc_real_foldable", "*bCC_foldable")
("*bCC_inverted_foldable"): Specify DImode for register being
compared.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100612 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-06-04 Dale Johannesen <dalej@apple.com>
dalej [Sun, 5 Jun 2005 01:22:31 +0000 (01:22 +0000)]
2005-06-04  Dale Johannesen  <dalej@apple.com>

        * gcc.c-torture/execute/20050603-1.c:  New.
        * gcc.c-torture/execute/20050603-2.c:  New.
        * gcc.dg/20050603-3.c:  New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100611 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Sun, 5 Jun 2005 00:16:12 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100609 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * configure.in: Fix typo in handling of --with-mpfr-dir.
tobi [Sat, 4 Jun 2005 22:30:56 +0000 (22:30 +0000)]
* configure.in: Fix typo in handling of --with-mpfr-dir.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100605 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoAdd PR to ChangeLog
tobi [Sat, 4 Jun 2005 22:22:39 +0000 (22:22 +0000)]
Add PR to ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100604 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agofortran/
tobi [Sat, 4 Jun 2005 22:20:58 +0000 (22:20 +0000)]
fortran/
2005-06-04  Tobias Schl"uter  <tobias.schlueter@physik.uni-muenchen.de>
Erik Schnetter  <schnetter@aei.mpg.de>

PR fortran/19195
* trans.c (gfc_get_backend_locus): Remove unnecessary adjustment,
remove FIXME comment.

testsuite/
2005-06-04  Tobias Schl"uter  <tobias.schlueter@physik.uni-muenchen.de>

PR fortran/19195
* gfortran.dg/debug_1.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100603 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * reg-stack.c (struct block_info_def): Correct grammar typo.
sayle [Sat, 4 Jun 2005 22:05:35 +0000 (22:05 +0000)]
* reg-stack.c (struct block_info_def): Correct grammar typo.
(compensate_edge): Clean-up.  Perform as little work as possible
when src and dest stacks match.  Avoid modifying block_info.
Reorder and simplify assertion checks.  Avoid unnecessary copying
of regstack structure.
(convert_regs_1): Set the done flag here...
(convert_regs_2): ... instead of here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100602 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-06-04 Dale Johannesen <dalej@apple.com>
dalej [Sat, 4 Jun 2005 21:32:40 +0000 (21:32 +0000)]
2005-06-04  Dale Johannesen  <dalej@apple.com>

        * config/rs6000/rs6000.c (no_global_regs_above): New.
        (rs6000_emit_prologue):  Use it; cosmetic formatting fixes.
        (rs6000_emit_epilogue):  Use it; cosmetic formatting fixes.
        (rs6000_conditional_register_usage): Don't put Darwin PIC
        register in global_regs.
        (rs6000_stack_info):  Don't set lr_save_p just because Darwin
        PIC reg used.
        (rs6000_emit_prologue):  Save LR in R0 around Darwin PIC setup,
        if not done by lr_save_p.
        * config/rs6000/rs6000.md (insnv1_internal1):  Back out 05-18 patch.
        Use rotate instead of ashift.
        (call_indirect_nonlocal_sysv):  Prefer CTR to LR.
        (call_value_indirect_nonlocal_sysv):  Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100601 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * cgraphunit.c (cgraph_reset_node): Break out from ...
hubicka [Sat, 4 Jun 2005 20:23:13 +0000 (20:23 +0000)]
* cgraphunit.c (cgraph_reset_node): Break out from ...
(cgraph_finalize_function): ... here.
(cgraph_finalize_compilation_unit): Reset nodes where backend
removed the body.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100599 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR target/21888
rth [Sat, 4 Jun 2005 19:23:53 +0000 (19:23 +0000)]
    PR target/21888
        * config/alpha/alpha.c (alpha_align_insns): Don't insert nops
        until we've passed initial ldgp.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100596 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-06-01 Daniel Berlin <dberlin@dberlin.org>
dberlin [Sat, 4 Jun 2005 17:22:21 +0000 (17:22 +0000)]
2005-06-01  Daniel Berlin  <dberlin@dberlin.org>

* cfgexpand.c (expand_one_var): Use DECL_HAS_VALUE_EXPR_P.
* dwarf2out.c (loc_descriptor_from_tree_1): Ditto.
* expr.c (expand_var): Ditto.
* function.c (gimplify_parameters): Use SET_DECL_VALUE_EXPR too.
* gimplify.c (gimplify_decl_expr): Ditto.
(gimplify_expr): Ditto.
* tree-mudflap.c (mf_decl_eligible_p): Use DECL_HAS_VALUE_EXPR_P.
* tree.c (value_expr_for_decl): New.
(print_value_expr_statistics): New.
(init_ttree): Init value_expr_for_decl.
(decl_value_expr_lookup): New.
(decl_value_expr_insert): Ditto.
(copy_node_stat): Copy DECL_VALUE_EXPR status.
* tree.h (DECL_VALUE_EXPR): Use hashtable.
(SET_DECL_VALUE_EXPR): New.
(DECL_HAS_VALUE_EXPR_P): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100592 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * lcm.c: Move all mode-switching related functions from here...
steven [Sat, 4 Jun 2005 17:07:57 +0000 (17:07 +0000)]
* lcm.c: Move all mode-switching related functions from here...
* mode-switching.c: ...to this new file.
* doc/passes.texi: Update accordingly.

* basic-block.h (label_value_list): Remove extern decl.
* cfgrtl.c (label_value_list): Remove.
(can_delete_label_p): Don't look at it.
* cfgcleanup.c (cleanup_cfg): Don't free it.

* common.opt: Don't refer to non-existing flag_alias_check.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100591 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/rs6000/aix52.h (ASM_CPU_SPEC): Add power5.
dje [Sat, 4 Jun 2005 15:35:50 +0000 (15:35 +0000)]
* config/rs6000/aix52.h (ASM_CPU_SPEC): Add power5.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100589 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * function.c (prologue, epilogue, sibcall_epilogue): Change
kazu [Sat, 4 Jun 2005 14:02:35 +0000 (14:02 +0000)]
* function.c (prologue, epilogue, sibcall_epilogue): Change
their types to VEC(int,heap)*.
(free_after_compilation): Free the three vectors above.
(init_function_for_compilation, record_insns, contains,
prologue_epilogue_contains, sibcall_epilogue_contains,
reposition_prologue_and_epilogue_notes): Use VEC instead of
VARRAY.  (init_function_once): Remove.
* function.h: Remove the prototype for init_function_once.
* toplev.c (backend_init): Don't call init_function_once.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100588 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoUpdate copyright year.
green [Sat, 4 Jun 2005 11:39:12 +0000 (11:39 +0000)]
Update copyright year.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100585 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-06-04 Anthony Green <green@redhat.com>
green [Sat, 4 Jun 2005 11:23:29 +0000 (11:23 +0000)]
2005-06-04  Anthony Green  <green@redhat.com>

        * java/net/URLClassLoader.java: import gnu.gcj.Core,
        and gnu.java.net.protocol.core.CoreInputStream.
        (CureURLLoader): New class.
        (CoreResource): New class.
        (addURLImpl): Add special treatment for the "core" protocol.
        * gnu/gcj/natCore.cc (find): New method.
        * gnu/gcj/Core.java (find): New method.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100582 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * predict.c (tree_predict_edge): Do not predict entry edge and
hubicka [Sat, 4 Jun 2005 11:00:57 +0000 (11:00 +0000)]
* predict.c (tree_predict_edge): Do not predict entry edge and
single succestor edge.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100581 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agofortran/
tobi [Sat, 4 Jun 2005 10:35:00 +0000 (10:35 +0000)]
fortran/
* match.c (match_forall_iterator): Don't immediately give error if '='
is not followed by an expression.
testsuite/
* gfortran.dg/forall_1.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100580 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agofortran/
tobi [Sat, 4 Jun 2005 10:26:57 +0000 (10:26 +0000)]
fortran/
2005-06-03  Tobias Schl"uter  <tobias.schlueter@physik.uni-muenchen.de>
Erik Edelmann  <erik.edelmann@iki.fi>

* array.c (gfc_match_array_constructor): Disallow empty array
constructor.
testsuite/
2005-06-04  Erik Edelmann  <erik.edelmann@iki.fi>

* gfortran.dg/array_constructor_3.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100579 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago* gfortran.dg/ret_pointer_1.f90: Un-XFAIL.
tobi [Sat, 4 Jun 2005 10:10:32 +0000 (10:10 +0000)]
* gfortran.dg/ret_pointer_1.f90: Un-XFAIL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100578 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * MAINTAINERS: Update my email address.
rsandifo [Sat, 4 Jun 2005 06:23:19 +0000 (06:23 +0000)]
* MAINTAINERS: Update my email address.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100577 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-06-03 Jerry DeLisle <jvdelisle@verizon.net>
jvdelisle [Sat, 4 Jun 2005 04:31:34 +0000 (04:31 +0000)]
2005-06-03  Jerry DeLisle <jvdelisle@verizon.net>

* fortran/intrinsic.texi: Add documentation for
command_argument_count, conjg, dconjg, count,
cpu_time, cshift, date_and_time, dble, dfloat.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100575 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * g++.dg/opt/crossjump1.C: Gate -fPIC usage on target fpic.
hp [Sat, 4 Jun 2005 03:24:39 +0000 (03:24 +0000)]
* g++.dg/opt/crossjump1.C: Gate -fPIC usage on target fpic.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100574 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR c/21873
jsm28 [Sat, 4 Jun 2005 01:34:47 +0000 (01:34 +0000)]
PR c/21873
* c-typeck.c (push_init_level): Don't pop levels without braces if
implicit == 1.

testsuite:
* gcc.dg/init-excess-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100571 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Sat, 4 Jun 2005 00:16:26 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100569 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * c-parser.c (c_parser_parms_declarator): Don't use chainon().
geoffk [Sat, 4 Jun 2005 00:06:22 +0000 (00:06 +0000)]
* c-parser.c (c_parser_parms_declarator): Don't use chainon().
(c_parser_expr_list): Don't use chainon().

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100567 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-06-03 Sebastian Pop <pop@cri.ensmp.fr>
dberlin [Fri, 3 Jun 2005 23:27:03 +0000 (23:27 +0000)]
2005-06-03  Sebastian Pop  <pop@cri.ensmp.fr>

* tree-data-ref.c (compute_self_dependence): New function.
(compute_all_dependences): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100565 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR c++/21853
mmitchel [Fri, 3 Jun 2005 23:22:11 +0000 (23:22 +0000)]
PR c++/21853
* typeck.c (casts_away_constness_r): Do not drop cv-qualifiers on
the pointed-to type for a pointer-to-member.

PR c++/21853
* g++.dg/expr/static_cast6.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100560 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/darwin.h (LINK_SPEC): Pass -syslibroot to linker
geoffk [Fri, 3 Jun 2005 23:21:19 +0000 (23:21 +0000)]
* config/darwin.h (LINK_SPEC): Pass -syslibroot to linker
when -isysroot passed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100559 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR c/21879
jsm28 [Fri, 3 Jun 2005 22:25:13 +0000 (22:25 +0000)]
PR c/21879
* c-decl.c (start_function): Restore label_context_stack_se and
label_context_stack_vm  if returning with an error.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100557 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
kseitz [Fri, 3 Jun 2005 22:21:52 +0000 (22:21 +0000)]
    * gnu/classpath/jdwp/transport/TransportFactory.java: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100556 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * configure.ac: Check declaration for asprintf, needed by
gdr [Fri, 3 Jun 2005 21:13:59 +0000 (21:13 +0000)]
    * configure.ac: Check declaration for asprintf, needed by
        libiberty.h.
        * configure: Regenerate.
        * config.in: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100555 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * tree-ssa-dom.c (record_edge_info): Use last_basic_block to
dnovillo [Fri, 3 Jun 2005 21:07:11 +0000 (21:07 +0000)]
* tree-ssa-dom.c (record_edge_info): Use last_basic_block to
allocate info array.
* tree-vrp.c (extract_range_from_unary_expr): Set resulting
range to varying in cast expressions that change
TYPE_PRECISION.

testsuite/ChangeLog

* gcc.dg/tree-ssa/vrp14.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100554 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * gnu/classpath/jdwp/transport/ITransport.java: New file.
kseitz [Fri, 3 Jun 2005 20:56:09 +0000 (20:56 +0000)]
    * gnu/classpath/jdwp/transport/ITransport.java: New file.
        * gnu/classpath/jdwp/transport/SocketTransport.java: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100553 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-06-03 Eric Christopher <echristo@redhat.com>
echristo [Fri, 3 Jun 2005 19:07:39 +0000 (19:07 +0000)]
2005-06-03  Eric Christopher  <echristo@redhat.com>

* config/mips/mips.opt: Add RejectNegative to divide-breaks and
        divide-traps.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100552 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * basic-block.h (remove_predictions_associated_with_edge): Declare.
hubicka [Fri, 3 Jun 2005 19:03:29 +0000 (19:03 +0000)]
* basic-block.h (remove_predictions_associated_with_edge): Declare.
* cfg.c (remove_edge): Use it.
* predict.c (remove_predictions_associated_with_edge): New function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100551 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-06-03 Pat Haugen <pthaugen@us.ibm.com>
dje [Fri, 3 Jun 2005 17:18:04 +0000 (17:18 +0000)]
2005-06-03  Pat Haugen  <pthaugen@us.ibm.com>

        * config/rs6000/rs6000.c (rs6000_conditional_register_usage):
        Clear call_realy_used_regs[r2] when ABI_AIX.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100549 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-06-03 Paolo Carlini <pcarlini@suse.de>
paolo [Fri, 3 Jun 2005 17:07:48 +0000 (17:07 +0000)]
2005-06-03  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/21770
* include/bits/stl_deque.h: Add concept-check. In class _Deque_base
rebind _Alloc to  _Tp_alloc_type, change _Deque_impl to inherit from
the latter and add _M_get_Tp_allocator() which returns it. Use
everywhere _M_get_Tp_allocator() instead of get_allocator().
* include/bits/deque.tcc: Likewise, use _M_get_Tp_allocator().
* include/bits/stl_list.h: Add concept-check. In class _List_base
rebind _Alloc to _Tp_alloc_type and add _M_get_Tp_allocator(), which
returns the allocator (of type _Node_alloc_type) converted to
_Tp_alloc_type. Use everywhere _M_get_Tp_allocator() instead of
get_allocator().
* include/bits/list.tcc: Likewise, use _M_get_Tp_allocator().
* include/bits/stl_vector.h: Add concept-check. In class _Vector_base
rebind _Alloc to _Tp_alloc_type, change _Vector_impl to inherit from
the latter and add _M_get_Tp_allocator() which returns it. Use
everywhere _M_get_Tp_allocator() instead of get_allocator().
* include/bits/vector.tcc: Likewise, use _M_get_Tp_allocator().
* include/bits/stl_map.h: Add concept-check. Rebind _Alloc to
_Pair_alloc_type and use it for _Rb_tree.
* include/bits/stl_multimap.h: Likewise.
* include/bits/stl_multiset.h: Add concept-check. Rebind _Alloc to
_Key_alloc_type and use it for _Rb_tree.
* include/bits/stl_set.h: Likewise.
* include/bits/basic_string.h: Rebind _Alloc to _CharT_alloc_type and
use it for the allocator typedefs.
* testsuite/21_strings/basic_string/1.cc: New.
* testsuite/23_containers/deque/explicit_instantiation.cc: Move to...
* testsuite/23_containers/deque/explicit_instantiation/1.cc: ... here.
* testsuite/23_containers/deque/explicit_instantiation/3.cc: New.
* testsuite/23_containers/list/explicit_instantiation.cc: Move to...
* testsuite/23_containers/list/explicit_instantiation/1.cc: ... here.
* testsuite/23_containers/list/explicit_instantiation/3.cc: New.
* testsuite/23_containers/map/explicit_instantiation.cc: Move to...
* testsuite/23_containers/map/explicit_instantiation/1.cc: ... here.
* testsuite/23_containers/map/explicit_instantiation/3.cc: New.
* testsuite/23_containers/multimap/explicit_instantiation.cc: Move to...
* testsuite/23_containers/multimap/explicit_instantiation/1.cc: .. here.
* testsuite/23_containers/multimap/explicit_instantiation/3.cc: New.
* testsuite/23_containers/multiset/explicit_instantiation.cc: Move to...
* testsuite/23_containers/multiset/explicit_instantiation/1.cc: .. here.
* testsuite/23_containers/multiset/explicit_instantiation/3.cc: New.
* testsuite/23_containers/set/explicit_instantiation.cc: Move to...
* testsuite/23_containers/set/explicit_instantiation/1.cc: .. here.
* testsuite/23_containers/set/explicit_instantiation/3.cc: New.
* testsuite/23_containers/vector/explicit_instantiation.cc: Move to...
* testsuite/23_containers/vector/explicit_instantiation/1.cc: ... here.
* testsuite/23_containers/vector/explicit_instantiation/3.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100546 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR c++/21336
mmitchel [Fri, 3 Jun 2005 16:16:46 +0000 (16:16 +0000)]
PR c++/21336
* cp-tree.h (grok_op_properties): Remove friendp parameter.
* decl.c (grokfndecl): Adjust call.
(grok_op_properties): Determine the class of which the function is
a member by looking at its DECL_CONTEXT, not current_class_type.
* pt.c (tsubst_decl): Adjust call to grok_op_properties.

PR c++/21336
* g++.dg/template/new2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100541 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * gcc.dg/ppc-vector-memcpy.c (foo): Use non-zero values for
jconner [Fri, 3 Jun 2005 16:07:29 +0000 (16:07 +0000)]
    * gcc.dg/ppc-vector-memcpy.c (foo): Use non-zero values for
        all entries in initializer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100540 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-06-03 Richard Guenther <rguenth@gcc.gnu.org>
rguenth [Fri, 3 Jun 2005 15:15:46 +0000 (15:15 +0000)]
2005-06-03  Richard Guenther  <rguenth@gcc.gnu.org>

PR middle-end/21858
* fold-const.c (fold_binary): Fix type mismatches in folding
of comparisons.

* gcc.dg/pr21858.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100539 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * cgraph.c, cgraphunit.c, config/mips/mips.c: Fix comment
kazu [Fri, 3 Jun 2005 13:41:39 +0000 (13:41 +0000)]
* cgraph.c, cgraphunit.c, config/mips/mips.c: Fix comment
typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100538 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * collect2.c (maybe_unlink): Use unlink_if_ordinary.
jsm28 [Fri, 3 Jun 2005 10:48:06 +0000 (10:48 +0000)]
* collect2.c (maybe_unlink): Use unlink_if_ordinary.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100537 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoRevert my previous patch.
bernds [Fri, 3 Jun 2005 09:55:28 +0000 (09:55 +0000)]
Revert my previous patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100536 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-06-03 Paolo Bonzini <bonzini@gnu.org>
bonzini [Fri, 3 Jun 2005 08:09:47 +0000 (08:09 +0000)]
2005-06-03  Paolo Bonzini  <bonzini@gnu.org>

PR tree-optimization/21292

* lib/target-supports.exp (check_effective_target_vect_cmdline_needed):
New.
* gcc.dg/tree-ssa/gen-vect-11.c, gcc.dg/tree-ssa/gen-vect-11a.c,
gcc.dg/tree-ssa/gen-vect-11b.c, gcc.dg/tree-ssa/gen-vect-11c.c,
gcc.dg/tree-ssa/gen-vect-2.c, gcc.dg/tree-ssa/gen-vect-25.c,
gcc.dg/tree-ssa/gen-vect-26.c, gcc.dg/tree-ssa/gen-vect-28.c,
gcc.dg/tree-ssa/gen-vect-32.c: Require it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100535 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoFix typo in ASM_SEPC
nickc [Fri, 3 Jun 2005 08:09:26 +0000 (08:09 +0000)]
Fix typo in ASM_SEPC

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100534 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR java/21722:
tromey [Fri, 3 Jun 2005 04:06:19 +0000 (04:06 +0000)]
PR java/21722:
* class.c (build_static_field_ref): Don't fold constant fields if
current class is from a .class file and we're using indirect
dispatch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100533 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR tree-optimization/21849
kazu [Fri, 3 Jun 2005 02:55:20 +0000 (02:55 +0000)]
PR tree-optimization/21849
* tree-ssa-copy.c (dump_copy_of): Call sbitmap_zero.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100531 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * gcc.dg/sync-2.c: Use -march=i486 for i386.
rth [Fri, 3 Jun 2005 02:35:59 +0000 (02:35 +0000)]
    * gcc.dg/sync-2.c: Use -march=i486 for i386.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100530 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * Makefile.in (tree-vect-generic.o): New.
rth [Fri, 3 Jun 2005 02:11:05 +0000 (02:11 +0000)]
    * Makefile.in (tree-vect-generic.o): New.
        (OBJS-common, GTFILES, s-gtype): Add it.
        * tree-complex.c (build_replicated_const, vector_inner_type,
        vector_last_type, vector_last_nunits, build_word_mode_vector_type,
        elem_op_func, tree_vec_extract, do_unop, do_binop, do_plus_minus,
        do_negate, expand_vector_piecewise, expand_vector_parallel,
        expand_vector_addition, expand_vector_operation,
        type_for_widest_vector_mode, expand_vector_operations_1,
        gate_expand_vector_operations, expand_vector_operations,
        pass_lower_vector_ssa): Move to tree-vect-generic.c.
        (tree_lower_complex): Rename from tree_lower_operations.
        (pass_lower_complex): Rename from pass_pre_expand.
        * tree-vect-generic.c: New file.
        * tree-pass.h (pass_lower_complex): Rename from pass_pre_expand.
        (pass_lower_vector): New.
        * tree-optimize.c (init_tree_optimization_passes): Update to match.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100529 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * modulo-sched.c (doloop_register_get): Protect against
rth [Fri, 3 Jun 2005 02:00:00 +0000 (02:00 +0000)]
    * modulo-sched.c (doloop_register_get): Protect against
        doloop_end not defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100528 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago* config.sub: Add cases for the Renesas m32c. (This patch has been
dj [Fri, 3 Jun 2005 00:16:32 +0000 (00:16 +0000)]
* config.sub: Add cases for the Renesas m32c.  (This patch has been
accepted into the master sources.)

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100527 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Fri, 3 Jun 2005 00:16:23 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100525 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/sh/sh.c (general_movsrc_operand,
kazu [Thu, 2 Jun 2005 23:28:53 +0000 (23:28 +0000)]
* config/sh/sh.c (general_movsrc_operand,
general_movdst_operand, arith_reg_operand, arith_reg_dest,
logical_reg_operand, int_gpr_dest, fp_arith_reg_operand,
fp_arith_reg_dest, arith_operand, arith_reg_or_0_operand,
xor_operand, cmp_operand, logical_operand, and_operand,
fpscr_operand, fpul_operand, symbol_ref_operand,
commutative_float_operator, noncommutative_float_operator,
unary_float_operator, binary_float_operator,
binary_logical_operator, equality_comparison_operator,
greater_comparison_operator, less_comparison_operator,
shift_operator, logical_operator, target_reg_operand,
target_operand, mextr_bit_offset, extend_reg_operand,
trunc_hi_operand, extend_reg_or_0_operand, minuend_operand,
general_extend_operand, ua_address_operand,
cache_address_operand, inqhi_operand, sh_rep_vec, sh_1el_vec,
sh_const_vec, ua_offset, sh_register_operand, cmpsi_operand,
shift_count_reg_operand, shift_count_operand,
unaligned_load_operand): Move to ...
* config/sh/predicates.md: ... here.
* config/sh/sh.h (PREDICATE_CODES, SPECIAL_MODE_PREDICATES):
Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100523 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-06-03 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Thu, 2 Jun 2005 23:00:06 +0000 (23:00 +0000)]
2005-06-03  Andrew Pinski  <pinskia@physics.uc.edu>

        * trans.c (gnat_gimplify_expr): Call
        recompute_tree_invarant_for_addr_expr when we change
        the operand of the ADDR_EXPR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100522 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-06-03 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Thu, 2 Jun 2005 22:57:43 +0000 (22:57 +0000)]
2005-06-03  Andrew Pinski  <pinskia@physics.uc.edu>

        * tree.c (build_common_builtin_nodes): Fix the return type on
        __builtin_memcmp.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100520 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-06-03 Richard Guenther <rguenth@gcc.gnu.org>
rguenth [Thu, 2 Jun 2005 22:05:13 +0000 (22:05 +0000)]
2005-06-03  Richard Guenther  <rguenth@gcc.gnu.org>

* tree-ssa-loop-ivopts.c (build_addr_strip_iref): Remove.
(find_interesting_uses_address): Use build_fold_addr_expr instead.
(strip_offset_1): Likewise.
(tree_to_aff_combination): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100519 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago* convert.c (convert_to_pointer): Avoid recursion if no conversion
dj [Thu, 2 Jun 2005 22:02:59 +0000 (22:02 +0000)]
* convert.c (convert_to_pointer): Avoid recursion if no conversion
is needed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100518 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-06-02 Richard Guenther <rguenth@gcc.gnu.org>
rguenth [Thu, 2 Jun 2005 21:55:52 +0000 (21:55 +0000)]
2005-06-02  Richard Guenther  <rguenth@gcc.gnu.org>

* tree-chrec.c (chrec_fold_plus_1): Ensure we build
binary operations with the correct types.
* tree-ssa-loo-ivopts.c (idx_find_step): Use sizetype
for all computation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100517 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * tree-vrp.c, config/arm/arm.md, config/arm/arm1020e.md,
kazu [Thu, 2 Jun 2005 21:54:42 +0000 (21:54 +0000)]
* tree-vrp.c, config/arm/arm.md, config/arm/arm1020e.md,
config/rs6000/rs6000.md: Fix comment typos.  Follow splling
conventions.
* doc/install.texi: Fix a typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100516 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoIndex: ChangeLog
geoffk [Thu, 2 Jun 2005 21:45:57 +0000 (21:45 +0000)]
Index: ChangeLog
2005-05-31  Geoffrey Keating  <geoffk@geoffk.org>

* config/rs6000/rs6000.md (sync_boolcshort_internal): New.
* config/rs6000/rs6000.c (rs6000_emit_sync): Shift count must
be complemented for big-endian.  Mask for AND must be rotated,
not shifted.  Handle short operands with NOT on the memory
operation.

Index: testsuite/ChangeLog
2005-05-31  Geoffrey Keating  <geoffk@geoffk.org>

* lib/target-supports.exp
(check_effective_target_sync_char_short): New.
* gcc.dg/sync-2.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100515 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * cgraphunit.c (cgraph_function_and_variable_visibility): Extern
hubicka [Thu, 2 Jun 2005 20:33:04 +0000 (20:33 +0000)]
* cgraphunit.c (cgraph_function_and_variable_visibility): Extern
inline functions are not local.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100514 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * gimplify.c (gimplify_ctx): Change the type of case_labels to
kazu [Thu, 2 Jun 2005 20:21:54 +0000 (20:21 +0000)]
* gimplify.c (gimplify_ctx): Change the type of case_labels to
VEC from VARRAY.
(gimplify_switch_expr, gimplify_case_label_expr): Adjust uses
of case_labels.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100513 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2005-06-02 Richard Guenther <rguenth@gcc.gnu.org>
rguenth [Thu, 2 Jun 2005 20:09:01 +0000 (20:09 +0000)]
2005-06-02  Richard Guenther  <rguenth@gcc.gnu.org>

* c-typeck.c (build_indirect_ref): Build INDIRECT_REF
with correct type.

* gcc.dg/wtypequal.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100512 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * method.c (synthesize_method): Add addtional arg to warning call.
nathan [Thu, 2 Jun 2005 20:02:26 +0000 (20:02 +0000)]
* method.c (synthesize_method): Add addtional arg to warning call.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100511 138bc75d-0d04-0410-961f-82ee72b054a4