OSDN Git Service

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

14 years agoReturn dgs.alc on success
hjl [Sun, 10 Jan 2010 00:24:52 +0000 (00:24 +0000)]
Return dgs.alc on success

libiberty/

2010-01-09  Ian Lance Taylor  <iant@google.com>

PR other/42230
* cp-demangle.c (d_demangle): Return dgs.alc on success.

libstdc++-v3/

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

PR other/42230
* testsuite/abi/pr42230.cc: New.

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

14 years agoDaily bump.
gccadmin [Sun, 10 Jan 2010 00:16:40 +0000 (00:16 +0000)]
Daily bump.

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

14 years ago PR ada/42626
ebotcazou [Sat, 9 Jan 2010 22:16:43 +0000 (22:16 +0000)]
PR ada/42626
* gcc-interface/Makefile.in (gnatlib-shared-darwin): Add missing
end-quote.

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

14 years ago PR ada/42626
ebotcazou [Sat, 9 Jan 2010 22:12:47 +0000 (22:12 +0000)]
PR ada/42626
* Makefile.in (gnatlib-shared-darwin): Add missing end-quote.

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

14 years ago Fix ChangeLog entry.
jvdelisle [Sat, 9 Jan 2010 19:11:59 +0000 (19:11 +0000)]
Fix ChangeLog entry.

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

14 years ago2010-01-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sat, 9 Jan 2010 19:01:41 +0000 (19:01 +0000)]
2010-01-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>

PR fortran/32489
* gfortran.dg/array_constructor_33.f90: New test.

PR fortran/20923
Fix ChangeLog entry.

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

14 years ago2010-01-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sat, 9 Jan 2010 18:31:00 +0000 (18:31 +0000)]
2010-01-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>

PR fortran/32489
* gfortran.dg/array_constructor_33.f90: New test.
gfortran.dg/array_function_5.f90: Add credit.

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

14 years ago PR ada/42659
ebotcazou [Sat, 9 Jan 2010 18:21:52 +0000 (18:21 +0000)]
PR ada/42659
* configure.ac (powerpc|*86-*-darwin*): Extend to *-*-darwin*.
* configure: Regenerate.

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

14 years ago * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Shorten
jakub [Sat, 9 Jan 2010 17:56:12 +0000 (17:56 +0000)]
* config/rs6000/rs6000.c (rs6000_emit_set_long_const): Shorten
sequence for DImode constants >= 0x80000000UL <= 0xFFFFFFFFUL by
1 insn.
(num_insns_constant_wide): Adjust for that change.

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

14 years ago2010-01-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sat, 9 Jan 2010 17:47:04 +0000 (17:47 +0000)]
2010-01-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>

PR fortran/20923
PR fortran/32489
* trans-array.c (gfc_conv_array_initializer): Change call to
gfc_error_now to call to gfc_fatal_error.
* array.c (count_elements): Whitespace. (extract_element): Whitespace.
(is_constant_element): Changed name from constant_element.
(gfc_constant_ac): Only use expand_construuctor for expression
types of EXPR_ARRAY.  If expression type is EXPR_CONSTANT, no need to
call gfc_is_constant_expr.
* expr.c (gfc_reduce_init_expr): Adjust conditionals and delete error
message.
* resolve.c (gfc_is_expandable_expr): New function that determiners if
array expressions should have their constructors expanded.
(gfc_resolve_expr): Use new function to determine whether or not to call
gfc_expand_constructor.

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

14 years agoUpdate copyright notices of my recent commits.
aoliva [Sat, 9 Jan 2010 14:46:25 +0000 (14:46 +0000)]
Update copyright notices of my recent commits.

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

14 years agogcc/ChangeLog:
aoliva [Sat, 9 Jan 2010 14:41:51 +0000 (14:41 +0000)]
gcc/ChangeLog:
PR debug/42631
* web.c (union_defs): Add used argument, to combine uses of
uninitialized regs.
(entry_register): Adjust type and tests of used argument.
(web_main): Widen used for new use.  Pass it to union_defs.
* df.h (union_defs): Adjust prototype.
gcc/testsuite/ChangeLog:
PR debug/42631
* gcc.dg/pr42631.c: New.

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

