OSDN Git Service

pf3gnuchains/gcc-fork.git
19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 years ago * config/s390/s390.c (s390_add_execute): Do not handle out-of-pool
uweigand [Thu, 2 Jun 2005 19:57:24 +0000 (19:57 +0000)]
* config/s390/s390.c (s390_add_execute): Do not handle out-of-pool
execute templates.
(s390_dump_pool): Likewise.
(s390_mainpool_start, s390_mainpool_finish): Likewise.
(s390_chunkify_start): Likewise.
(s390_dump_execute): Remove.
(s390_reorg): Handle out-of-pool execute templates.

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

19 years ago * configure.in: Set noconfigdirs for ms1.
aldyh [Thu, 2 Jun 2005 19:54:19 +0000 (19:54 +0000)]
    * configure.in: Set noconfigdirs for ms1.

        * configure: Regenerate.

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

19 years ago2005-06-02 Adrian Straetling <straetling@de.ibm.com>
uweigand [Thu, 2 Jun 2005 19:46:38 +0000 (19:46 +0000)]
2005-06-02  Adrian Straetling  <straetling@de.ibm.com>

* optabs.c: (expand_bool_compare_and_swap): Emit barrier after
  unconditional jump.

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

19 years ago * cgraph.c (cgraph_node): Maintain master clones.
hubicka [Thu, 2 Jun 2005 19:41:31 +0000 (19:41 +0000)]
* cgraph.c (cgraph_node): Maintain master clones.
(cgraph_remove_node): Likewise.
(availability_names): New static variable.
(dump_cgraph_node): Dump availability.
(dump_cgraph_varpool_node): Likewise.
(cgraph_is_master_clone, cgraph_master_clone,
cgraph_function_body_availability,
cgraph_variable_initializer_availability): New functions.
* cgraph.h (availability): New enum.
(struct cgraph_node): Add master_clone.
(cgraph_is_master_clone, cgraph_master_clone,
cgraph_function_body_availability,
cgraph_variable_initializer_availability): Declare.
* cgraphunit.c (cgraph_expand_function): Setcgraph_function_flags_ready.
(cgraph_remove_unreachable_nodes): Remove unreachable nodes.
* ipa-inline.c (cgraph_decide_inlining): Do not call
cgraph_remove_unreachable_nodes.

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

19 years ago * cgraphunit.c (cgraph_function_and_variable_visibility): Fix typo in
hubicka [Thu, 2 Jun 2005 18:35:59 +0000 (18:35 +0000)]
* cgraphunit.c (cgraph_function_and_variable_visibility): Fix typo in
previous patch.

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

19 years ago PR 21582
dnovillo [Thu, 2 Jun 2005 18:26:07 +0000 (18:26 +0000)]
PR 21582
* tree-vrp.c (nonnull_arg_p): New.
(get_value_range): Call it.

testsuite/ChangeLog

PR 21582
* gcc.dg/tree-ssa/pr21582.c: New test.

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

19 years ago2005-06-03 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Thu, 2 Jun 2005 18:12:47 +0000 (18:12 +0000)]
2005-06-03  Andreas Tobler  <a.tobler@schweiz.ch>

* jawt.c: Remove malloc.h, covered by stdlib.h.

