OSDN Git Service

pf3gnuchains/gcc-fork.git
14 years agoRevert commit of PR c++/42634, which was commit r155868
dodji [Fri, 15 Jan 2010 11:23:29 +0000 (11:23 +0000)]
Revert commit of PR c++/42634, which was commit r155868

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

14 years ago2010-01-15 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 15 Jan 2010 10:34:24 +0000 (10:34 +0000)]
2010-01-15  Richard Guenther  <rguenther@suse.de>

* tree-ssa-loop-im.c (gen_lsm_tmp_name): Fix bogus fallthru.

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

14 years ago2010-01-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Fri, 15 Jan 2010 02:06:23 +0000 (02:06 +0000)]
2010-01-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>

PR fortran/42684
* gfortran.dg/interface_31.f90: New test.

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

14 years ago2010-01-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Fri, 15 Jan 2010 01:47:43 +0000 (01:47 +0000)]
2010-01-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>

PR fortran/42684
* interface.c (check_interface1): Pass symbol name rather than NULL to
gfc_compare_interfaces. (gfc_compare_interfaces): Add assert to
trap MULL.
* resolve.c (check_generic_tbp_ambiguity): Pass symbol name rather
than NULL to gfc_compare_interfaces.

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

14 years agoDaily bump.
gccadmin [Fri, 15 Jan 2010 00:19:26 +0000 (00:19 +0000)]
Daily bump.

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

14 years agoFix 42747, make -mvsx enable sqrt
meissner [Thu, 14 Jan 2010 22:52:02 +0000 (22:52 +0000)]
Fix 42747, make -mvsx enable sqrt

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

14 years ago PR middle-end/42674
jakub [Thu, 14 Jan 2010 22:43:56 +0000 (22:43 +0000)]
PR middle-end/42674
* c-decl.c (finish_function): Don't emit -Wreturn-type warnings in
functions with noreturn attribute.

* decl.c (finish_function): Don't emit -Wreturn-type warnings in
functions with noreturn attribute.

* c-c++-common/pr42674.c: New test.

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

14 years ago PR c++/42608
jakub [Thu, 14 Jan 2010 22:41:02 +0000 (22:41 +0000)]
PR c++/42608
* varasm.c (declare_weak): Add weak attribute to decl if it
doesn't have one already.
(assemble_external): Only add decls to weak_decls if they also
have weak attribute.

* g++.dg/template/instantiate11.C: New test.

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

14 years ago * var-tracking.c (var_reg_delete): Don't delete the association
jakub [Thu, 14 Jan 2010 22:39:25 +0000 (22:39 +0000)]
* var-tracking.c (var_reg_delete): Don't delete the association
between REGs and values or one-part variables if the register
isn't clobbered.

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

14 years ago PR debug/42657
jakub [Thu, 14 Jan 2010 22:38:29 +0000 (22:38 +0000)]
PR debug/42657
* tree-inline.c (copy_debug_stmt): Don't reset debug stmt just
because its first operand is a non-localized variable.

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

14 years ago PR c++/42701
jason [Thu, 14 Jan 2010 22:32:24 +0000 (22:32 +0000)]
PR c++/42701
* call.c (build_new_method_call): Don't free the vec here.

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

14 years ago PR c++/42655
jason [Thu, 14 Jan 2010 20:21:58 +0000 (20:21 +0000)]
PR c++/42655
* call.c (convert_like_real): Do full decay_conversion for ck_rvalue.

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

14 years ago2010-01-14 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Thu, 14 Jan 2010 18:15:37 +0000 (18:15 +0000)]
2010-01-14  Paolo Carlini  <paolo.carlini@oracle.com>

* include/c_std/cstring (memchr): Forward to the builtin.
* include/c_std/cstring: Remove redundant casts; use names consistent
with the letter of the Standard.
* include/c_global/cstring: Likewise.

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

14 years ago2010-01-14 Martin Jambor <mjambor@suse.cz>
jamborm [Thu, 14 Jan 2010 18:00:34 +0000 (18:00 +0000)]
2010-01-14  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/42706
* tree-sra.c (encountered_recursive_call): New variable.
(encountered_unchangable_recursive_call): Likewise.
(sra_initialize): Initialize both new variables.
(callsite_has_enough_arguments_p): New function.
(scan_function): Call decl and flags check only for IPA-SRA, check
whether there is a recursive call and whether it has enough arguments.
(all_callers_have_enough_arguments_p): New function.
(convert_callers): Look for recursive calls only when
encountered_recursive_call is set.
(ipa_early_sra): Bail out either if
!all_callers_have_enough_arguments_p or
encountered_unchangable_recursive_call.

* testsuite/gcc.dg/ipa/pr42706.c: New testcase.

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

14 years agoUse __SIZE_TYPE__ to define size_t.
hjl [Thu, 14 Jan 2010 14:45:47 +0000 (14:45 +0000)]
Use __SIZE_TYPE__ to define size_t.

2010-01-14  H.J. Lu  <hongjiu.lu@intel.com>

* g++.dg/graphite/pr42681.C (size_t): Use __SIZE_TYPE__.

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

14 years ago2010-01-14 Alexander Monakov <amonakov@ispras.ru>
amonakov [Thu, 14 Jan 2010 13:50:09 +0000 (13:50 +0000)]
2010-01-14  Alexander Monakov  <amonakov@ispras.ru>

* sel-sched.c: Add 2010 to copyright years.
* sel-sched-ir.c: Likewise.
* sel-sched-ir.h: Likewise.

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

14 years ago2010-01-14 Martin Jambor <mjambor@suse.cz>
jamborm [Thu, 14 Jan 2010 13:29:44 +0000 (13:29 +0000)]
2010-01-14  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/42714
* tree-sra.c (sra_ipa_modify_assign): Handle incompatible-type
constructors specially.

* gcc/testsuite/g++.dg/torture/pr42714.C: New test.

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