14 years agogcc/ChangeLog:
aoliva [Sat, 9 Jan 2010 14:41:35 +0000 (14:41 +0000)]
gcc/ChangeLog:
PR debug/42630
* loop-unroll.c (referenced_in_one_insn_in_loop_p): Count debug
uses in new incoming argument.  Free body.
(reset_debug_uses_in_loop): New.
(analyze_insn_to_expand_var): Call the latter if the former found
anything.  Fix whitespace.  Reject invalid dest overlaps before
going through all insns in the loop.
gcc/testsuite/ChangeLog:
PR debug/42630
* gcc.dg/pr42630.c: New.

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

14 years agogcc/ChangeLog:
aoliva [Sat, 9 Jan 2010 14:41:17 +0000 (14:41 +0000)]
gcc/ChangeLog:
PR debug/42629
* haifa-sched.c (dying_use_p): Debug insns don't count.
gcc/testsuite/ChangeLog:
PR debug/42629
* gcc.dg/pr42629.c: New.

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

14 years agogcc/ChangeLog:
aoliva [Sat, 9 Jan 2010 14:40:59 +0000 (14:40 +0000)]
gcc/ChangeLog:
PR middle-end/42363
* gimplify.c (gimplify_modify_expr): Drop lhs on noreturn calls.
* tree-cfg.c (is_ctrl_altering_stmt): Don't compute flags twice.
(verify_gimple_call): Reject LHS in noreturn calls.
gcc/testsuite/ChangeLog:
PR middle-end/42363
* gcc.dg/torture/pr42363.c: New.

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

14 years agogcc/ChangeLog:
aoliva [Sat, 9 Jan 2010 14:40:40 +0000 (14:40 +0000)]
gcc/ChangeLog:
PR debug/42604
PR debug/42395
* tree-vect-loop-manip.c (adjust_info): New type.
(adjust_vec): New pointer to vector.
(adjust_debug_stmts_now, adjust_vec_debug_stmts): New.
(adjust_debug_stmts, adjust_phi_and_debug_stmts): New.
(slpeel_update_phis_for_duplicate_loop): Use them.
(slpeel_update_phi_nodes_for_guard1): Likewise.
(slpeel_update_phi_nodes_for_guard2): Likewise.
(slpeel_tree_peel_loop_to_edge): Likewise.
(vect_update_ivs_after_vectorizer): Likewise.
gcc/testsuite/ChangeLog:
PR debug/42604
PR debug/42395
* gcc.dg/vect/pr42604.c: New.
* gcc.dg/vect/pr42395.c: New.

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

14 years ago* vec.h (DEF_VEC_ALLOC_FUNC_O_STACK): Drop excess paren.
aoliva [Sat, 9 Jan 2010 14:34:43 +0000 (14:34 +0000)]
* vec.h (DEF_VEC_ALLOC_FUNC_O_STACK): Drop excess paren.
(DEF_VEC_ALLOC_FUNC_I_STACK): Likewise.

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

14 years ago* config/i386/i386.c (ix86_vectorize_builtin_vec_perm): Silence
aoliva [Sat, 9 Jan 2010 14:34:27 +0000 (14:34 +0000)]
* config/i386/i386.c (ix86_vectorize_builtin_vec_perm): Silence
bogus uninitialized warning.

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

14 years ago * nl.po: Update.
jsm28 [Sat, 9 Jan 2010 14:05:33 +0000 (14:05 +0000)]
* nl.po: Update.

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

14 years ago2010-01-09 Richard Guenther <rguenther@suse.de>
rguenth [Sat, 9 Jan 2010 12:04:17 +0000 (12:04 +0000)]
2010-01-09  Richard Guenther  <rguenther@suse.de>