* testsuite/libjava.jni/jni.exp
(gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
the build process.

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

19 years ago2005-06-02 Eric Christopher <echristo@redhat.com>
echristo [Thu, 2 Jun 2005 18:08:20 +0000 (18:08 +0000)]
2005-06-02  Eric Christopher  <echristo@redhat.com>

* config/mips/mips.h (processor_type): Remove PROCESSOR_DEFAULT,
add PROCESSOR_MAX.
(mips_rtx_cost_data): New datatype.
(MEMORY_MOVE_COST): Use data from structure.
(BRANCH_COST): Ditto.
(LOGICAL_OP_NON_SHORT_CIRCUIT): Define to zero.
* config/mips/mips.md (cpu): Rework for processor_type changes.
* config/mips/mips.c (mips_cost): New variable.
(DEFAULT_COSTS): Define.
(mips_rtx_cost_data): New.
(mips_rtx_costs): Use. Minor formatting changes. Use COSTS_N_INSNS
for NEG cost. Add support for FLOAT, UNSIGNED_FLOAT, FIX,
FLOAT_EXTEND, FLOAT_TRUNCATE, and SQRT.
(override_options): Set cost data.
(mips_register_move_cost): Formatting changes.
(bdesc_arrays): Use PROCESSOR_MAX.
(mips_init_builtins): Ditto.

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

19 years agocp:
nathan [Thu, 2 Jun 2005 17:52:28 +0000 (17:52 +0000)]
cp:
PR c++/21280
* Make-lang.in (method.o): Add diagnostic.h
* decl.c (start_preparsed_function): Use decl's location for file
info.
* decl2.c (cp_finish_file): Set input_location before synthesizing
a function.
(mark_used): When deferring a synthesized function, save current
location.  Do not set function's location when actually
synthesizing it.
* method.c: #include diagnostic.h.
(synthesize_method): Set the functions source location.  Show
needed location if errors are emitted.
testsuite:
PR c++/21280
* g++.dg/opt/interface2.h: New.
* g++.dg/opt/interface2.C: New.
* g++.dg/init/ctor4.C: Adjust error lines.
* g++.old-deja/g++.bob/inherit2.C: Likewise.
* g++.old-deja/g++.bugs/900205_04.C: Likewise.
* g++.old-deja/g++.jason/opeq3.C: Likewise.
* g++.old-deja/g++.pt/assign1.C: Likewise.
* g++.old-deja/g++.pt/crash20.C: Likewise.

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

19 years ago PR c++/21280
nathan [Thu, 2 Jun 2005 17:48:58 +0000 (17:48 +0000)]
PR c++/21280
* testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust expected errors.
* testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.

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

19 years ago * gnu/classpath/jdwp/transport/TransportException.java: New file.
kseitz [Thu, 2 Jun 2005 17:27:34 +0000 (17:27 +0000)]
    * gnu/classpath/jdwp/transport/TransportException.java: New file.

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

19 years ago PR 21765
dnovillo [Thu, 2 Jun 2005 17:13:26 +0000 (17:13 +0000)]
PR 21765
* doc/invoke.texi: Document -ftree-vrp.

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

19 years ago PR tree-optimization/21734
dorit [Thu, 2 Jun 2005 14:52:18 +0000 (14:52 +0000)]
    PR tree-optimization/21734
        * tree-vectorizer.c (slpeel_update_phis_for_duplicate_loop): Use the
        phi_result when current_def is not available.
        (slpeel_update_phi_nodes_for_guard1): Don't fail if current_def is not
        available.

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

19 years ago * config/rs6000/rs6000.c (rs6000_insn_valid_within_doloop): New.
dje [Thu, 2 Jun 2005 14:19:18 +0000 (14:19 +0000)]
* config/rs6000/rs6000.c (rs6000_insn_valid_within_doloop): New.
(TARGET_INSN_VALID_WITHIN_DOLOOP): Define.

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

19 years ago * tree-vrp.c (has_assert_expr, maybe_add_assert_expr): Remove.
dnovillo [Thu, 2 Jun 2005 12:35:25 +0000 (12:35 +0000)]
* tree-vrp.c (has_assert_expr, maybe_add_assert_expr): Remove.

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

19 years ago * cgraph.c (dump_cgraph_node): Print new flags.
hubicka [Thu, 2 Jun 2005 10:59:00 +0000 (10:59 +0000)]
* cgraph.c (dump_cgraph_node): Print new flags.
(dump_cgraph_varpool_node): Likewise.
(decide_variable_is_needed): Initialize externally_visible flag.
* cgraph.h (cgraph_local_info): Add externally_visible flag.
(cgraph_varpool_node): Likewise.
(cgraph_function_flags_ready): Declare.
* cgraph.c (cgraph_mark_local_functions): Rename to ...
(cgraph_function_and_variable_visibility) ... this one; handle
externally_visible flags.
(decide_is_function_needed): Set externally_visible flag.
(cgraph_finalize_function): Deal properly with early cleanups.
(cgraph_optimize): Update call of
cgraph_function_and_variable_visibility.

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

19 years ago> 2005-06-02 Steven Bosscher <stevenb@suse.de>
hagog [Thu, 2 Jun 2005 10:19:12 +0000 (10:19 +0000)]
> 2005-06-02 Steven Bosscher  <stevenb@suse.de>
>            Mostafa Hagog <mustafa@il.ibm.com>
>
>       * cfgloop.h (doloop_condition_get): Make external.
>       * loop-doloop.c (doloop_condition_get): Generalize to make it
>       usable in modulo-sched.c.
>       * modulo-sched.c (doloop_register_get): Use
>       doloop_condition_get instead of duplicating it.

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

19 years ago * decl.c (start_decl): Simplify specialization handling. Remove
nathan [Thu, 2 Jun 2005 09:34:38 +0000 (09:34 +0000)]
* decl.c (start_decl): Simplify specialization handling. Remove
unneeded CLASSTYPE_TEMPLATE_INSTANTIATION check.
* mangle.c (discriminator_for_local_entity): Use VEC_index.

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

19 years agocp:
nathan [Thu, 2 Jun 2005 09:09:48 +0000 (09:09 +0000)]
cp:
PR c++/20350
* decl.c (duplicate_decls): Copy all of DECL_USE_TEMPLATE.
testsuite:
PR c++/20350
* g++.dg/template/spec24.C: New.

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

19 years ago * local-alloc.c (update_equiv_regs): When substituting sole definition
bernds [Thu, 2 Jun 2005 08:55:01 +0000 (08:55 +0000)]
* local-alloc.c (update_equiv_regs): When substituting sole definition
into sole use of a reg, delete it from liveness information.

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

19 years agocp:
nathan [Thu, 2 Jun 2005 08:53:48 +0000 (08:53 +0000)]
cp:
PR c++/21151
* name-lookup.c (pushtag): Push local class even in a template.
testsuite:
PR c++/21151
* g++.dg/pch/local-1.C: New.
* g++.dg/pch/local-1.Hs: New.

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

19 years ago * reload1.c (reload): Undo 2005-04-20 change. Make sure we detect
bernds [Thu, 2 Jun 2005 08:39:06 +0000 (08:39 +0000)]
* reload1.c (reload): Undo 2005-04-20 change.  Make sure we detect
the correct set of init_insns that need deletion.

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

19 years ago2005-06-01 Jerry DeLisle <jvdelisle@verizon.net>
jvdelisle [Thu, 2 Jun 2005 06:14:25 +0000 (06:14 +0000)]
2005-06-01  Jerry DeLisle  <jvdelisle@verizon.net>

* MAINTAINERS (Write After Approval): Add self.

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

19 years ago * config/sh/sh.h (TARGET_FPU_DOUBLE): Use MASK_SH4.
kkojima [Thu, 2 Jun 2005 04:55:20 +0000 (04:55 +0000)]
* config/sh/sh.h (TARGET_FPU_DOUBLE): Use MASK_SH4.

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

19 years ago2005-06-01 Diego Novillo <dnovillo@redhat.com>
dnovillo [Thu, 2 Jun 2005 02:57:15 +0000 (02:57 +0000)]
2005-06-01  Diego Novillo  <dnovillo@redhat.com>

PR 14341, PR 21332, PR 20701, PR 21029, PR 21086, PR 21090
PR 21289, PR 21348, PR 21367, PR 21368, PR 21458.
* fold-const.c (invert_tree_comparison): Make extern.
* tree-flow.h (enum value_range_type): Move to tree-ssa-propagate.
(struct value_range_def): Limewise.
(get_value_range): Remove.
(dump_value_range): Remove.
(dump_all_value_ranges): Remove.
(debug_all_value_ranges): Remove.
(vrp_evaluate_conditional): Declare.
* tree-ssa-propagate.c (struct prop_stats_d): Add field
num_pred_folded.
(substitute_and_fold): Add argument use_ranges_p.
Update all callers.
If use_ranges_p is true, call fold_predicate_in to fold
predicates using range information.
Ignore ASSERT_EXPRs.
Change debugging output to only show statements that have been
folded.
(replace_phi_args_in): Move debugging output code from
substitute and fold.
(fold_predicate_in): New local function.
* tree-ssa-propagate.h (enum value_range_type): Move from
tree-flow.h.
(struct value_range_d): Likewise.
Add field 'equiv'.
(value_range_t): Rename from value_range.
* tree-vrp.c (found_in_subgraph): Rename from found.
(get_opposite_operand): Remove.
(struct assert_locus_d): Declare.
(assert_locus_t): Declare.
(need_assert_for): Declare.
(asserts_for): Declare.
(blocks_visited): Declare.
(vr_value): Declare.
(set_value_range): Add argument 'equiv'.
Don't drop to VARYING ranges that cover all values in the
type.
Make deep copy of equivalence set 'equiv'.
(copy_value_range): New local function.
(set_value_range_to_undefined): New local function.
(compare_values): Return -2 if either value has overflowed.
(range_includes_zero_p): New local function.
(extract_range_from_assert): Flip the predicate code if the
name being asserted is on the RHS of the predicate.
Avoid creating unnecessary symbolic ranges if the comparison
includes another name with a known numeric range.
Update the equivalnce set of the new range when asserting
EQ_EXPR predicates.
(extract_range_from_ssa_name): Update the equivalence set of
the new range with VAR.
(extract_range_from_binary_expr): Also handle TRUTH_*_EXPR.
If -fwrapv is used, set the resulting range to VARYING if the
operation overflows.  Otherwise, use TYPE_MIN_VALUE and
TYPE_MAX_VALUE to represent -INF and +INF.
Fix handling of *_DIV_EXPR.
(extract_range_from_unary_expr): Handle MINUS_EXPR and
ABS_EXPR properly by switching the range around if necessary.
(extract_range_from_comparison): New local function.
(extract_range_from_expr): Call it.
(adjust_range_with_scev): Do not adjust the range if using
wrapping arithmetic (-fwrapv).
(dump_value_range): Also show equivalence set.
Show -INF and +INF for TYPE_MIN_VALUE and TYPE_MAX_VALUE.
(build_assert_expr_for): Also build ASSERT_EXPR for EQ_EXPR.
(infer_value_range): Change return value to bool.
Add arguments 'comp_code_p' and 'val_p'.
Do not attempt to infer ranges from statements that may throw.
Store the comparison code in comp_code_p.
Store the other operand to be used in the predicate in val_p.
(dump_asserts_for): New.
(debug_asserts_for): New.
(dump_all_asserts): New.
(debug_all_asserts): New.
(register_new_assert_for): New.
(register_edge_assert_for): New.
(find_conditional_asserts): New.
(find_assert_locations): New.
(process_assert_insertions_for): New.
(process_assert_insertions): New.
(insert_range_assertions): Initialize found_in_subgraph,
blocks_visited, need_assert_for and asserts_for.
Call find_assert_locations and process_assert_insertions.
(remove_range_assertions): Add more documentation.
(vrp_initialize): Change return type to void.
Do not try to guess if running VRP is worth it.
(compare_name_with_value): New.
(compare_names): New.
(vrp_evaluate_conditional): Add argument 'use_equiv_p'.  If
use_equiv_p is true, call compare_names and
compare_name_with_value to compare all the ranges for every
name in the equivalence set of the predicate operands.
Update all callers.
(vrp_meet): Try harder not to derive a VARYING range.
If two values meet, the resulting equivalence set is the
intersection of the two equivalence sets.
(vrp_visit_phi_node): Call copy_value_range to get the current
range information of the LHS.
(vrp_finalize): Create a value vector representing all the
names that ended up with exactly one value in their range.
Call substitute_and_fold.
(execute_vrp): Document equivalence sets in ranges.
* tree.h (SSA_NAME_VALUE_RANGE): Remove.
(struct tree_ssa_name): Remove field value_range.
(invert_tree_comparison): Declare.

testsuite/ChangeLog

2005-06-01  Diego Novillo  <dnovillo@redhat.com>

PR 14341, PR 21332, PR 20701, PR 21086, PR 21090
PR 21289, PR 21348, PR 21367, PR 21368, PR 21458.
* gcc.dg/tree-ssa/pr14341.c: New test.
* gcc.dg/tree-ssa/pr14841.c: New test.
* gcc.dg/tree-ssa/pr20701.c: New test.
* gcc.dg/tree-ssa/pr21086.c: New test.
* gcc.dg/tree-ssa/pr21090.c: New test.
* gcc.dg/tree-ssa/pr21332.c: New test.
* gcc.dg/tree-ssa/pr21458.c: New test.
* gcc.dg/tree-ssa/pr21658.c: New test.
* gcc.dg/tree-ssa/vrp01.c: New test.
* gcc.dg/tree-ssa/vrp02.c: New test.
* gcc.dg/tree-ssa/vrp03.c: New test.
* gcc.dg/tree-ssa/vrp04.c: New test.
* gcc.dg/tree-ssa/vrp05.c: New test.
* gcc.dg/tree-ssa/vrp06.c: New test.
* gcc.dg/tree-ssa/vrp07.c: New test.
* gcc.dg/tree-ssa/vrp08.c: New test.
* gcc.dg/tree-ssa/vrp09.c: New test.
* gcc.dg/tree-ssa/vrp10.c: New test.
* gcc.dg/tree-ssa/vrp11.c: New test.
* gcc.dg/tree-ssa/vrp12.c: New test.
* gcc.dg/tree-ssa/vrp13.c: New test.

2005-06-01  Alexandre Oliva  <aoliva@redhat.com>

PR 21029
* gcc.dg/tree-ssa/pr21029.c: New test.

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

19 years ago2005-06-01 Daniel Berlin <dberlin@dberlin.org>
dberlin [Thu, 2 Jun 2005 02:08:02 +0000 (02:08 +0000)]
2005-06-01  Daniel Berlin  <dberlin@dberlin.org>

Fix PR tree-optimization/21839

* gimplify.c (zero_sized_field_decl): New function.
(gimplify_init_ctor_eval): Use it.

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

19 years ago * libiberty.h (vsnprintf): Add format attribute.
ghazi [Thu, 2 Jun 2005 02:01:03 +0000 (02:01 +0000)]
* libiberty.h (vsnprintf): Add format attribute.

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

19 years ago * MAINTAINERS (Write After Approval): Add self.
jconner [Thu, 2 Jun 2005 01:03:40 +0000 (01:03 +0000)]
    * MAINTAINERS (Write After Approval): Add self.

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

19 years agoDaily bump.
gccadmin [Thu, 2 Jun 2005 00:16:16 +0000 (00:16 +0000)]
Daily bump.

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

19 years ago2005-06-02 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Wed, 1 Jun 2005 23:10:17 +0000 (23:10 +0000)]
2005-06-02  Andreas Tobler  <a.tobler@schweiz.ch>