14 years ago2010-01-14 Andi Kleen <ak@linux.intel.com>
uros [Thu, 14 Jan 2010 12:48:09 +0000 (12:48 +0000)]
2010-01-14  Andi Kleen  <ak@linux.intel.com>

* config/i386/drivers-i386.c (detect_caches_intel):
Add l2sizekb parameter and fill in.
(host_detect_local_cpu): Add l2sizekb, fill in.
Add Atom small cache heuristic.

2010-01-14  Andi Kleen  <ak@linux.intel.com>

* config/i386/drivers-i386.c (detect_caches_cpuid4):
Add level3 parameter and fill in.
(detect_caches_intel): Handle level3 cache.

2010-01-14  Andi Kleen  <ak@linux.intel.com>

* config/i386/drivers-i386.c (host_detect_local_cpu):
Fix core duo detection.

2010-01-14  Andi Kleen  <ak@linux.intel.com>

* config/i386/drivers-i386.c (host_detect_local_cpu):
Fix Atom detection.

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

14 years ago2010-01-14 Alexander Monakov <amonakov@ispras.ru>
amonakov [Thu, 14 Jan 2010 11:27:11 +0000 (11:27 +0000)]
2010-01-14  Alexander Monakov  <amonakov@ispras.ru>

* config/rs6000/rs6000.c (rs6000_variable_issue): Rename to...
(rs6000_variable_issue_1): this.  Use...
(rs6000_variable_issue): here.  Reimplement.  Print debug info.

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

14 years ago2010-01-14 Alexander Monakov <amonakov@ispras.ru>
amonakov [Thu, 14 Jan 2010 11:25:25 +0000 (11:25 +0000)]
2010-01-14  Alexander Monakov  <amonakov@ispras.ru>

* sel-sched-ir.c (sel_restore_other_notes): Rename to sel_restore_notes.
Update all callers.  Call reemit_notes for all insns.

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

14 years ago PR rtl-optimization/42246
abel [Thu, 14 Jan 2010 11:22:20 +0000 (11:22 +0000)]
    PR rtl-optimization/42246
        * sel-sched-ir.h (get_all_loop_exits): Include exits from inner
        loops.

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

14 years ago * sel-sched.c (compute_av_set_at_bb_end): Do not test that number of
abel [Thu, 14 Jan 2010 11:19:25 +0000 (11:19 +0000)]
    * sel-sched.c (compute_av_set_at_bb_end): Do not test that number of
        all successors is the same as number of successors in current region.

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

14 years ago2010-01-14 Alexander Monakov <amonakov@ispras.ru>
amonakov [Thu, 14 Jan 2010 11:16:02 +0000 (11:16 +0000)]
2010-01-14  Alexander Monakov  <amonakov@ispras.ru>

* sel-sched.c (maybe_emit_renaming_copy): Exit early when expression
to rename is not separable.  Otherwise check that its LHS is not NULL.

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

14 years ago2010-01-14 Alexander Monakov <amonakov@ispras.ru>
amonakov [Thu, 14 Jan 2010 11:15:07 +0000 (11:15 +0000)]
2010-01-14  Alexander Monakov  <amonakov@ispras.ru>

* sel-sched.c (choose_best_reg_1):  Loop over all regs for mode.

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

14 years ago2010-01-14 Alexander Monakov <amonakov@ispras.ru>
amonakov [Thu, 14 Jan 2010 11:13:36 +0000 (11:13 +0000)]
2010-01-14  Alexander Monakov  <amonakov@ispras.ru>

* sel-sched.c (mark_unavailable_hard_regs): Do not try to search
available registers when failed to discover LHS register class.
Fix indentation.  Update comment.

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

14 years ago PR rtl-optimization/42389
abel [Thu, 14 Jan 2010 11:07:39 +0000 (11:07 +0000)]
    PR rtl-optimization/42389
        * sel-sched.c (advance_one_cycle): Set FENCE_ISSUE_MORE
        to can_issue_more.
        (advance_state_on_fence): Likewise.
        (sel_target_adjust_priority): Print debug output only when
        sched_verbose >= 4, not 2.
        (get_expr_cost): Do not issue all unique insns on the next cycle.
        (fill_insns): Initialize can_issue_more from the value saved
        with the fence.
        * sel-sched-ir.c (flist_add): New parameter issue_more.
        Init FENCE_ISSUE_MORE with it.
        (merge_fences): Likewise.
        (init_fences): Update call to flist_add.
        (add_to_fences, add_clean_fence_to_fences)
        (add_dirty_fence_to_fences): Likewise.
        (move_fence_to_fences): Update call to merge_fences.
        (invoke_reorder_hooks): Do not reset can_issue_more on insns from
        sched groups.
        * sel-sched-ir.h (struct _fence): New field issue_more.
        (FENCE_ISSUE_MORE): New accessor macro.

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

14 years ago PR rtl-optimization/42388
abel [Thu, 14 Jan 2010 11:02:18 +0000 (11:02 +0000)]
    PR rtl-optimization/42388
        * sel-sched-ir.c (maybe_tidy_empty_bb): Do not delete empty blocks
        that have no predecessors nor successors.  Do not call move_bb_info
        for empty blocks outside of current region.

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

14 years ago2010-01-14 Alexander Monakov <amonakov@ispras.ru>
amonakov [Thu, 14 Jan 2010 10:46:57 +0000 (10:46 +0000)]
2010-01-14  Alexander Monakov  <amonakov@ispras.ru>

PR rtl-optimization/42294
* sel-sched-ir.h (struct _sel_insn_data): Update comment.
* sel-sched.c (move_exprs_to_boundary): Transitively add all
originators' originators.

* gfortran.dg/pr42294.f: New.

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

14 years ago2010-01-14 Alexander Monakov <amonakov@ispras.ru>
amonakov [Thu, 14 Jan 2010 10:40:19 +0000 (10:40 +0000)]
2010-01-14  Alexander Monakov  <amonakov@ispras.ru>