PR middle-end/42512
* tree-scalar-evolution.c (interpret_loop_phi): Make sure
the evolution is compatible with the initial condition.

* gcc.c-torture/execute/pr42512.c: New testcase.

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

14 years ago2010-01-09 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Sat, 9 Jan 2010 11:16:42 +0000 (11:16 +0000)]
2010-01-09  Paolo Carlini  <paolo.carlini@oracle.com>

* include/debug/set.h: Revert last change, per DR 1204 [Ready];
mention the latter in comment.
* include/debug/unordered_map: Likewise.
  * include/debug/multiset.h: Likewise.
  * include/debug/vector: Likewise.
* include/debug/unordered_set: Likewise.
* include/debug/deque: Likewise.
* include/debug/map.h: Likewise.
* include/debug/list: Likewise.
* include/debug/multimap.h: Likewise.
* include/tr1_impl/unordered_map: Likewise.
* include/tr1_impl/unordered_set: Likewise.
* include/profile/set.h: Likewise.
* include/profile/unordered_map: Likewise.
* include/profile/multiset.h: Likewise.
* include/profile/unordered_set: Likewise.
* include/profile/vector: Likewise.
* include/profile/deque: Likewise.
* include/profile/map.h: Likewise.
* include/profile/list: Likewise.
* include/profile/multimap.h: Likewise.
* include/ext/vstring.h: Likewise.
* include/bits/stl_list.h: Likewise.
* include/bits/stl_map.h: Likewise.
* include/bits/stl_set.h: Likewise.
* include/bits/stl_multimap.h: Likewise.
* include/bits/stl_vector.h: Likewise.
* include/bits/stl_deque.h: Likewise.
* include/bits/stl_multiset.h: Likewise.

* include/bits/forward_list.h: Remove pre-existing check.
* include/ext/vstring.h: Likewise.

* testsuite/ext/vstring/cons/self_move_assign.cc: Remove.
* testsuite/23_containers/unordered_map/cons/self_move_assign.cc:
Likewise.
* testsuite/23_containers/multimap/cons/self_move_assign.cc: Likewise.
* testsuite/23_containers/set/cons/self_move_assign.cc: Likewise.
* testsuite/23_containers/unordered_multimap/cons/
self_move_assign.cc: Likewise.
* testsuite/23_containers/forward_list/cons/self_move_assign.cc:
Likewise.
* testsuite/23_containers/unordered_set/cons/self_move_assign.cc:
Likewise.
  * testsuite/23_containers/vector/cons/self_move_assign.cc: Likewise.
* testsuite/23_containers/deque/cons/self_move_assign.cc: Likewise.
* testsuite/23_containers/multiset/cons/self_move_assign.cc: Likewise.
* testsuite/23_containers/list/cons/self_move_assign.cc: Likewise.
* testsuite/23_containers/unordered_multiset/cons/
self_move_assign.cc: Likewise.
* testsuite/23_containers/map/cons/self_move_assign.cc: Likewise.

* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
Adjust dg-error line numbers.
  * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
Likewise.
  * testsuite/23_containers/vector/requirements/dr438/
constructor_1_neg.cc: Likewise.
* testsuite/23_containers/vector/requirements/dr438/
constructor_2_neg.cc: Likewise.
* testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
Likewise.
* testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
Likewise.
* testsuite/23_containers/deque/requirements/dr438/
constructor_1_neg.cc: Likewise.
* testsuite/23_containers/forward_list/requirements/dr438/
assign_neg.cc: Likewise.
* testsuite/23_containers/forward_list/requirements/dr438/
insert_neg.cc: Likewise.
* testsuite/23_containers/forward_list/requirements/dr438/
constructor_1_neg.cc: Likewise.
* testsuite/23_containers/forward_list/requirements/dr438/
constructor_2_neg.cc: Likewise.
* testsuite/23_containers/deque/requirements/dr438/
constructor_2_neg.cc: Likewise.
* testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
Likewise.
* testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
Likewise.
* testsuite/23_containers/list/requirements/dr438/
constructor_1_neg.cc: Likewise.
* testsuite/23_containers/list/requirements/dr438/
constructor_2_neg.cc: Likewise.

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

