OSDN Git Service

pf3gnuchains/gcc-fork.git
15 years ago * tree-ssa-threadupdate.c (struct thread_stats_d): Declare.
dnovillo [Tue, 7 Jun 2005 21:01:14 +0000 (21:01 +0000)]
* tree-ssa-threadupdate.c (struct thread_stats_d): Declare.
(thread_stats): New local variable.
(redirect_edges): Increment count of threaded edges.
(thread_through_all_blocks): Initialize thread_stats.
Display number of threaded jumps if TDF_STATS is enabled.

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

15 years ago2005-06-07 Thomas Koenig <Thomas.Koenig@online.de>
tkoenig [Tue, 7 Jun 2005 20:46:17 +0000 (20:46 +0000)]
2005-06-07  Thomas Koenig  <Thomas.Koenig@online.de>

PR libfortran/21926
* m4/matmul.m4:  Correct zeroing of result for non-packed
arrays with lowest stride is one.
* generated/matmul_c4.c:  Regenerated.
* generated/matmul_c8.c:  Regenerated.
* generated/matmul_i4.c:  Regenerated.
* generated/matmul_i8.c:  Regenerated.
* generated/matmul_r4.c:  Regenerated.
* generated/matmul_r8.c:  Regenerated.

2005-06-07  Thomas Koenig  <Thomas.Koenig@online.de>

PR libfortran/21926
* gfortran.fortran-torture/execute/intrinsic_matmul.f90:
Test case where the return array has lowest stride one,
but isn't packed.

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

15 years ago * sbitmap.h (sbitmap_iter_init): Consistently treat bit_num as
kazu [Tue, 7 Jun 2005 20:45:08 +0000 (20:45 +0000)]
* sbitmap.h (sbitmap_iter_init): Consistently treat bit_num as
the current bit index with no modulo.

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

15 years ago * 20050423-1.c: Testcase for PR tree-optimization/20742.
spop [Tue, 7 Jun 2005 19:54:23 +0000 (19:54 +0000)]
20050423-1.c: Testcase for PR tree-optimization/20742.

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

15 years ago Fixes PR 18403 and meta PR 21861.
spop [Tue, 7 Jun 2005 19:51:25 +0000 (19:51 +0000)]
Fixes PR 18403 and meta PR 21861.
* Makefile.in (tree-chrec.o): Depend on CFGLOOP_H and TREE_FLOW_H.
* tree-chrec.c: Include cfgloop.h and tree-flow.h.
(evolution_function_is_invariant_rec_p,
evolution_function_is_invariant_p): New.
(chrec_convert): Use an extra parameter AT_STMT for refining the
information that is passed down to convert_step.  Integrate the
code that was in count_ev_in_wider_type.
* tree-chrec.h (count_ev_in_wider_type): Removed.
(chrec_convert): Modify its declaration.
(evolution_function_is_invariant_p): Declared.
(evolution_function_is_affine_p): Use evolution_function_is_invariant_p.
* tree-flow.h (can_count_iv_in_wider_type): Renamed convert_step.
(scev_probably_wraps_p): Declared.
* tree-scalar-evolution.c (count_ev_in_wider_type): Removed.
(follow_ssa_edge_in_rhs, interpret_rhs_modify_expr):
Use an extra parameter AT_STMT for refining the information that is
passed down to convert_step.
(follow_ssa_edge_inner_loop_phi, follow_ssa_edge,
analyze_scalar_evolution_1): Initialize AT_STMT with the current
analyzed statement.
(instantiate_parameters_1): Don't know yet how to initialize AT_STMT.
* tree-ssa-loop-ivopts.c (idx_find_step): Update the use of
can_count_iv_in_wider_type to use convert_step.
* tree-ssa-loop-niter.c (can_count_iv_in_wider_type_bound): Move
code that is independent of the loop over the known iteration
bounds to convert_step_widening, the rest is moved to
proved_non_wrapping_p.
(scev_probably_wraps_p): New.
(can_count_iv_in_wider_type): Renamed convert_step.
* tree-vrp.c (adjust_range_with_scev): Take an extra AT_STMT parameter.
Use scev_probably_wraps_p for computing init_is_max.
(vrp_visit_assignment): Pass the current analyzed statement to
adjust_range_with_scev.
(execute_vrp): Call estimate_numbers_of_iterations for refining the
information provided by scev analyzer.