PR rtl-optimization/39453
PR rtl-optimization/42246
* sel-sched-ir.c (considered_for_pipelining_p): Do not test
for pipelining_p.
(sel_add_loop_preheaders): Add preheader to last_added_blocks.

* gcc.dg/pr39453.c: New.
* gcc.dg/pr42246.c: New.

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

14 years agoAdd tests missing from previous commit.
amonakov [Thu, 14 Jan 2010 10:38:14 +0000 (10:38 +0000)]
Add tests missing from previous commit.

PR middle-end/42245
* gcc.dg/pr42245.c: New.
* gcc.dg/pr42245-2.c: New.

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

14 years ago2010-01-14 Andrey Belevantsev <abel@ispras.ru>
amonakov [Thu, 14 Jan 2010 10:28:47 +0000 (10:28 +0000)]
2010-01-14  Andrey Belevantsev  <abel@ispras.ru>
    Alexander Monakov  <amonakov@ispras.ru>

PR middle-end/42245
* sel-sched-ir.c (sel_recompute_toporder): New.  Use it...
(maybe_tidy_empty_bb): ... here.  Make static.  Add new
argument.  Update all callers.
(tidy_control_flow): ... and here.  Recompute topological order
of basic blocks in region if necessary.
(sel_redirect_edge_and_branch): Change return type.  Return true
if topological order might have been invalidated.
(purge_empty_blocks): Export and move from...
* sel-sched.c (purge_empty_blocks): ... here.
* sel-sched-ir.h (sel_redirect_edge_and_branch): Update prototype.
        (maybe_tidy_empty_bb): Delete prototype.
(purge_empty_blocks): Declare.

* gcc.dg/pr42245.c: New.
* gcc.dg/pr42245-2.c: New.

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

14 years ago PR rtl-optimization/42294
abel [Thu, 14 Jan 2010 10:16:01 +0000 (10:16 +0000)]
    PR rtl-optimization/42294
        * sel-sched.c (try_replace_dest_reg): When chosen register
        and original register is the same, do not bail out early, but
        still check all original insns for validity of replacing destination
        register.  Set EXPR_TARGET_AVAILABLE to 1 before leaving function
        in this case.

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

14 years ago PR c/42721
jakub [Thu, 14 Jan 2010 09:47:09 +0000 (09:47 +0000)]
PR c/42721
Port from no-undefined-overflow branch
2009-03-09  Richard Guenther  <rguenther@suse.de>

* fold-const.c (add_double_with_sign): Fix unsigned overflow
detection.

* gcc.c-torture/execute/pr42721.c: New test.

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

14 years ago2010-01-14 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 14 Jan 2010 09:38:56 +0000 (09:38 +0000)]
2010-01-14  Richard Guenther  <rguenther@suse.de>

PR lto/42665
* gimple.c (iterative_hash_gimple_type): Avoid hashing
error_mark_node.

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

14 years agoFix PR42681.
spop [Thu, 14 Jan 2010 08:37:26 +0000 (08:37 +0000)]
Fix PR42681.

2010-01-14  Sebastian Pop  <sebastian.pop@amd.com>

PR middle-end/42681
* graphite-clast-to-gimple.c (gloog_error): New static variable.
(clast_to_gcc_expression): Do not build MULT_EXPR of POINTER_TYPE_P.
Set gloog_error when such an expression failed to be built.
(translate_clast): Early return when gloog_error is set.
(gloog): Clear gloog_error.  When gloog_error is set, call
set_ifsese_condition to enable the original code.  Return the status
of the code generation based on gloog_error.
* sese.c (set_ifsese_condition): New.
* sese.h (set_ifsese_condition): Declared.

* testsuite/g++.dg/graphite/pr42681.C: New.

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

14 years ago PR tree-optimization/42709
irar [Thu, 14 Jan 2010 07:49:39 +0000 (07:49 +0000)]
PR tree-optimization/42709
* tree-vect-slp.c (vect_get_constant_vectors): Use constant's type
as scalar type in creation of constant vector operand.

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

14 years agoFix PR42732.
spop [Thu, 14 Jan 2010 07:38:15 +0000 (07:38 +0000)]
Fix PR42732.

2010-01-14  Sebastian Pop  <sebastian.pop@amd.com>

PR middle-end/42732
* graphite-clast-to-gimple.c (gloog): Call scev_reset_htab and
rename_nb_iterations.
* sese.c (rename_variables_in_operand): New.
(rename_variables_in_expr): New.
(rename_nb_iterations): New.
(sese_adjust_liveout_phis): Update the rename_map.
* sese.h (rename_nb_iterations): Declared.
* tree-scalar-evolution.c (scev_reset_htab): New.
(scev_reset): Call scev_reset_htab.
* tree-scalar-evolution.h (scev_reset_htab): Declared.

* testsuite/gfortran.dg/graphite/pr42732.f: New.

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

14 years agoFix PR testsuite/42414.
rwild [Thu, 14 Jan 2010 07:20:31 +0000 (07:20 +0000)]
Fix PR testsuite/42414.