14 years ago2010-01-09 Tobias Burnus <burnus@net-b.de>
burnus [Sat, 9 Jan 2010 09:11:53 +0000 (09:11 +0000)]
2010-01-09  Tobias Burnus  <burnus@net-b.de>

        PR fortran/41298
        * trans-expr.c (gfc_trans_structure_assign): Handle
        c_null_(fun)ptr.
        * symbol.c (gen_special_c_interop_ptr): Add NULL_EXPR
        to the constructor for c_null_(fun)ptr.
        * resolve.c (resolve_structure_cons): Add special case
        for c_null_(fun)ptr.

2010-01-09  Tobias Burnus  <burnus@net-b.de>

        PR fortran/41298
        * gfortran.dg/c_ptr_tests_14.f90: New test.

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

14 years ago2010-01-08 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Sat, 9 Jan 2010 02:49:53 +0000 (02:49 +0000)]
2010-01-08  Paolo Carlini  <paolo.carlini@oracle.com>

* include/debug/set.h: Protect move assignment operator vs self
assignment.
* include/debug/unordered_map: Likewise.
  * include/debug/multiset.h: Likewise.
  * include/debug/vector: Likewise.
* include/debug/unordered_set: Likewise.
* include/debug/deque: Likewise.
* include/debug/map.h: Likewise.
* include/debug/list: Likewise.
* include/debug/multimap.h: Likewise.
* include/tr1_impl/unordered_map: Likewise.
* include/tr1_impl/unordered_set: Likewise.
* include/profile/set.h: Likewise.
* include/profile/unordered_map: Likewise.
* include/profile/multiset.h: Likewise.
* include/profile/unordered_set: Likewise.
* include/profile/vector: Likewise.
* include/profile/deque: Likewise.
* include/profile/map.h: Likewise.
* include/profile/list: Likewise.
* include/profile/multimap.h: Likewise.
* include/ext/vstring.h: Likewise.
* include/bits/stl_list.h: Likewise.
* include/bits/stl_map.h: Likewise.
* include/bits/stl_set.h: Likewise.
* include/bits/stl_multimap.h: Likewise.
* include/bits/stl_vector.h: Likewise.
* include/bits/stl_deque.h: Likewise.
* include/bits/stl_multiset.h: Likewise.
* include/ext/vstring.h: Use clear().
* testsuite/ext/vstring/cons/self_move_assign.cc: New.
* testsuite/23_containers/unordered_map/cons/self_move_assign.cc:
Likewise.
* testsuite/23_containers/multimap/cons/self_move_assign.cc: Likewise.
* testsuite/23_containers/set/cons/self_move_assign.cc: Likewise.
* testsuite/23_containers/unordered_multimap/cons/
self_move_assign.cc: Likewise.
* testsuite/23_containers/forward_list/cons/self_move_assign.cc:
Likewise.
* testsuite/23_containers/unordered_set/cons/self_move_assign.cc:
Likewise.
  * testsuite/23_containers/vector/cons/self_move_assign.cc: Likewise.
* testsuite/23_containers/deque/cons/self_move_assign.cc: Likewise.
* testsuite/23_containers/multiset/cons/self_move_assign.cc: Likewise.
* testsuite/23_containers/list/cons/self_move_assign.cc: Likewise.
* testsuite/23_containers/unordered_multiset/cons/
self_move_assign.cc: Likewise.
* testsuite/23_containers/map/cons/self_move_assign.cc: Likewise.

* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
Adjust dg-error line numbers.
  * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
Likewise.
  * testsuite/23_containers/vector/requirements/dr438/