* mauve-libgcj: Remove implemented classes from the fail section.
Add two new not implemented to it.

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

19 years ago * configure.ac (BACKTRACESPEC): Remove definition, but continue to
bryce [Wed, 1 Jun 2005 22:55:07 +0000 (22:55 +0000)]
* configure.ac (BACKTRACESPEC): Remove definition, but continue to
AC_SUBST definition from configure.host.
* configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
to -fomit-frame-pointer on 32-bit x86 targets.

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

19 years ago * MAINTAINERS: Update my email address.
kazu [Wed, 1 Jun 2005 22:37:25 +0000 (22:37 +0000)]
* MAINTAINERS: Update my email address.

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

19 years ago * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
tromey [Wed, 1 Jun 2005 22:13:35 +0000 (22:13 +0000)]
* java/io/ObjectInputStream.java (currentLoader): Fixed typo.

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

19 years ago2005-06-01 Ziga Mahkovec <ziga.mahkovec@klika.si>
ziga [Wed, 1 Jun 2005 22:11:00 +0000 (22:11 +0000)]
2005-06-01  Ziga Mahkovec  <ziga.mahkovec@klika.si>

PR libgcj/20435:
* gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
(static): Add possessive matching to JAVA_1_4 syntax.
* gnu/regexp/RETokenRepeated.java (possessive): New field.
(makePossessive, isPossessive): New methods.
(match): Don't back off during possessive matching.
* gnu/regexp/RE.java (initalize): Accept possessive quantifier.
* java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
to JAVA_1_4.

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