gcc/:
PR testsuite/42414
* Makefile.in ($(TESTSUITEDIR)/site.exp, check-%)
(check-parallel-%): Match `testsuite' directory component only
at the end.

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

14 years agopo/
pzhao [Thu, 14 Jan 2010 06:28:27 +0000 (06:28 +0000)]
po/
2010-01-14  Shujing Zhao  <pearly.zhao@oracle.com>

        PR translation/39521
        * exgettext: Extracted all specs %n strings and the %e strings that %e
        is at the start of a line.

2010-01-14  Shujing Zhao  <pearly.zhao@oracle.com>

        PR translation/39521
        * gcc.c (do_spec_1): Wrapped the error and notice messages of specs
        strings with _().

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

14 years ago2010-01-14 Paul Thomas <pault@gcc.gnu.org>
pault [Thu, 14 Jan 2010 06:17:38 +0000 (06:17 +0000)]
2010-01-14  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/41478
        * trans-array.c (duplicate_allocatable):  Static version of
gfc_duplicate_allocatable with provision to handle scalar
components. New boolean argument to switch off call to malloc
if true.
(gfc_duplicate_allocatable): New function to call above with
new argument false.
(gfc_copy_allocatable_data): New function to call above with
new argument true.
(structure_alloc_comps): Do not apply indirect reference to
scalar pointers. Add new section to copy allocatable components
of arrays. Extend copying of allocatable components to include
scalars.
(gfc_copy_only_alloc_comp): New function to copy allocatable
component derived types, without allocating the base structure.
* trans-array.h : Add primitive for gfc_copy_allocatable_data.
Add primitive for gfc_copy_only_alloc_comp.
* trans-expr.c (gfc_conv_procedure_call): After calls to
transformational functions with results that are derived types
with allocatable components, copy the components in the result.
(gfc_trans_arrayfunc_assign): Deallocate allocatable components
of lhs derived types before allocation.

2010-01-14  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/41478
        * gfortran.dg/alloc_comp_scalar_1.f90: New test.
        * gfortran.dg/alloc_comp_transformational_1.f90: New test.

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

14 years ago2010-01-14 Paul Thomas <pault@gcc.gnu.org>
pault [Thu, 14 Jan 2010 06:13:19 +0000 (06:13 +0000)]
2010-01-14  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/42481
* module.c (load_generic_interfaces): If a procedure that is
use associated but not generic is given an interface that
includes itself, then make it generic.

2010-01-14  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/42481
* gfortran.dg/generic_19.f90 : New test.

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

14 years agoDaily bump.
gccadmin [Thu, 14 Jan 2010 00:17:43 +0000 (00:17 +0000)]
Daily bump.

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

14 years ago2010-01-13 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 13 Jan 2010 22:21:25 +0000 (22:21 +0000)]
2010-01-13  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/42730
* tree-ssa-ccp.c (maybe_fold_stmt_indirect): Add shortcut for
offset zero.

* gcc.c-torture/compile/pr42730.c: New testcase.

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

14 years ago2010-01-13 Steve Ellcey <sje@cup.hp.com>
sje [Wed, 13 Jan 2010 22:17:27 +0000 (22:17 +0000)]
2010-01-13  Steve Ellcey  <sje@cup.hp.com>

PR target/pr42542
* gcc.target/ia64/pr42542-1.c: New.
* gcc.target/ia64/pr42542-2.c: New.
* gcc.target/ia64/pr42542-3.c: New.

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

14 years ago2010-01-13 Steve Ellcey <sje@cup.hp.com>
sje [Wed, 13 Jan 2010 22:16:25 +0000 (22:16 +0000)]
2010-01-13  Steve Ellcey  <sje@cup.hp.com>

PR target/pr42542
* config/ia64/ia64.c (ia64_expand_vecint_compare): Convert GTU to GT
for V2SI by subtracting (-(INT MAX) - 1) from both operands to make
them signed.

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

14 years agoFix PR c++/42634
dodji [Wed, 13 Jan 2010 20:06:26 +0000 (20:06 +0000)]
Fix PR c++/42634

gcc/cp/ChangeLog:
PR c++/42634
* error.c (dump_template_parms): Use innermost template
arguments before calling count_non_default_template_args.
(count_non_default_template_args): We are being called with
template innermost arguments now. There is no need to ensure
that again.

gcc/testsuite/ChangeLog:
PR c++/42634
* g++.dg/template/error45.C: New test.

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

14 years ago * config/bfin/bfin.c (bfin_reorg): Call run_selective_scheduling
bernds [Wed, 13 Jan 2010 20:00:03 +0000 (20:00 +0000)]
* config/bfin/bfin.c (bfin_reorg): Call run_selective_scheduling
rather than schedule_insns if the pass is enabled.

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

14 years ago * config/bfin/libgcc-bfin.ver: Regenerate based on current
bernds [Wed, 13 Jan 2010 19:53:01 +0000 (19:53 +0000)]
* config/bfin/libgcc-bfin.ver: Regenerate based on current
libgcc-std.ver.  Add entries for ___smulsi3_highpart and
___umulsi3_highpart.

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

14 years ago2010-01-13 Martin Jambor <mjambor@suse.cz>
jamborm [Wed, 13 Jan 2010 18:47:19 +0000 (18:47 +0000)]
2010-01-13  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/42704
* tree-sra.c (sra_modify_assign): Do not delete assignments to
SSA_NAMEs.

* testsuite/g++.dg/torture/pr42704.C: New test.

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

14 years ago2010-01-13 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 13 Jan 2010 18:31:25 +0000 (18:31 +0000)]
2010-01-13  Benjamin Kosnik  <bkoz@redhat.com>

* include/profile/iterator_tracker.h: Add copyright.

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

14 years ago2010-01-13 Martin Jambor <mjambor@suse.cz>
jamborm [Wed, 13 Jan 2010 15:37:37 +0000 (15:37 +0000)]
2010-01-13  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/42703
* tree-sra.c (analyze_access_subtree): Check that we can build a
reference to the original data within the aggregate.

* testsuite/gcc.c-torture/compile/pr42703.c: New test.

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

14 years ago2010-01-13 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 13 Jan 2010 15:04:38 +0000 (15:04 +0000)]
2010-01-13  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/42705
* tree-ssa-reassoc.c (build_and_add_sum): Insert stmts after
labels.

* gcc.c-torture/compile/pr42705.c: New testcase.

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

14 years ago * gcc.target/bfin/l2.c: New test.
jiez [Wed, 13 Jan 2010 14:57:59 +0000 (14:57 +0000)]
* gcc.target/bfin/l2.c: New test.
* gcc.target/bfin/bfin.exp (dg-bfin-processors): New.

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

14 years ago2010-01-13 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 13 Jan 2010 13:31:13 +0000 (13:31 +0000)]
2010-01-13  Richard Guenther  <rguenther@suse.de>

PR middle-end/42716
* fold-const.c (fold_unary_loc): Fold INDIRECT_REFs.

* gcc.c-torture/compile/pr42716.c: New testcase.

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

14 years ago PR debug/41371
jakub [Wed, 13 Jan 2010 13:26:47 +0000 (13:26 +0000)]
PR debug/41371
* var-tracking.c (values_to_unmark): New variable.
(find_loc_in_1pdv): Clear VALUE_RECURSED_INTO of values in
values_to_unmark vector.  Moved body to...
(find_loc_in_1pdv_1): ... this.  Don't clear VALUE_RECURSED_INTO,
instead queue it into values_to_unmark vector.
(vt_find_locations): Free values_to_unmark vector.

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

14 years ago2010-01-13 Wolfgang Gellerich <gellerich@de.ibm.com>
krebbel [Wed, 13 Jan 2010 11:40:58 +0000 (11:40 +0000)]
2010-01-13  Wolfgang Gellerich  <gellerich@de.ibm.com>

* config/s390/s390.c (override_options): Set
default of max-pending-list-length to 256

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

14 years ago Add new DW_AT_use_GNAT_descriptive_type CU attribute.
brobecke [Wed, 13 Jan 2010 11:13:53 +0000 (11:13 +0000)]
    Add new DW_AT_use_GNAT_descriptive_type CU attribute.
        * dwarf2.h (dwarf_attribute): Add DW_AT_use_GNAT_descriptive_type.

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

14 years ago2010-01-13 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Wed, 13 Jan 2010 11:07:44 +0000 (11:07 +0000)]
2010-01-13  Paolo Carlini  <paolo.carlini@oracle.com>

* testsuite/Makefile.am (check-debug): Add.
* testsuite/Makefile.in: Regenerate.
* config.h.in: Likewise.

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

14 years ago2010-01-13 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 13 Jan 2010 10:07:47 +0000 (10:07 +0000)]
2010-01-13  Richard Guenther  <rguenther@suse.de>

PR lto/42678
* tree-pass.h (PROP_gimple_lcx): New.
* cfgexpand.c (pass_expand): Require PROP_gimple_lcx.
* passes.c (init_optimization_passes): Move pass_lower_complex_O0
before the final cleanup_eh.
(dump_properties): Dump PROP_gimple_lcx.
* tree-complex.c (pass_lower_complex): Provide PROP_gimple_lcx.
(tree_lower_complex_O0): Remove.
(gate_no_optimization): Run if PROP_gimple_lcx is not set.
(pass_lower_complex_O0): Provide PROP_gimple_lcx.  Run
tree_lower_complex, schedule TODO_update_ssa.
* lto-streamer-out.c (output_function): Stream the functions
properties.
* lto-streamer-in.c (input_function): Likewise.
(lto_read_body): Do not override them here.

* gfortran.dg/lto/20100110-1_0.f90: New testcase.

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

14 years agoDaily bump.
gccadmin [Wed, 13 Jan 2010 00:17:39 +0000 (00:17 +0000)]
Daily bump.

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

14 years ago PR c/42708
jsm28 [Tue, 12 Jan 2010 23:09:00 +0000 (23:09 +0000)]
PR c/42708
* c-typeck.c (build_c_cast): Fold value cast to union type before
wrapping it in a CONSTRUCTOR.

testsuite:
* gcc.c-torture/compile/pr42708-1.c: New test.

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

14 years ago PR rtl-optimization/42699
jakub [Tue, 12 Jan 2010 20:25:10 +0000 (20:25 +0000)]
PR rtl-optimization/42699
* cse.c (cse_insn): Optimize lhs ZERO_EXTRACT if only CONST_INTs are
involved.

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

14 years ago2010-01-12 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Tue, 12 Jan 2010 17:16:25 +0000 (17:16 +0000)]
2010-01-12  Paolo Carlini  <paolo.carlini@oracle.com>

* testsuite/17_intro/using_namespace_std_tr1_neg.cc: Do not run
in parallel-mode.
* testsuite/25_algorithms/inplace_merge/moveable.cc: Likewiwse.
* testsuite/25_algorithms/rotate/moveable.cc: Likewiwse.
* testsuite/25_algorithms/stable_partition/moveable.cc: Likewiwse.
* testsuite/25_algorithms/remove/moveable.c: Likewiwse.
* testsuite/25_algorithms/random_shuffle/moveable.cc: Likewiwse.
* testsuite/25_algorithms/nth_element/moveable.cc: Likewiwse.
* testsuite/25_algorithms/partial_sort/moveable.cc: Likewiwse.
* testsuite/25_algorithms/next_permutation/moveable.cc: Likewiwse.
* testsuite/25_algorithms/partition/moveable.cc: Likewiwse.
* testsuite/25_algorithms/stable_sort/moveable.cc: Likewiwse.
* testsuite/25_algorithms/stable_sort/moveable2.cc: Likewiwse.
* testsuite/25_algorithms/sort/moveable.cc: Likewiwse.
* testsuite/25_algorithms/prev_permutation/moveable.cc: Likewiwse.
* testsuite/25_algorithms/unique/moveable.cc: Likewiwse.
* testsuite/25_algorithms/remove_if/moveable.cc: Likewiwse.
* testsuite/25_algorithms/heap/moveable.cc: Likewiwse.

* testsuite/25_algorithms/search_n/iterator.cc: Reduce iteration #
in parallel-mode.

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

14 years ago * config/mips/iris6.h (SUBTARGET_DONT_WARN_UNUSED_SPEC,
ro [Tue, 12 Jan 2010 12:38:49 +0000 (12:38 +0000)]
* config/mips/iris6.h (SUBTARGET_DONT_WARN_UNUSED_SPEC,
SUBTARGET_WARN_UNUSED_SPEC): Move ...
config/mips/iris.h (SUBTARGET_DONT_WARN_UNUSED_SPEC,
SUBTARGET_WARN_UNUSED_SPEC): ... here
* config/mips/iris5.h (LIBGCC_SPEC): Define.

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

14 years agoFix Neon Scheduler ocaml description.
ramana [Tue, 12 Jan 2010 11:50:36 +0000 (11:50 +0000)]
Fix Neon Scheduler ocaml description.

For

2010-01-12  Julian Brown  <julian@codesourcery.com>

        * config/arm/neon-schedgen.ml (Utils): Don't try to
        open missing module.
        (find_with_result): New.

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

14 years agoUpdate Copyright years.
jakub [Tue, 12 Jan 2010 09:49:51 +0000 (09:49 +0000)]
Update Copyright years.

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

14 years ago PR debug/42662
jakub [Tue, 12 Jan 2010 09:45:19 +0000 (09:45 +0000)]
PR debug/42662
* simplify-rtx.c (simplify_relational_operation_1): Avoid invalid rtx
sharing when canonicalizing ({lt,ge}u (plus a b) b).

* gcc.dg/pr42662.c: New test.

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

14 years ago PR tree-optimization/42645
jakub [Tue, 12 Jan 2010 09:43:31 +0000 (09:43 +0000)]
PR tree-optimization/42645
* tree-inline.c (processing_debug_stmt): Move earlier.  Make static.
(remap_ssa_name): If processing_debug_stmt and name wasn't found in
decl_map, set processing_debug_stmt to -1 and return name without
any remapping.

* g++.dg/other/pr42645-1.C: New test.
* g++.dg/other/pr42645-2.C: New test.

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

14 years ago * testsuite/ext/profile/all.cc: Pass -D_GLIBCXX_PROFILE_NO_THREADS
hp [Tue, 12 Jan 2010 05:24:12 +0000 (05:24 +0000)]
* testsuite/ext/profile/all.cc: Pass -D_GLIBCXX_PROFILE_NO_THREADS
for non-tls_native targets.

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

14 years ago2010-01-12 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 12 Jan 2010 01:37:39 +0000 (01:37 +0000)]
2010-01-12  Benjamin Kosnik  <bkoz@redhat.com>

* scripts/run_doxygen: Correct nested scope on the man pages.
* doc/xml/faq.xml: Edits, linkcheck, doxygen link reassociate.
* doc/xml/manual/mt_allocator.xml: Same.
* doc/xml/manual/allocator.xml: Same.
* doc/xml/manual/codecvt.xml: Same.
* doc/xml/manual/backwards_compatibility.xml: Same.
* doc/xml/manual/concurrency.xml: Same.
* doc/xml/manual/parallel_mode.xml: Same.
* doc/xml/manual/io.xml: Same.
* doc/xml/manual/support.xml: Same.
* doc/xml/manual/evolution.xml: Same.
* doc/xml/manual/using.xml: Same.
* doc/xml/manual/extensions.xml: Same.
* doc/xml/manual/appendix_contributing.xml: Same.
* doc/xml/manual/prerequisites.xml: Same.
* doc/xml/manual/diagnostics.xml: Same.
* doc/xml/manual/spine.xml: Same.
* doc/xml/manual/status_cxx200x.xml: Same.
* doc/xml/manual/test.xml: Same.
* doc/xml/spine.xml: Same.
* doc/html/*: Regenerate.

* include/profile/impl/profiler.h: Remove duplicate markup.

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

14 years ago2010-01-07 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 12 Jan 2010 01:37:06 +0000 (01:37 +0000)]
2010-01-07  Benjamin Kosnik  <bkoz@redhat.com>

* scripts/run_doxygen: Correct nested scope on the man pages.
* doc/xml/faq.xml: Edits, linkcheck, doxygen link reassociate.
* doc/xml/manual/mt_allocator.xml: Same.
* doc/xml/manual/allocator.xml: Same.
* doc/xml/manual/codecvt.xml: Same.
* doc/xml/manual/backwards_compatibility.xml: Same.
* doc/xml/manual/concurrency.xml: Same.
* doc/xml/manual/parallel_mode.xml: Same.
* doc/xml/manual/io.xml: Same.
* doc/xml/manual/support.xml: Same.
* doc/xml/manual/evolution.xml: Same.
* doc/xml/manual/using.xml: Same.
* doc/xml/manual/extensions.xml: Same.
* doc/xml/manual/appendix_contributing.xml: Same.
* doc/xml/manual/prerequisites.xml: Same.
* doc/xml/manual/diagnostics.xml: Same.
* doc/xml/manual/spine.xml: Same.
* doc/xml/manual/status_cxx200x.xml: Same.
* doc/xml/manual/test.xml: Same.
* doc/xml/spine.xml: Same.
* doc/html/*: Regenerate.

* include/profile/impl/profiler.h: Remove duplicate markup.

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

14 years ago2010-01-12 Jonathan Wakely <jwakely.gcc@gmail.com>
redi [Tue, 12 Jan 2010 00:53:30 +0000 (00:53 +0000)]
2010-01-12  Jonathan Wakely  <jwakely.gcc@gmail.com>

PR libstdc++/24803
PR libstdc++/35569
PR libstdc++/42593
* include/std/functional (bind): Forward rvalues and detect correct
result type of bound function object.
* include/std/mutex (call_once): Specify bind result type.
* testsuite/20_util/reference_wrapper/invoke.cc: Remove invalid tests.
* testsuite/20_util/reference_wrapper/24803.cc: Remove invalid tests
and enable FIXME tests.
* testsuite/20_util/bind/35569.cc: New.
* testsuite/20_util/bind/ref2.cc: New.
* testsuite/20_util/bind/38889.cc: New.
* testsuite/20_util/bind/ref_neg.cc: New.
* testsuite/20_util/bind/42593.cc: New.

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

14 years ago2010-01-11 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Tue, 12 Jan 2010 00:51:50 +0000 (00:51 +0000)]
2010-01-11  Paolo Carlini  <paolo.carlini@oracle.com>

* include/parallel/base.h (decode2): Rename to __decode2.
(binder2nd): Likewise to __binder2nd.
* include/parallel/quicksort.h: Adjust callers.
* include/parallel/balanced_quicksort.h: Likewise.
* include/parallel/partition.h: Likewise.
* include/parallel/queue.h: Likewise.

* include/parallel/algo.h: Qualify with std:: binder2nd use.

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

14 years agoDaily bump.
gccadmin [Tue, 12 Jan 2010 00:16:48 +0000 (00:16 +0000)]
Daily bump.

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

14 years ago * doc/install.texi (Specific#x-x-cygwin): Document minimum required
davek [Mon, 11 Jan 2010 23:43:21 +0000 (23:43 +0000)]
* doc/install.texi (Specific#x-x-cygwin): Document minimum required
binutils version, and reword target configuration description.

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

14 years ago2010-01-11 Andy Hutchinson <hutchinsonandy@gcc.gnu.org>
hutchinsonandy [Mon, 11 Jan 2010 23:15:32 +0000 (23:15 +0000)]
2010-01-11  Andy Hutchinson  <hutchinsonandy@gcc.gnu.org>

   * lto.c (O_BINARY): Define.
   (lto_read_section_data): Open file in binary mode.
   * lto-elf.c (O_BINARY): Define.
   (lto_elf_file_open): Open file in binary mode.

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

14 years ago2010-01-11 Andy Hutchinson <hutchinsonandy@gcc.gnu.org>
hutchinsonandy [Mon, 11 Jan 2010 23:12:14 +0000 (23:12 +0000)]
2010-01-11  Andy Hutchinson  <hutchinsonandy@gcc.gnu.org>

* config/avr/avr.h (LINKER_NAME): Remove.

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

14 years ago * fi.po: Update.
jsm28 [Mon, 11 Jan 2010 20:52:17 +0000 (20:52 +0000)]
* fi.po: Update.

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

14 years ago PR target/42416
janis [Mon, 11 Jan 2010 20:29:40 +0000 (20:29 +0000)]
PR target/42416
* config/rs6000/rs6000.c (rs6000_override_options): On targets
that support VSX, warn for -mno-altivec if vsx is not disabled,
and disable vsx.
* gcc.target/powerpc/warn-1.c: New test.
* gcc.target/powerpc/warn-2.c: New test.

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

14 years ago * gcc.target/x86_64/abi/avx/asm-support.S (snapshot_ret): Preserve
uros [Mon, 11 Jan 2010 18:58:44 +0000 (18:58 +0000)]
* gcc.target/x86_64/abi/avx/asm-support.S (snapshot_ret): Preserve
stack alignment.

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

14 years ago2010-01-11 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 11 Jan 2010 12:38:09 +0000 (12:38 +0000)]
2010-01-11  Richard Guenther  <rguenther@suse.de>

PR lto/41569
* Makefile.def (all-lto-plugin): Depend on all-gcc.
* Makefile.in: Regenerated.

lto-plugin/
* Makefile.am: Disable dependencies.
* Makefile.in: Regenerated.

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

14 years ago * gcc-interface/Makefile.in: Add arm*-*-linux-gnueabi.
ebotcazou [Mon, 11 Jan 2010 12:04:19 +0000 (12:04 +0000)]
* gcc-interface/Makefile.in: Add arm*-*-linux-gnueabi.
* system-linux-armeb.ads, system-linux-armel.ads: New files.

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

14 years ago * zh_CN.po: Update.
jsm28 [Mon, 11 Jan 2010 11:48:24 +0000 (11:48 +0000)]
* zh_CN.po: Update.

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

14 years ago * cpplib.pot: Regenerate.
jsm28 [Mon, 11 Jan 2010 11:47:16 +0000 (11:47 +0000)]
* cpplib.pot: Regenerate.

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

14 years ago * gcc.pot: Regenerate.
jsm28 [Mon, 11 Jan 2010 11:46:39 +0000 (11:46 +0000)]
* gcc.pot: Regenerate.

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

14 years agoinclude/
gingold [Mon, 11 Jan 2010 11:38:35 +0000 (11:38 +0000)]
include/
2010-01-11  Tristan Gingold  <gingold@adacore.com>

* demangle.h (ada_demangle): Add prototype.

libiberty/
2010-01-11  Tristan Gingold  <gingold@adacore.com>

* cplus-dem.c (ada_demangle): Remove prototype.
(grow_vect): Removed.
(ada_demangle): Rewritten.
(cplus_demangle): Fix indentation.
* testsuite/demangle-expected: Add tests for Ada.

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

14 years ago2010-01-11 Andreas Tobler <andreast@fgznet.ch>
andreast [Mon, 11 Jan 2010 11:10:55 +0000 (11:10 +0000)]
2010-01-11  Andreas Tobler  <andreast@fgznet.ch>

* configure.ac: Enable libjava build on x86_64-*freebsd*.
* configure: Regenerate.

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

14 years agogcc/po/
pzhao [Mon, 11 Jan 2010 04:28:36 +0000 (04:28 +0000)]
gcc/po/
2010-01-11  Joseph Myers  <joseph@codesourcery.com>
            Shujing Zhao  <pearly.zhao@oracle.com>

        PR translation/42467
        * exgettext: Keep the text before tab character in the option help
        string at *.opt file.

gcc/
2010-01-11  Joseph Myers  <joseph@codesourcery.com>
            Shujing Zhao  <pearly.zhao@oracle.com>

        PR translation/42469
        * common.opt (Wframe-larger-than=, fcompare-debug=, fdbg-cnt=,
        fira-verbose=, flto-compression-level=, fplugin-arg-): Use tab
        character between option name and help text.
        * c.opt (imultilib): Likewise.

gcc/fortran
2010-01-11  Joseph Myers  <joseph@codesourcery.com>
            Shujing Zhao  <pearly.zhao@oracle.com>

        PR translation/42469
        * lang.opt (fblas-matmul-limit=, finit-character=, finit-integer=,
        finit-logical=, finit-real=, fmax-array-constructor=): Use tab
        character between option name and help text.

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

14 years ago2010-01-10 Rafael Avila de Espindola <espindola@google.com>
espindola [Mon, 11 Jan 2010 02:28:49 +0000 (02:28 +0000)]
2010-01-10  Rafael Avila de Espindola  <espindola@google.com>

* gcc.dg/lto/20100108_0.c: New.

2010-01-10  Rafael Avila de Espindola  <espindola@google.com>

* lto-streamer-out.c (output_unreferenced_globals): Output static
variables.

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

14 years agoDaily bump.
gccadmin [Mon, 11 Jan 2010 00:17:11 +0000 (00:17 +0000)]
Daily bump.

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

14 years ago PR rtl-optimization/42621
steven [Sun, 10 Jan 2010 23:31:30 +0000 (23:31 +0000)]
PR rtl-optimization/42621
* bb-reorder.c (gate_duplicated_computed_gotos): Only run if not
optimizing for size.
(duplicate_computed_gotos): Remove now-redundant check.

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

14 years agoFix PR42393.
spop [Sun, 10 Jan 2010 21:46:42 +0000 (21:46 +0000)]
Fix PR42393.

2010-01-08  Sebastian Pop  <sebastian.pop@amd.com>

PR middle-end/42393
* graphite-clast-to-gimple.c: Fix formatting.
* sese.c (defined_in_loop_p): Renamed name_defined_in_loop_p.
(expr_defined_in_loop_p): New.
(add_loop_exit_phis): Also handle full expressions: remove from
the rename_map the expressions defined in the loop that we're closing.

* testsuite/gfortran.dg/graphite/pr42393-1.f90: New.
* testsuite/gfortran.dg/graphite/pr42393.f90: Add new flags
-fno-loop-block -fno-loop-interchange -fno-loop-strip-mine to also
make this testcase useful in the Graphite branch.

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

14 years ago * gcc.dg/graphite/pr40281.c (dg-options): Add -w.
uros [Sun, 10 Jan 2010 21:33:19 +0000 (21:33 +0000)]
* gcc.dg/graphite/pr40281.c (dg-options): Add -w.
Add -march=i686 -msse for 32bit x86 targets.

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

14 years ago2010-01-10 Steve Ellcey <sje@cup.hp.com>
sje [Sun, 10 Jan 2010 20:23:08 +0000 (20:23 +0000)]
2010-01-10  Steve Ellcey  <sje@cup.hp.com>

PR target/37454
* configure.ac: Save and restore LDFLAGS and LIBS
* configure: Regenerate.

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

14 years ago2010-01-10 Richard Guenther <rguenther@suse.de>
rguenth [Sun, 10 Jan 2010 19:37:45 +0000 (19:37 +0000)]
2010-01-10  Richard Guenther  <rguenther@suse.de>

PR middle-end/42667
* builtins.c (fold_builtin_strlen): Add type argument and
convert the resulting length to it.
(fold_builtin_1): Adjust.

* gcc.dg/torture/pr42667.c: New testcase.

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

14 years ago2010-01-10 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Sun, 10 Jan 2010 16:15:58 +0000 (16:15 +0000)]
2010-01-10  Paolo Carlini  <paolo.carlini@oracle.com>

* include/debug/string (basic_string<>::basic_string(basic_string&&),
operator=(basic_string&&), assign(basic_string&&)): Add.

* include/debug/string: Fully qualify initializer_list with std; fix
_Allocator misspellings as _Alloc.

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

14 years ago2010-01-10 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Sun, 10 Jan 2010 13:43:40 +0000 (13:43 +0000)]
2010-01-10  Paolo Carlini  <paolo.carlini@oracle.com>

Adjust last ChangeLog entry.

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

14 years ago2010-01-10 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Sun, 10 Jan 2010 13:38:47 +0000 (13:38 +0000)]
2010-01-10  Paolo Carlini  <paolo.carlini@oracle.com>

* include/bits/basic_string.h (basic_string<>::
basic_string(basic_string&&), operator=(basic_string&&),
assign(basic_string&&)): Add.
* config/abi/pre/gnu.ver: Export new symbols.
* include/ext/vstring.h (__versa_string<>::assign(__versa_string&&)):
Add.
(operator=(__versa_string&&)): Don't call clear unnecessarily.
* include/ext/rc_string_base.h (__rc_string_base<>::
__rc_string_base(__rc_string_base&&)): Simplify a tad.
* testsuite/21_strings/basic_string/cons/char/moveable.cc: New.
* testsuite/21_strings/basic_string/cons/wchar_t/moveable.cc: Likewise.
* testsuite/ext/vstring/assign/move_assign.cc: Likewise.
* testsuite/21_strings/basic_string/assign/char/move_assign.cc:
Likewise.
* testsuite/21_strings/basic_string/assign/wchar_t/move_assign.cc:
Likewise.

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

14 years ago * sv.po: Update.
jsm28 [Sun, 10 Jan 2010 13:15:41 +0000 (13:15 +0000)]
* sv.po: Update.

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

14 years agolibstdc++ profile mode bug fixes and minor updates
rus [Sun, 10 Jan 2010 08:25:23 +0000 (08:25 +0000)]
libstdc++ profile mode bug fixes and minor updates

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