constructor_1_neg.cc: Likewise.
* testsuite/23_containers/vector/requirements/dr438/
constructor_2_neg.cc: Likewise.
* testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
Likewise.
* testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
Likewise.
* testsuite/23_containers/deque/requirements/dr438/
constructor_1_neg.cc: Likewise.
* testsuite/23_containers/deque/requirements/dr438/
constructor_2_neg.cc: Likewise.
* testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
Likewise.
* testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
Likewise.
* testsuite/23_containers/list/requirements/dr438/
constructor_1_neg.cc: Likewise.
* testsuite/23_containers/list/requirements/dr438/
constructor_2_neg.cc: Likewise.

* testsuite/ext/vstring/moveable.cc: Move to...
* testsuite/ext/vstring/cons/moveable.cc: ... here.
* testsuite/23_containers/unordered_map/moveable.cc: Move to...
* testsuite/23_containers/unordered_map/cons/moveable.cc ... here.
* testsuite/23_containers/multimap/moveable.cc: Move to...
* testsuite/23_containers/multimap/cons/moveable.cc: ... here.
* testsuite/23_containers/set/moveable.cc: Move to...
* testsuite/23_containers/set/cons/moveable.cc: ... here.
* testsuite/23_containers/unordered_multimap/moveable.cc: Move to...
* testsuite/23_containers/unordered_multimap/cons/moveable.cc:
... here.
* testsuite/23_containers/forward_list/moveable.cc: Move to...
* testsuite/23_containers/forward_list/cons/moveable.cc: ... here.
* testsuite/23_containers/unordered_set/moveable.cc Move to...
* testsuite/23_containers/unordered_set/moveable.cc: ... here.
* testsuite/23_containers/vector/cons/moveable.cc Move to...
* testsuite/23_containers/vector/cons/moveable2.cc: ... this.
* testsuite/23_containers/deque/cons/moveable.cc Move to...
* testsuite/23_containers/deque/cons/moveable2.cc: ... this.
* testsuite/23_containers/multiset/moveable.cc Move to...
* testsuite/23_containers/multiset/cons/moveable.cc: ... here.
* testsuite/23_containers/list/moveable.h Move to...
* testsuite/23_containers/list/cons/moveable.h: ... here.
* testsuite/23_containers/list/moveable.cc Move to...
* testsuite/23_containers/list/cons/moveable.cc: ... here.
* testsuite/23_containers/unordered_multiset/moveable.cc Move to...
* testsuite/23_containers/unordered_multiset/cons/moveable.cc:
... here.
* testsuite/23_containers/map/moveable.cc Move to...
* testsuite/23_containers/map/cons/moveable.cc: ... here.
* testsuite/23_containers/vector/moveable.cc: Move to...
* testsuite/23_containers/vector/cons/moveable.cc: ... here.
* testsuite/23_containers/deque/moveable.cc: Move to...
* testsuite/23_containers/deque/cons/moveable.cc: ... here.

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

14 years agoDaily bump.
gccadmin [Sat, 9 Jan 2010 00:16:51 +0000 (00:16 +0000)]
Daily bump.

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

14 years ago * gcc.c (process_command): Update copyright notice dates.
jakub [Sat, 9 Jan 2010 00:00:42 +0000 (00:00 +0000)]
* gcc.c (process_command): Update copyright notice dates.
* gcov.c (print_version): Likewise.
* gcov-dump.c (print_version): Likewise.
* mips-tfile.c (main): Likewise.
* mips-tdump.c (main): Likewise.

* gfortranspec.c (lang_specific_driver): Update copyright notice
dates.

* jcf-dump.c (version): Update copyright notice dates.

* mf-runtime.c (__mf_usage): Update copyright notice dates.

* gnu/gcj/convert/Convert.java (version): Update copyright notice
dates.
* gnu/gcj/tools/gcj_dbtool/Main.java (main): Likewise.