testsuite:

* testsuite/gcc.dg/vect/vect-77.c: Remove xfail from lp64.
* testsuite/gcc.dg/vect/vect-78.c: Same.

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

15 years ago2005-06-07 Adrian Straetling <straetling@de.ibm.com>
uweigand [Tue, 7 Jun 2005 19:27:01 +0000 (19:27 +0000)]
2005-06-07  Adrian Straetling  <straetling@de.ibm.com>

* lib/target-supports.exp (check_effective_target_sync_int_long):
Add s390 and s390x targets.

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

15 years ago2005-06-07 Eric Christopher <echristo@redhat.com>
echristo [Tue, 7 Jun 2005 19:09:34 +0000 (19:09 +0000)]
2005-06-07  Eric Christopher  <echristo@redhat.com>

* config/mips/predicates.md (sleu_operand): Use
IN_RANGE to specify range of operand.

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

15 years agomissed entry
nathan [Tue, 7 Jun 2005 17:46:02 +0000 (17:46 +0000)]
missed entry
       * cp-tree.def (DEFAULT_ARG): Adjust documentation.
* cp-tree.h (DEFARG_INSTANTIATIONS): New.
(struct tree_default_arg): Add instantiations member.
* parser.c (cp_parser_late_parsing_default_args): Adjust to use a
VEC.
* pt.c (tsubst_arg_types): Likewise.

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

15 years ago PR tree-optimization/21847
steven [Tue, 7 Jun 2005 16:54:16 +0000 (16:54 +0000)]
PR tree-optimization/21847
* tree-ssa-dce.c (mark_stmt_if_obviously_necessary): With
-fnon-call-exceptions, also mark statements inherently
necessary if they may throw.

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

15 years ago2005-06-07 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 7 Jun 2005 16:52:32 +0000 (16:52 +0000)]
2005-06-07  Benjamin Kosnik  <bkoz@redhat.com>

* acinclude.m4 (GLIBCXX_ENABLE_C99): Use C++ compiler for complex
tests.
* configure: Regenerated.

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

15 years ago2005-06-07 Adrian Straetling <straetling@de.ibm.com>
uweigand [Tue, 7 Jun 2005 16:35:27 +0000 (16:35 +0000)]
2005-06-07  Adrian Straetling  <straetling@de.ibm.com>

gcc/ChangeLog:
* config/s390/s390.md: ("UNSPECV_MB", "UNSPECV_CAS"): New constants.
("type"): Add "sem" to 'type' attribute.
("memory_barrier", "*memory_barrier", "sync_compare_and_swapdi",
"sync_compare_and_swapsi", "sync_compare_and_swap_ccdi",
"sync_compare_and_swap_ccsi", "*sync_compare_and_swap_ccdi",
"*sync_compare_and_swap_ccsi"): New patterns.
* config/s390/2064.md: ("z_sem"): New insn_reservation.
* config/s390/2084.md: ("x_sem"): New insn_reservation.
* config/s390/s390.c: (s390_compare_emitted): New global variable.
(s390_emit_compare): Do not emit comparison again after cas.
* config/s390/s390.h (s390_compare_emitted): Declare.

libstdc++/ChangeLog:
* config/cpu/s390/atomicity.h: (__exchange_and_add,
__atomic_add): Use the builtins for atomic memory operations.

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