19 years ago PR 21478
rth [Wed, 1 Jun 2005 21:34:27 +0000 (21:34 +0000)]
    PR 21478
        * gimplify.c (gimplify_init_constructor): Don't spill initializer
        to read-only memory if it's sparse.

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

19 years agoFix typo in initial commit.
kseitz [Wed, 1 Jun 2005 20:08:39 +0000 (20:08 +0000)]
Fix typo in initial commit.

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

19 years ago * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
kseitz [Wed, 1 Jun 2005 20:04:05 +0000 (20:04 +0000)]
    * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
        * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
        * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.

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

19 years ago PR libgcj/21785:
tromey [Wed, 1 Jun 2005 19:58:25 +0000 (19:58 +0000)]
PR libgcj/21785:
* java/io/natObjectInputStream.cc (currentClassLoader): Removed.
(currentLoader): New method.
* java/io/ObjectInputStream.java (resolveProxyClass): Use
currentLoader.
(currentLoader): Now native.
(currentClassLoader): Removed.
* testsuite/libjava.lang/pr21785.java: New file.
* testsuite/libjava.lang/pr21785.out: New file.

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

19 years ago * intrinsic.c (add_conv): No longer take a "simplify" argument as
sayle [Wed, 1 Jun 2005 19:17:37 +0000 (19:17 +0000)]
* intrinsic.c (add_conv): No longer take a "simplify" argument as
its always gfc_convert_constant, instead take a "standard" argument.
(add_conversions): Change all existing calls of add_conv to pass
GFC_STD_F77 as appropriate.  Additionally, if we're allowing GNU
extensions support integer-logical and logical-integer conversions.
(gfc_convert_type_warn): Warn about use the use of these conversions
as a extension when appropriate, i.e. with -pedantic.
* simplify.c (gfc_convert_constant): Add support for integer to
logical and logical to integer conversions, using gfc_int2log and
gfc_log2int.
* arith.c (gfc_log2int, gfc_int2log): New functions.
* arith.h (gfc_log2int, gfc_int2log): Prototype here.
* gfortran.texi: Document this new GNU extension.