* gnu/java/rmi/registry/RegistryImpl.java (version): Update
copyright notice dates.
* tools/gnu/classpath/tools/orbd/Main.java (run): Likewise.

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

14 years ago2010-01-08 Andy Hutchinson <hutchinsonandy@gcc.gnu.org>
hutchinsonandy [Fri, 8 Jan 2010 23:01:45 +0000 (23:01 +0000)]
2010-01-08  Andy Hutchinson  <hutchinsonandy@gcc.gnu.org>

  PR target/41885
  * avr.md (rotlqi3): Add CONST_INT_P check.
  (rotlhi3): Delete.
  (rotlhi3_8): Delete.
  (rotlsi3): Delete.
  (rotlsi3_8): Delete.
  (rotlsi3_16): Delete.
  (rotlsi3_24): Delete.
  (rotl<mode>3): New.
  (*rotw<mode>3): New.
  (*rotb<mode>3): New.
  *avr.c (avr_rotate_bytes): New function.
  *avr-proto.h (avr_rotate_bytes): New function.

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

14 years ago2010-01-08 Steve Ellcey <sje@cup.hp.com>
sje [Fri, 8 Jan 2010 21:54:37 +0000 (21:54 +0000)]
2010-01-08  Steve Ellcey  <sje@cup.hp.com>

PR target/37454
* configure.ac: Modify -rdynamic check.
* configure: Regenerate.

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

14 years ago PR ada/41929
ro [Fri, 8 Jan 2010 19:02:51 +0000 (19:02 +0000)]
PR ada/41929
* gnat.dg/null_pointer_deref1.adb: Don't run on
sparc*-sun-solaris2.11.

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

14 years ago* config/sh/sh.c (sh_expand_epilogue): Fix interrupt handler
dj [Fri, 8 Jan 2010 19:02:28 +0000 (19:02 +0000)]
* config/sh/sh.c (sh_expand_epilogue): Fix interrupt handler
register popping order.

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

14 years ago2010-01-08 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 8 Jan 2010 16:57:59 +0000 (16:57 +0000)]
2010-01-08  Richard Guenther  <rguenther@suse.de>

PR lto/42528
* c.opt (fsigned-char): Also let LTO handle this option.
(funsigned-char): Likewise.

lto/
* lto-lang.c (lto_handle_option): Handle -f[un]signed-char.
(lto_init): Do not init char_type_node in a standard way
but according to flag_signed_char.

* gcc.dg/lto/20100103-1_0.c: New testcase.
* gcc.dg/lto/20100103-2_0.c: Likewise.

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

14 years agoRemove COMPONENT_REF limitation in SCoP detection.
spop [Fri, 8 Jan 2010 16:07:18 +0000 (16:07 +0000)]
Remove COMPONENT_REF limitation in SCoP detection.

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

* graphite-scop-detection.c (exclude_component_ref): Removed.
(is_simple_operand): Removed.
(stmt_simple_for_scop_p): Remove use of is_simple_operand.

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

14 years ago2010-01-08 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Fri, 8 Jan 2010 13:01:24 +0000 (13:01 +0000)]
2010-01-08  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/42573
* include/bits/allocator.h (struct __shrink_to_fit): Add.
* include/bits/stl_deque.h (deque<>::shrink_to_fit): Add.
* include/bits/stl_vector.h (vector<>::shrink_to_fit): Likewise.
* include/bits/stl_bvector.h (vector<bool>::shrink_to_fit): Likewise.
* include/bits/basic_string.h (basic_string<>::shrink_to_fit):
Likewise.
* include/ext/vstring.h (__versa_string<>::shrink_to_fit): Likewise.
* include/debug/deque: Add corresponding using declaration.
* include/debug/vector: Likewise.
* include/debug/string: Likewise.
* include/profile/deque: Likewise.
* include/profile/vector: Likewise.
* config/abi/pre/gnu.ver: Export new symbols.
* testsuite/23_containers/deque/capacity/shrink_to_fit.cc: New.
* testsuite/23_containers/vector/capacity/shrink_to_fit.cc: Likewise.
* testsuite/21_strings/basic_string/capacity/char/shrink_to_fit.cc:
Likewise.
* testsuite/21_strings/basic_string/capacity/wchar_t/shrink_to_fit.cc:
Likewise.
* testsuite/ext/vstring/capacity/shrink_to_fit.cc: Likewise.
* testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
Adjust dg-error line number.
* testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
Likewise.
* testsuite/23_containers/deque/requirements/dr438/
constructor_1_neg.cc: Likewise.
* testsuite/23_containers/deque/requirements/dr438/
constructor_2_neg.cc: Likewise.
* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
Adjust dg-error line number.
* testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
Likewise.
* testsuite/23_containers/vector/requirements/dr438/
constructor_1_neg.cc: Likewise.
* testsuite/23_containers/vector/requirements/dr438/
constructor_2_neg.cc: Likewise.

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