15 years ago * sbitmap.h (sbitmap_iterator, sbitmap_iter_init,
kazu [Tue, 7 Jun 2005 14:30:25 +0000 (14:30 +0000)]
* sbitmap.h (sbitmap_iterator, sbitmap_iter_init,
sbitmap_iter_cond, sbitmap_iter_next): New.
* bt-load.c, cfganal.c, combine.c, ddg.c, flow.c,
modulo-sched.c, sbitmap.c, sched-rgn.c, tree-into-ssa.c,
tree-outof-ssa.c, tree-ssa-alias.c, tree-ssa-live.c: Update
uses of EXECUTE_IF_SET_IN_SBITMAP to the new style.

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

15 years ago * tree-ssa-address.c: New file.
rakdver [Tue, 7 Jun 2005 12:01:47 +0000 (12:01 +0000)]
* tree-ssa-address.c: New file.
* Makefile.in (tree-ssa-address.o): Add.
* expr.c (expand_expr_real_1): Do not handle REF_ORIGINAL on
INDIRECT_REFs.  Handle TARGET_MEM_REFs.
* tree-eh.c (tree_could_trap_p): Handle TARGET_MEM_REFs.
* tree-flow.h (struct mem_address): New.
(struct affine_tree_combination): Moved from tree-ssa-loop-ivopts.c.
(create_mem_ref, addr_for_mem_ref, get_address_description,
maybe_fold_tmr, multiplier_allowed_in_address_p,
multiply_by_cost):  Declare.
* tree-mudflap.c (mf_xform_derefs_1): Handle TARGET_MEM_REFs.
* tree-pretty-print.c (dump_generic_node): Ditto.
* tree-ssa-loop-im.c (for_each_index): Ditto.
* tree-ssa-loop-ivopts.c (may_be_unaligned_p,
find_interesting_uses_address): Ditto.
(rewrite_address_base, build_addr_strip_iref): Removed.
(struct affine_tree_combination): Moved to tree-flow.h.
(get_ref_tag, copy_ref_info): New functions.
(rewrite_use_address): Produce TARGET_MEM_REFs.
(tree_ssa_iv_optimize): Do not call update_ssa
and rewrite_into_loop_closed_ssa.
(tree_to_aff_combination): Use build_fold_addr_expr instead of
build_addr_strip_iref.
(unshare_aff_combination): New function.
(fold_affine_sum): Removed.
(get_computation_at): Use get_computation_aff.  Unshare the result.
(get_computation_aff, multiplier_allowed_in_address_p): New function.
(multiply_by_cost): Exported.
(get_address_cost): Use multiplier_allowed_in_address_p.
* tree-ssa-operands.c (get_tmr_operands): New function.
(get_expr_operands): Handle TARGET_MEM_REFs.
* tree.c (copy_node_stat): Copy annotations for TARGET_MEM_REFs.
(build): Handle 7 arguments.
(build7_stat): New function.
* tree.def (TARGET_MEM_DEF): New.
* tree.h (REF_ORIGINAL): Removed.
(TMR_SYMBOL, TMR_BASE, TMR_INDEX, TMR_STEP, TMR_OFFSET, TMR_ORIGINAL,
TMR_TAG, build7): New macros.
(build7_stat, tree_mem_ref_addr, copy_mem_ref_info): Declare.
* tree-ssa-ccp.c (fold_stmt_r): Call maybe_fold_tmr.
* doc/c-tree.texi: Document TARGET_MEM_REF.
* doc/tree-ssa.texi: Add TARGET_MEM_REF to gimple grammar.

* gcc.dg/tree-ssa/loop-2.c: Update outcome.
* gcc.dg/tree-ssa/loop-3.c: Update outcome.
* gcc.dg/tree-ssa/loop-4.c: Update outcome.
* gcc.dg/tree-ssa/loop-9.c: New test.

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

15 years ago * cp-tree.def (DEFAULT_ARG): Adjust documentation.
nathan [Tue, 7 Jun 2005 11:56:11 +0000 (11:56 +0000)]
* cp-tree.def (DEFAULT_ARG): Adjust documentation.
* cp-tree.h (DEFARG_INSTANTIATIONS): New.
(struct tree_default_arg): Add instantiations member.
* parser.c (cp_parser_late_parsing_default_args): Adjust to use a
VEC.
* pt.c (tsubst_arg_types): Likewise.

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

15 years ago PR debug/21946
jakub [Tue, 7 Jun 2005 10:17:34 +0000 (10:17 +0000)]
PR debug/21946
* dwarf2out.c (add_loc_descr_op_piece): New function.
(multiple_reg_loc_descriptor, concat_loc_descriptor,
loc_descriptor): Use it.
* var-tracking.c: Include regs.h and expr.h.
(emit_note_insn_var_location): Skip over pieces where offset
is smaller than previous offset plus previous piece mode size.
Optimize adjacent hard registers or memory locations.
* Makefile.in (var-tracking.o): Depend on $(REGS_H) and $(EXPR_H).

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

15 years ago2005-06-07 Richard Guenther <rguenth@gcc.gnu.org>
rguenth [Tue, 7 Jun 2005 10:10:22 +0000 (10:10 +0000)]
2005-06-07  Richard Guenther  <rguenth@gcc.gnu.org>

* c-typeck.c (c_finish_if_stmt): Use void_type_node as type
for COND_EXPR.
* gimplify.c (gimplify_cond_expr): No need to fix up the
type of COND_EXPRs.

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

15 years ago2005-06-07 Richard Guenther <rguenth@gcc.gnu.org>
rguenth [Tue, 7 Jun 2005 10:05:09 +0000 (10:05 +0000)]
2005-06-07  Richard Guenther  <rguenth@gcc.gnu.org>

* tree-ssa.c (tree_ssa_useless_type_conversion_1): Fix
comments.

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

15 years ago * configure.in <cris-*, crisv32-*>: Enable target-libffi again for
hp [Tue, 7 Jun 2005 09:32:14 +0000 (09:32 +0000)]
* configure.in <cris-*, crisv32-*>: Enable target-libffi again for
*-*-linux* and *-*-elf.
* configure: Regenerate.

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

15 years agocp:
nathan [Tue, 7 Jun 2005 08:45:32 +0000 (08:45 +0000)]
cp:
* parser.c (cp_parser_late_parsing_default_args): Fix overeager
assert in previous patch.
testsuite:
* g++.dg/parse/defarg10.C: New.

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

15 years ago * config/rs6000/host-darwin.c (segv_handler): Widen the possible
geoffk [Tue, 7 Jun 2005 08:23:43 +0000 (08:23 +0000)]
* config/rs6000/host-darwin.c (segv_handler): Widen the possible
'stwux' instructions that are considered to be stack decrements.

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

15 years ago * rtlanal.c (subreg_offset_representable_p): Handle objects
geoffk [Tue, 7 Jun 2005 08:18:15 +0000 (08:18 +0000)]
* rtlanal.c (subreg_offset_representable_p): Handle objects
with holes.

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

15 years ago * btest-gcc.sh: Add support for option
hp [Tue, 7 Jun 2005 07:42:22 +0000 (07:42 +0000)]
* btest-gcc.sh: Add support for option
--add-passes-despite-regression.

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

15 years ago2005-06-07 Jerry DeLisle <jvdelisle@verizon.net>
jvdelisle [Tue, 7 Jun 2005 07:27:20 +0000 (07:27 +0000)]
2005-06-07  Jerry DeLisle <jvdelisle@verizon.net>

* ChangeLog: Fix date on last commit.

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

15 years ago2005-06-03 Jerry DeLisle <jvdelisle@verizon.net>
jvdelisle [Tue, 7 Jun 2005 06:56:58 +0000 (06:56 +0000)]
2005-06-03  Jerry DeLisle <jvdelisle@verizon.net>

* intrinsic.texi: Add documentation for dcmplx, digits,
dim, idim, ddim, dot_product, dprod, dreal, and dtime.

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

15 years ago2005-06-06 Paolo Carlini <pcarlini@suse.de>
paolo [Tue, 7 Jun 2005 02:55:06 +0000 (02:55 +0000)]
2005-06-06  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/21770 (cont: __gnu_debug::string)
* include/debug/string: Use _Base typedefs for pointer, const_pointer,
reference, const_reference, size_type, difference_type.
* testsuite/21_strings/basic_string/2.cc: New.

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

15 years ago2005-06-06 Paolo Carlini <pcarlini@suse.de>
paolo [Tue, 7 Jun 2005 02:23:44 +0000 (02:23 +0000)]
2005-06-06  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/21770 (cont: debug-mode)
* include/debug/deque: Use _Base typedefs for pointer, const_pointer,
reference, const_reference.
* include/debug/list: Likewise.
* include/debug/map.h: Likewise.
* include/debug/multimap.h: Likewise.
* include/debug/multiset.h: Likewise.
* include/debug/set.h: Likewise.
* include/debug/vector: Likewise.

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

15 years ago * mode-switching.c (optimize_mode_switching): Fix n_exprs parameter
law [Tue, 7 Jun 2005 02:12:13 +0000 (02:12 +0000)]
    * mode-switching.c (optimize_mode_switching): Fix n_exprs parameter
in call to pre_edge_lcm.

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

15 years ago * zconf.h (NO_vsnprintf): Define on Tru64 UNIX V4.0.
ro [Tue, 7 Jun 2005 01:41:16 +0000 (01:41 +0000)]
* zconf.h (NO_vsnprintf): Define on Tru64 UNIX V4.0.

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

15 years ago * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
kseitz [Tue, 7 Jun 2005 01:18:02 +0000 (01:18 +0000)]
    * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.

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

15 years ago * gnu/classpath/jdwp/util/Signature.java: New file.
kseitz [Tue, 7 Jun 2005 00:57:03 +0000 (00:57 +0000)]
    * gnu/classpath/jdwp/util/Signature.java: New file.

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

15 years agoDaily bump.
gccadmin [Tue, 7 Jun 2005 00:17:21 +0000 (00:17 +0000)]
Daily bump.

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

15 years ago * config/sh/linux-unwind.h (SH_DWARF_FRAME_XD0): Remove for SH5.
kkojima [Mon, 6 Jun 2005 23:57:25 +0000 (23:57 +0000)]
* config/sh/linux-unwind.h (SH_DWARF_FRAME_XD0): Remove for SH5.
(SH_DWARF_FRAME_PR, SH_DWARF_FRAME_GBR, SH_DWARF_FRAME_MACL)
(SH_DWARF_FRAME_MACH, SH_DWARF_FRAME_PC, SH_DWARF_FRAME_FPUL):
Likewise.
(SH_DWARF_FRAME_FP0, SH_DWARF_FRAME_FPSCR): Define to the correct
dwarf register number for SHmedia.
(shmedia_fallback_frame_state): New.
(MD_FALLBACK_FRAME_STATE_FOR): Define to it for SH5.

* config/sh/linux.h (FUNCTION_PROFILER): Provide SHMEDIA version.

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

15 years ago * configure.in (unsupported_languages): New macro.
hp [Mon, 6 Jun 2005 23:39:28 +0000 (23:39 +0000)]
* configure.in (unsupported_languages): New macro.
<mmix-knuth-mmixware>: Set unsupported_languages.  Name explicit
non-ported target libraries in noconfigdirs.
<cris-*, crisv32-*> Ditto, except for non-aout, non-elf,
non-linux-gnu.  Remove libgcj_ex_libffi.
  <lang_frag loop>: Set add_this_lang=no if the language is in
unsupported_languages.
* configure: Regenerate.

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

15 years agolibiberty/
gdr [Mon, 6 Jun 2005 21:14:31 +0000 (21:14 +0000)]
libiberty/
2005-06-06  Gabriel Dos Reis  <gdr@integrable-solutions.net>

        * libiberty.h (XOBFINISH): New.

gcc/
2005-06-06  Gabriel Dos Reis  <gdr@integrable-solutions.net>

        * c-lex.c (lex_string): Use XOBFINISH.
        * collect2.c (extract_string, dump_file): Likewise.
        * dbxout.c (dbxout_finish_complex_stabs): Likewise.
        * gcc.c (init_spec, build_search_list, convert_filename,
        set_collect_gcc_options, do_spec_2, do_spec_1, main):
        * Likewise.
        * genpreds.c (write_predicate_subfunction): Likewise.
        * genflags.c (main): Likewise.
        * read-rtl.c (mode_attr_index, apply_macro_to_string,
        join_c_conditions, read_quoted_string, read_braced_string,
        read_rtx_1): Likewise.
        * stringpool.c (ggc_alloc_string): Likewise.
        * tlink.c (obstack_fgets, recompile_files): Likewise.

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

15 years agogcc/po/
jakub [Mon, 6 Jun 2005 19:31:40 +0000 (19:31 +0000)]
gcc/po/
* exgettext: Handle gmsgid and cmsgid arguments specially,
as gcc-internal-format and c-format.  Because of xgettext
bug, invoke xgettext once with --language=c, once with
--language=GCC-source and then merge together.  Fail if
xgettext is not 0.14.5 or later.
gcc/
* intl.h (G_): New macro.
* rtl-error.c (error_for_asm, warning_for_asm): Use gmsgid
instead of msgid for argument name.
* tree-ssa.c (warn_uninit): Likewise.
* c-parser.c (c_parser_error): Likewise.
* config/rs6000/rs6000-c.c (SYNTAX_ERROR): Likewise.
* config/darwin-c.c (BAD): Likewise.
* config/c4x/c4x-c.c (BAD): Likewise.
* c-pragma.c (GCC_BAD, GCC_BAD2): Likewise.
* c-errors.c (pedwarn_c99, pedwarn_c90): Likewise.
* c-common.c (c_parse_error): Likewise.
* diagnostic.c (diagnostic_set_info, verbatim, inform, warning,
warning0, pedwarn, error, sorry, fatal_error, internal_error):
Likewise.
(fnotice): Use cmsgid instead of msgid for argument name.
* gcov.c (fnotice): Likewise.
* protoize.c (notice): Likewise.
* final.c (output_operand_lossage): Likewise.
* gcc.c (fatal, notice): Likewise.
(error): Use gmsgid instead of msgid for argument name.
* collect2.c (notice, fatal_perror, fatal): Use cmsgid instead
of msgid for argument name.
(error): Use gmsgid instead of msgid for argument name.
* c-decl.c (locate_old_decl, implicit_decl_warning): Use G_()
instead of N_().
* c-typeck.c (readonly_error, convert_for_assignment): Likewise.
* tree-inline.c (inline_forbidden_p_1): Likewise.
* ABOUT-GCC-NLS: Require gettext 0.14.5 or later.  Mention the new
conventions for marking translations.
* doc/install.texi: Mention gettext 0.14.5 or later requirement.
gcc/cp/
* error.c (locate_error): Use gmsgid instead of msgid for argument
name.
(cp_error_at, cp_warning_at, cp_pedwarn_at): Likewise.
gcc/java/
* jv-scan.c (fatal_error, warning, warning0): Use gmsgid instead of
msgid for argument name.
* gjavah.c (error): Likewise.
* java-tree.h (parse_error_context): Likewise.
* parse.y (parse_error_context, parse_warning_context,
issue_warning_error_from_context): Likewise.

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

15 years ago * tree-chrec.c (reset_evolution_in_loop): Use build3 instead of
jakub [Mon, 6 Jun 2005 19:27:55 +0000 (19:27 +0000)]
* tree-chrec.c (reset_evolution_in_loop): Use build3 instead of
build2.

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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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