* gfortran.dg/logint-1.f: New test case.
* gfortran.dg/logint-2.f: Likewise.
* gfortran.dg/logint-3.f: Likewise.

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

19 years ago2005-06-01 Ramana Radhakrishnan <ramana@codito.com>
sayle [Wed, 1 Jun 2005 19:11:54 +0000 (19:11 +0000)]
2005-06-01  Ramana Radhakrishnan  <ramana@codito.com>

* doc/rtl.texi: Remove references to NOTE_INSN_SETJMP.
Add documentation for REG_SETJMP

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

19 years ago2005-06-01 Richard Guenther <rguenth@gcc.gnu.org>
rguenth [Wed, 1 Jun 2005 18:51:12 +0000 (18:51 +0000)]
2005-06-01  Richard Guenther  <rguenth@gcc.gnu.org>

* stmt.c (expand_case): Use build_int_cst.
(node_has_low_bound): Likewise, and correct type mismatch.
(node_has_high_bound): Likewise.
* fold-const.c (fold_binary): Ensure we build trees
with the correct types - undo what STRIP_NOPS possibly did.

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

19 years ago2005-06-01 Richard Guenther <rguenth@gcc.gnu.org>
rguenth [Wed, 1 Jun 2005 18:43:02 +0000 (18:43 +0000)]
2005-06-01  Richard Guenther  <rguenth@gcc.gnu.org>