14 years ago2010-01-08 Tobias Burnus <burnus@net-b.de
burnus [Fri, 8 Jan 2010 09:23:26 +0000 (09:23 +0000)]
2010-01-08  Tobias Burnus  <burnus@net-b.de

        PR/fortran 25829
        * symbol.c (check_conflict, gfc_copy_attr): Add
        ASYNCHRONOUS support.
        (gfc_add_asynchronous): New function.
        * decl.c (match_attr_spec): Add ASYNCHRONOUS support.
        (gfc_match_asynchronous): New function.
        * dump-parse-tree.c (show_attr): Add ASYNCHRONOUS support.
        * gfortran.h (symbol_attribute): New ASYNCHRONOUS bit.
        (gfc_add_asynchronous): New Prototype.
        * module.c (ab_attribute, mio_symbol_attribute): Add
        ASYNCHRONOUS support.
        * resolve.c (was_declared): Ditto.
        * match.h (gfc_match_asynchronous): New prototype.
        * parse.c (decode_specification_statement,decode_statement):
        Add ASYNCHRONOUS support.

2010-01-08  Tobias Burnus  <burnus@net-b.de

        PR/fortran 25829
        * gfortran.dg/asynchronous_1.f90: New test.
        * gfortran.dg/asynchronous_2.f90: New test.
        * gfortran.dg/conflicts.f90: Update error message.

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

14 years agoFix PR42221.
spop [Fri, 8 Jan 2010 08:04:35 +0000 (08:04 +0000)]
Fix PR42221.

2009-12-23  Sebastian Pop  <sebastian.pop@amd.com>

PR middle-end/42221
* sese.c (expand_scalar_variables_expr): Follow the SSA links into
the array indexing of ADDR_EXPRs.

* testsuite/gcc.dg/graphite/pr42221.c: New.

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

14 years agoFix PR42521.
spop [Fri, 8 Jan 2010 07:39:01 +0000 (07:39 +0000)]
Fix PR42521.

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

PR middle-end/42521
* graphite.c (graphite_finalize): Call scev_reset.
(graphite_transform_loops): Do not call scev_reset between the code
generation of scops.

* testsuite/gcc.dg/graphite/pr42521.c: New.

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

14 years agoMemoize memory strides per loop.
spop [Fri, 8 Jan 2010 04:35:43 +0000 (04:35 +0000)]
Memoize memory strides per loop.

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

* graphite-interchange.c (memory_stride_in_loop): Renamed
pdr_stride_in_loop.
(memory_strides_in_loop): Renamed memory_strides_in_loop_1.
(memory_strides_in_loop): Memoize the memory strides per loop.
(lst_interchange_profitable_p): Do not initialize to zero the memory
strides.
* graphite-poly.h (struct lst): Add a field memory_strides.
(LST_LOOP_MEMORY_STRIDES): New.
(new_lst_loop): Initialize LST_LOOP_MEMORY_STRIDES to -1.
(free_lst): Clear LST_LOOP_MEMORY_STRIDES.

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