* tree.h (fold_indirect_ref_1): Export from fold-const.c.
* fold-const.c (fold_indirect_ref_1): No longer static.
* tree-inline.c (copy_body_r): Use fold_indirect_ref_1 for
folding, if possible.

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

19 years ago * common.opt (fjump-tables): New.
jsm28 [Wed, 1 Jun 2005 18:19:09 +0000 (18:19 +0000)]
* common.opt (fjump-tables): New.
* doc/invoke.texi (-fno-jump-tables): Document.
* stmt.c (expand_end_case_type): Do not emit jump tables unless
flag_jump_tables.

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

19 years ago PR libgcj/21753:
tromey [Wed, 1 Jun 2005 15:52:45 +0000 (15:52 +0000)]
PR libgcj/21753:
* java/lang/natString.cc (substring): Changed sharing heuristic.

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

19 years ago * arm.md (bunordered, bordered, bungt, bunlt, bunge, bunle, buneq)
rearnsha [Wed, 1 Jun 2005 14:52:16 +0000 (14:52 +0000)]
* arm.md (bunordered, bordered, bungt, bunlt, bunge, bunle, buneq)
(bltgt, arm_buneq, arm_bltgt, sunordered, sordered, sungt, sunge)
(sunlt, sunle): Enable patterns on VFP.

* arm.md (attribute 'type'): Add new types - f_loads floadd, f_stores,
f_stored, f_flag, f_cvt.
(generic_sched): No-longer used for the arm1020e and arm1022e cores.
Include arm1020e.md.
* vfp.md (fmstat): New cpu unit.  Add an exclusion set between it and
the ds and fmac pipelines.  Re-work all load and store patterns and
all conversion patterns to use new attributes.  Adjust reservation
descriptions accordingly.
* arm1020e.md: New file.
* t-arm: Add dependency.

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

19 years ago2005-06-01 Paul Thomas <pault@gcc.gnu.org>
pault [Wed, 1 Jun 2005 14:27:46 +0000 (14:27 +0000)]
2005-06-01  Paul Thomas  <pault@gcc.gnu.org>

* fortran/Changelog: Entry for this morning's patch.

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