14 years agoCompute memory strides on a whole loop.
spop [Fri, 8 Jan 2010 04:35:35 +0000 (04:35 +0000)]
Compute memory strides on a whole loop.

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

* graphite-interchange.c (memory_strides_in_loop_depth): Renamed
memory_strides_in_loop.  Gather memory strides on a whole loop.
(pbb_interchange_profitable_p): Renamed lst_interchange_profitable_p.
(lst_interchange_profitable_p): Removed.
(lst_try_interchange_loops): Call lst_interchange_profitable_p.

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

14 years agoRevert: Remove context_loop and level from translate_clast_* methods.
spop [Fri, 8 Jan 2010 01:12:30 +0000 (01:12 +0000)]
Revert: Remove context_loop and level from translate_clast_* methods.

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

Revert patch 2009-11-23  Tobias Grosser  <grosser@fim.uni-passau.de>
* graphite-clast-to-gimple.c (try_mark_loop_parallel): New.
(translate_clast_for, translate_clast_guard, translate_clast, gloog):
Remove context_loop and level.

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

14 years agoDaily bump.
gccadmin [Fri, 8 Jan 2010 00:18:44 +0000 (00:18 +0000)]
Daily bump.

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

14 years ago PR bootstrap/42424
ghazi [Thu, 7 Jan 2010 21:58:23 +0000 (21:58 +0000)]
PR bootstrap/42424
* configure.ac: Include libtool m4 files.
        (_LT_CHECK_OBJDIR): Call it.
(extra_mpc_mpfr_configure_flags, extra_mpc_gmp_configure_flags,
gmplibs, ppllibs, clooglibs): Use $lt_cv_objdir.

* configure: Regenerate.

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

14 years agoFix pathname.
hjl [Thu, 7 Jan 2010 21:55:20 +0000 (21:55 +0000)]
Fix pathname.

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

14 years ago PR libffi/40701
ro [Thu, 7 Jan 2010 20:35:33 +0000 (20:35 +0000)]
PR libffi/40701
* testsuite/libffi.call/ffitest.h [__alpha__ && __osf__] (PRIdLL,
PRIuLL, PRId64, PRIu64, PRIuPTR): Define.
* testsuite/libffi.call/cls_align_sint64.c: Add -Wno-format on
alpha*-dec-osf*.
* testsuite/libffi.call/cls_align_uint64.c: Likewise.
* testsuite/libffi.call/cls_ulonglong.c: Likewise.
* testsuite/libffi.call/return_ll1.c: Likewise.
* testsuite/libffi.call/stret_medium2.c: Likewise.
* testsuite/libffi.special/ffitestcxx.h (allocate_mmap): Cast
MAP_FAILED to char *.

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

14 years agoFix PR bootstrap/41818.
rwild [Thu, 7 Jan 2010 19:53:50 +0000 (19:53 +0000)]
Fix PR bootstrap/41818.

/:
PR bootstrap/41818
* Makefile.tpl (BASE_TARGET_EXPORTS): Only add TARGET_LIB_PATH
to $(RPATH_ENVVAR) if bootstrapping.  Fix typo in comment.
* Makefile.in: Regenerate.

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

14 years agoFix PR c++/40155
dodji [Thu, 7 Jan 2010 19:21:46 +0000 (19:21 +0000)]
Fix PR c++/40155

gcc/cp/ChangeLog:
c++/40155
* pt.c (unify_pack_expansion): In non-deduced contexts, re-use template
arguments that were previously deduced.

gcc/testsuite/ChangeLog:
c++/40155
* g++.dg/cpp0x/variadic-unify-2.C: New test.

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

14 years ago2010-01-07 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 7 Jan 2010 19:07:53 +0000 (19:07 +0000)]
2010-01-07  Benjamin Kosnik  <bkoz@redhat.com>

* doc/xml/manual/evolution.xml: Fix typos, update.

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