OSDN Git Service

pf3gnuchains/gcc-fork.git
11 years ago * es.po: Update.
jsm28 [Sun, 7 Feb 2010 18:03:42 +0000 (18:03 +0000)]
* es.po: Update.

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

11 years ago * es.po, nl.po: Update.
jsm28 [Sun, 7 Feb 2010 18:02:05 +0000 (18:02 +0000)]
* es.po, nl.po: Update.

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

11 years ago2010-02-07 Richard Guenther <rguenther@suse.de>
rguenth [Sun, 7 Feb 2010 17:18:22 +0000 (17:18 +0000)]
2010-02-07  Richard Guenther  <rguenther@suse.de>

PR middle-end/42991
* expr.c (get_inner_reference): Always initialize *pbitsize.

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

11 years ago2010-02-07 Richard Guenther <rguenther@suse.de>
rguenth [Sun, 7 Feb 2010 13:42:52 +0000 (13:42 +0000)]
2010-02-07  Richard Guenther  <rguenther@suse.de>

PR middle-end/42956
* gimplify.c (gimple_fold_indirect_ref): Avoid generating
new ARRAY_REFs on variable size element or minimal index arrays.
Complete.
* tree-ssa-loop-ivopts.c (find_interesting_uses_address): Use
gimple_fold_indirect_ref.

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

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

11 years ago2010-02-07 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Sun, 7 Feb 2010 10:29:04 +0000 (10:29 +0000)]
2010-02-07  Paolo Carlini  <paolo.carlini@oracle.com>

* include/bits/stl_pair.h (pair<>::pair(_U1&&, const _T2&),
pair<>::pair(const _T1&, _U2&&), pair<>::pair(_U1&&, _U2&&)):
Revert to std::is_convertible, basing on DR 811.

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

11 years ago2010-02-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sun, 7 Feb 2010 07:50:17 +0000 (07:50 +0000)]
2010-02-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/42742
* gfortran.dg/fmt_cache_2.f: New test.

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

11 years ago2010-02-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sun, 7 Feb 2010 07:45:55 +0000 (07:45 +0000)]
2010-02-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/42742
* io/format.c (reset_fnode_counters): Use the correct pointer to the
head of the fnode list. (parse_format): Remove previous hack that set
limit on size of format string for caching.

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

11 years agoRemove empy entry.
hjl [Sun, 7 Feb 2010 04:07:05 +0000 (04:07 +0000)]
Remove empy entry.

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

11 years agoDaily bump.
gccadmin [Sun, 7 Feb 2010 00:16:47 +0000 (00:16 +0000)]
Daily bump.

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

11 years ago2010-02-06 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Sat, 6 Feb 2010 21:30:52 +0000 (21:30 +0000)]
2010-02-06  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/42989
* config/abi/pre/gnu.ver: Fix wstring move assignment operator typo.

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

11 years ago2010-02-06 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Sat, 6 Feb 2010 20:41:09 +0000 (20:41 +0000)]
2010-02-06  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/27340
* include/bits/valarray_before.h: Uglify the structs wrapping
cmath functions differently, eg, _Cos instead of __cos.
* include/bits/valarray_after.h: Adjust.

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

11 years ago2010-02-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sat, 6 Feb 2010 18:34:13 +0000 (18:34 +0000)]
2010-02-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

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

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

11 years agoFix PR42637.
spop [Sat, 6 Feb 2010 17:41:54 +0000 (17:41 +0000)]
Fix PR42637.

2010-02-05  Sebastian Pop  <sebastian.pop@amd.com>
    Konrad Trifunovic  <konrad.trifunovic@inria.fr>

PR middle-end/42637
* graphite-dependences.c (build_lexicographical_constraint): Return
a union of dependence polyhedra.
(dependence_polyhedron_1): Adapt for build_lexicographical_constraint.

* testsuite/gcc.dg/graphite/block-0.c: Enable runtime check.  XFAILed.
* testsuite/gcc.dg/graphite/block-4.c: Same.
* testsuite/gcc.dg/graphite/block-7.c: Same.
* testsuite/gcc.dg/graphite/interchange-12.c: Same.
* testsuite/gcc.dg/graphite/interchange-mvt.c: Same.
* testsuite/gfortran.dg/graphite/interchange-1.f: XFAILed.
* testsuite/gfortran.dg/graphite/interchange-3.f90: XFAILed.
* testsuite/gfortran.dg/graphite/run-id-1.f: New testcase for PR42637.

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

11 years agoDo not FAIL in miscompiled runtime tests.
spop [Sat, 6 Feb 2010 17:41:47 +0000 (17:41 +0000)]
Do not FAIL in miscompiled runtime tests.

2010-02-03  Sebastian Pop  <sebastian.pop@amd.com>

* testsuite/gcc.dg/graphite/interchange-12.c: Return 0 to avoid
the execution check to FAIL.  This testcase is miscompiled by Graphite
and the check should be re-enabled.
* testsuite/gcc.dg/graphite/interchange-mvt.c: Same.
* testsuite/gcc.dg/graphite/block-0.c: Same.
* testsuite/gcc.dg/graphite/block-4.c: Same.
* testsuite/gcc.dg/graphite/block-7.c: Same.

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

11 years agoFix testsuite.
spop [Sat, 6 Feb 2010 17:41:41 +0000 (17:41 +0000)]
Fix testsuite.

2010-02-03  Sebastian Pop  <sebastian.pop@amd.com>

* testsuite/gcc.dg/graphite/interchange-mvt.c: Un-XFAILed.
* testsuite/gcc.dg/graphite/scop-0.c: Fix spaces.
* testsuite/gfortran.dg/graphite/block-1.f90: Rewrite expected output.
* testsuite/gfortran.dg/graphite/block-2.f: Same.
* testsuite/gfortran.dg/graphite/block-3.f90: Same.
* testsuite/gfortran.dg/graphite/block-4.f90: Same.
* testsuite/gfortran.dg/graphite/interchange-1.f: Un-XFAILed.
* testsuite/gfortran.dg/graphite/interchange-3.f90: Un-XFAILed.

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

11 years agoCorrect the lexicographical function, add debug_pddr.
spop [Sat, 6 Feb 2010 17:41:34 +0000 (17:41 +0000)]
Correct the lexicographical function, add debug_pddr.

2010-02-03  Sebastian Pop  <sebastian.pop@amd.com>

* graphite-dependences.c (new_poly_ddr): Initialize PDDR_KIND and
PDDR_ORIGINAL_SCATTERING_P.
(pddr_is_empty): Rewritten.
(print_dependence_polyhedron_layout): New.
(print_pddr): New.
(debug_pddr): New.
(build_alias_set_powerset): Moved up.
(poly_drs_may_alias_p): Moved up.
(lexicographically_gt_p): Removed.
(build_lexicographically_gt_constraint): Renamed
build_lexicographical_constraint, reimplemented.
(dependence_polyhedron_1): Simplified parameters.
(dependence_polyhedron): Same.  Keep along empty PDDRs
to make efficient use of the cache.
(reduction_dr_p): Compute the PBBs don't pass them as parameters.
(graphite_legal_transform_dr): Rewritten.
(graphite_legal_transform_bb): Pass fewer arguments to
graphite_legal_transform_dr.
(graphite_carried_dependence_level_k): Simplified implementation.
(dot_original_deps_stmt_1): Call dependence_polyhedron.
(dot_transformed_deps_stmt_1): Same.
(dot_original_deps): Same.
(dot_transformed_deps): Same.
* graphite-dependences.h (struct poly_ddr): Added a new field
original_scattering_p.
(PDDR_ORIGINAL_SCATTERING_P): New.
(print_pddr): Declared.
(debug_pddr): Declared.
* graphite-ppl.c: Clarify comment.
* sese.h (print_gimple_bb): Removed unused declaration.
(debug_gbb): Same.

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

11 years agoAdd runtime tests for interchange and blocking.
spop [Sat, 6 Feb 2010 17:41:28 +0000 (17:41 +0000)]
Add runtime tests for interchange and blocking.

2010-02-03  Sebastian Pop  <sebastian.pop@amd.com>

* testsuite/g++.dg/graphite/graphite.exp: Rewritten.
* testsuite/gcc.dg/graphite/graphite.exp: Rewritten.
* testsuite/gfortran.dg/graphite/graphite.exp: Rewritten.
* gcc/testsuite/gcc.dg/graphite/block-0.c: Added runtime test.
* testsuite/gcc.dg/graphite/block-1.c: Same.
* testsuite/gcc.dg/graphite/block-3.c: Same.
* testsuite/gcc.dg/graphite/block-4.c: Same.
* testsuite/gcc.dg/graphite/block-5.c: Same.
* testsuite/gcc.dg/graphite/block-6.c: Same.
* testsuite/gcc.dg/graphite/block-7.c: Same.
* testsuite/gcc.dg/graphite/interchange-0.c: Same.
* testsuite/gcc.dg/graphite/interchange-1.c: Same.
* testsuite/gcc.dg/graphite/interchange-10.c: Same.
* testsuite/gcc.dg/graphite/interchange-11.c: Same.
* testsuite/gcc.dg/graphite/interchange-12.c: Same.
* testsuite/gcc.dg/graphite/interchange-2.c: Same.
* testsuite/gcc.dg/graphite/interchange-3.c: Same.
* testsuite/gcc.dg/graphite/interchange-4.c: Same.
* testsuite/gcc.dg/graphite/interchange-5.c: Same.
* testsuite/gcc.dg/graphite/interchange-6.c: Same.
* testsuite/gcc.dg/graphite/interchange-7.c: Same.
* testsuite/gcc.dg/graphite/interchange-8.c: Same.
* testsuite/gcc.dg/graphite/interchange-9.c: Same.
* testsuite/gcc.dg/graphite/interchange-mvt.c: Same.
* testsuite/gcc.dg/graphite/run-id-2.c: Remove useless dg-do run.

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

11 years agoMake calls to dot run in background.
spop [Sat, 6 Feb 2010 17:41:22 +0000 (17:41 +0000)]
Make calls to dot run in background.

2010-01-22  Ramakrishna Upadrasta <Ramakrishna.Upadrasta@inria.fr>

* graphite-scop-detection.c (dot_all_scops): Make calls to dot run in
  background.

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

11 years agoAdd more testcases.
spop [Sat, 6 Feb 2010 17:41:15 +0000 (17:41 +0000)]
Add more testcases.

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

* testsuite/gcc.dg/graphite/id-17.c: New.
* testsuite/gcc.dg/graphite/pr41888.c: New.
* testsuite/gcc.dg/graphite/scop-22.c: New.
* testsuite/gfortran.dg/graphite/pr40982.f90: New.

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

11 years agoClarify comments and use build_pddr.
spop [Sat, 6 Feb 2010 17:41:09 +0000 (17:41 +0000)]
Clarify comments and use build_pddr.

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

* graphite-dependences.c: Clarify comments.
(build_pddr): Add an extra parameter direction.
(graphite_legal_transform_dr): Use build_pddr.
(dot_original_deps_stmt_1): Update use of build_pddr.
(dot_transformed_deps_stmt_1): Same.
(dot_original_deps): Same.
(dot_transformed_deps): Same.

* testsuite/gcc.dg/graphite/interchange-12.c: New.
* gcc/testsuite/gcc.dg/graphite/block-7.c: New.

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

11 years agoFix build_pddr.
spop [Sat, 6 Feb 2010 17:41:03 +0000 (17:41 +0000)]
Fix build_pddr.

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

* graphite-dependences.c (pddr_original_scattering): Renamed build_pddr.
(pddr_transformed_scattering): Removed.
(graphite_legal_transform_dr): Use build_pddr.
(dot_original_deps_stmt_1): Same.
(dot_transformed_deps_stmt_1): Same.
(dot_original_deps): Same.
(dot_transformed_deps): Same.

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

11 years agoAdd missing function comments.
spop [Sat, 6 Feb 2010 17:40:58 +0000 (17:40 +0000)]
Add missing function comments.

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

* graphite-dependences.c (lexicographically_gt_p): Add comments.
(build_lexicographically_gt_constraint): Same.
(dependence_polyhedron_1): Same.
(dependence_polyhedron): Same.

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

11 years agoFactor uses of build_pairwise_scheduling.
spop [Sat, 6 Feb 2010 17:40:52 +0000 (17:40 +0000)]
Factor uses of build_pairwise_scheduling.

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

* graphite-dependences.c (build_pairwise_scheduling_equality): Removed.
(build_pairwise_scheduling_inequality): Renamed build_pairwise_scheduling.
(lexicographically_gt_p): Change type of direction to int.
(build_lexicographically_gt_constraint): Same.
(dependence_polyhedron_1): Same.
(dependence_polyhedron): Same.
(pddr_original_scattering): Use integers for direction.
(pddr_transformed_scattering): Same.
(graphite_legal_transform_dr): Same.
(graphite_carried_dependence_level_k): Same.

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

11 years agoCleanup build relation.
spop [Sat, 6 Feb 2010 17:40:45 +0000 (17:40 +0000)]
Cleanup build relation.

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

* graphite-dependences.c (build_pairwise_constraint): Renamed
ppl_build_relation.  Moved...
(dr_equality_constraints): Use ppl_build_relation.
(build_pairwise_scheduling_equality): Same.
(build_pairwise_scheduling_inequality): Same.
* graphite-ppl.c (ppl_build_relation): ...here.
* graphite-ppl.h (ppl_build_relation): Declared.

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

11 years ago2010-02-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sat, 6 Feb 2010 14:39:51 +0000 (14:39 +0000)]
2010-02-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran
* io/transfer.c (read_sf): Handle EOR and EOF conditions for
ADVANCE="no" with PAD="yes" or PAD="no".

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

11 years ago PR target/42957
rearnsha [Sat, 6 Feb 2010 14:05:27 +0000 (14:05 +0000)]
PR target/42957
* arm.c (arm_override_options): Just return if the user has specified
an invalid fpu name.

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

11 years agoDaily bump.
gccadmin [Sat, 6 Feb 2010 00:16:49 +0000 (00:16 +0000)]
Daily bump.

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

11 years ago * g++.dg/ext/label13.C: Move constructor body out of class.
jason [Fri, 5 Feb 2010 22:17:17 +0000 (22:17 +0000)]
* g++.dg/ext/label13.C: Move constructor body out of class.

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

11 years ago PR c++/42870
jason [Fri, 5 Feb 2010 22:17:09 +0000 (22:17 +0000)]
PR c++/42870
* config/i386/cygming.h (ASM_OUTPUT_DEF_FROM_DECLS): Call
i386_pe_maybe_record_exported_symbol.

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

11 years ago * sv.po: Update.
jsm28 [Fri, 5 Feb 2010 20:48:17 +0000 (20:48 +0000)]
* sv.po: Update.

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

11 years ago2010-02-05 Steve Ellcey <sje@cup.hp.com>
sje [Fri, 5 Feb 2010 18:21:06 +0000 (18:21 +0000)]
2010-02-05  Steve Ellcey  <sje@cup.hp.com>

PR target/42924
* config/pa/pa.c (TARGET_DELEGITIMIZE_ADDRESS): Redefine.
(pa_delegitimize_address): New function.

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

11 years ago2010-02-05 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Fri, 5 Feb 2010 17:25:12 +0000 (17:25 +0000)]
2010-02-05  Paolo Carlini  <paolo.carlini@oracle.com>

* include/std/future (swap(packaged_task<>&, packaged_task<>&)): Fix
typo in last commit.

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

11 years ago2010-02-05 Ozkan Sezer <sezeroz@gmail.com>
ktietz [Fri, 5 Feb 2010 17:23:24 +0000 (17:23 +0000)]
2010-02-05  Ozkan Sezer  <sezeroz@gmail.com>

        * config/i386/msformat-c.c (ms_printf_length_specs): Set the
        scalar_identity_flag for the size_t/ptrdiff_t %Id and %Iu specs.

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

11 years ago2010-02-05 Ozkan Sezer <sezeroz@gmail.com>
ktietz [Fri, 5 Feb 2010 17:22:54 +0000 (17:22 +0000)]
2010-02-05  Ozkan Sezer  <sezeroz@gmail.com>

        * gcc.dg/format/ms-format3.c: New test for specific MS types.

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

11 years ago2010-02-05 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Fri, 5 Feb 2010 17:19:10 +0000 (17:19 +0000)]
2010-02-05  Paolo Carlini  <paolo.carlini@oracle.com>

* include/std/future (swap(packaged_task<>&, packaged_task<>&),
swap(promise<>&, promise<>&)): Add; minor formatting fixes.
* testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust
dg-error line number.
* testsuite/30_threads/packaged_task/cons/copy_neg.cc: Likewise.
* testsuite/30_threads/promise/cons/assign_neg.cc: Likewise.
* testsuite/30_threads/promise/cons/copy_neg.cc: Likewise.

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

11 years ago2010-02-05 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 5 Feb 2010 15:38:04 +0000 (15:38 +0000)]
2010-02-05  Richard Guenther  <rguenther@suse.de>

* Make-lang.in (cp/cp-lang.o): Depend on gt-cp-cp-lang.h.
* cp-lang.c: Include gt-cp-cp-lang.h.
* config-lang.in (gtfiles): Add cp/cp-lang.c.

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

11 years ago2010-02-05 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 5 Feb 2010 15:31:15 +0000 (15:31 +0000)]
2010-02-05  Richard Guenther  <rguenther@suse.de>

PR lto/42762
* lto-streamer-in.c (get_resolution): Deal with references
to undefined functions.

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

11 years ago2010-02-05 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 5 Feb 2010 15:28:31 +0000 (15:28 +0000)]
2010-02-05  Richard Guenther  <rguenther@suse.de>

* tree-ssa-ccp.c (get_symbol_constant_value): Strip all
conversions.
(fold_const_aggregate_ref): Likewise.
(ccp_fold_stmt): Substitute loads.
(maybe_fold_reference): Verify types before substituting.
Unshare properly.
(fold_gimple_assign): Unshare properly.
(fold_stmt_1): Insert conversion if necessary before replacing
the RHS.

* gcc.dg/tree-ssa/ssa-ccp-28.c: New testcase.

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

11 years ago * config/rs6000/rs6000.c (rs6000_override_options): Invert check
froydnj [Fri, 5 Feb 2010 14:47:34 +0000 (14:47 +0000)]
* config/rs6000/rs6000.c (rs6000_override_options): Invert check
for rs6000_gen_cell_microcode.

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

11 years ago * be.po, ca.po, da.po, de.po, el.po, es.po, fr.po, id.po, ja.po,
jsm28 [Fri, 5 Feb 2010 12:58:58 +0000 (12:58 +0000)]
* be.po, ca.po, da.po, de.po, el.po, es.po, fr.po, id.po, ja.po,
nl.po, sv.po, tr.po, uk,po, vi.po, zh_CN.po, zh_TW.po: Update.

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

11 years ago * be.po, da.po, de.po, el.po, es.po, fi.po, fr.po, id.po, ja.po,
jsm28 [Fri, 5 Feb 2010 12:58:00 +0000 (12:58 +0000)]
* be.po, da.po, de.po, el.po, es.po, fi.po, fr.po, id.po, ja.po,
nl.po, ru.po, sr.po, sv.po, tr.po, zh_CN.po, zh_TW.po: Update.

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

11 years ago2010-02-05 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Fri, 5 Feb 2010 10:55:54 +0000 (10:55 +0000)]
2010-02-05  Paolo Carlini  <paolo.carlini@oracle.com>

* include/bits/stl_algobase.h (struct __iter_base): Rename to
_Iter_base; add iterator_type typedef.
(struct __miter_base): Rename to _Miter_base.
(struct __niter_base): Rename to _Niter_base.
(__miter_base, __niter_base): Add, use the latter; adjust everywhere.

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

11 years agoFix PR c++/42915
dodji [Fri, 5 Feb 2010 08:28:24 +0000 (08:28 +0000)]
Fix PR c++/42915

gcc/cp/ChangeLog:
PR c++/42915
* typeck.c (get_template_parms_of_dependent_type): Try getting
the template parameters fromt the type itself first.

gcc/testsuite/ChangeLog:
PR c++/42915
g++.dg/other/crash-9.C: New test.

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

11 years ago2010-02-05 Paul Thomas <pault@gcc.gnu.org>
pault [Fri, 5 Feb 2010 05:28:37 +0000 (05:28 +0000)]
2010-02-05  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/42309
* trans-expr.c (gfc_conv_subref_array_arg): Add new argument
'formal_ptr'. If this is true, give returned descriptor unity
lbounds, in all dimensions, and the appropriate offset.
(gfc_conv_procedure_call); If formal is a pointer, set the last
argument of gfc_conv_subref_array_arg to true.
* trans.h : Add last argument for gfc_conv_subref_array_arg.
* trans-io.c (set_internal_unit, gfc_trans_transfer): Set the
new arg of gfc_conv_subref_array_arg to false.
* trans-stmt.c (forall_make_variable_temp): The same.

2010-02-05  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/42309
* gfortran.dg/subref_array_pointer_4.f90 : New test.

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

11 years agoDaily bump.
gccadmin [Fri, 5 Feb 2010 00:16:45 +0000 (00:16 +0000)]
Daily bump.

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

11 years ago2010-02-04 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 4 Feb 2010 18:20:34 +0000 (18:20 +0000)]
2010-02-04  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/42460
* doc/doxygen/user.cfg.in: Update file list.
* include/debug/safe_sequence.h: Doxygen markup fixes for '' and "".
* include/debug/safe_base.h: Same.
* include/debug/macros.h: Same.
* include/tr1_impl/regex: Same.
* include/std/iostream: Same.
* include/std/streambuf: Same.
* include/std/bitset: Same.
* include/std/iosfwd: Same.
* include/std/limits: Same.
* include/std/fstream: Same.
* include/std/istream: Same.
* include/std/ostream: Same.
* include/std/sstream: Same.
* include/parallel/multiway_merge.h: Same.
* include/parallel/for_each.h: Same.
* include/parallel/workstealing.h: Same.
* include/parallel/omp_loop_static.h: Same.
* include/parallel/omp_loop.h: Same.
* include/c_std/csignal: Same.
* include/c_std/cstdlib: Same.
* include/c_std/cstdio: Same.
* include/c_std/cstdarg: Same.
* include/c_std/cctype: Same.
* include/c_std/cerrno: Same.
* include/c_std/cmath: Same.
* include/c_std/ciso646: Same.
* include/c_std/ctime: Same.
* include/c_std/clocale: Same.
* include/c_std/climits: Same.
* include/c_std/cassert: Same.
* include/c_std/csetjmp: Same.
* include/c_std/cwchar: Same.
* include/c_std/cfloat: Same.
* include/c_std/cstring: Same.
* include/c_std/cstddef: Same.
* include/c_std/cwctype: Same.
* include/profile/iterator_tracker.h: Same.
* include/profile/impl/profiler_trace.h: Same.
* include/ext/vstring.h: Same.
* include/ext/algorithm: Same.
* include/ext/pb_ds/detail/pat_trie_/pat_trie_.h.pp: Same.
* include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.h.pp: Same.
* include/ext/pb_ds/detail/type_utils.hpp: Same.
* include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same
* include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
* include/ext/rc_string_base.h: Same.
* include/ext/stdio_sync_filebuf.h: Same.
* include/ext/functional: Same.
* include/ext/mt_allocator.h: Same.
* include/bits/basic_ios.h: Same.
* include/bits/stl_map.h: Same.
* include/bits/stl_algobase.h: Same.
* include/bits/stl_queue.h: Same.
* include/bits/locale_classes.h: Same.
* include/bits/stl_set.h: Same.
* include/bits/locale_facets.h: Same.
* include/bits/stl_stack.h: Same.
* include/bits/stl_iterator_base_types.h: Same.
* include/bits/basic_string.h: Same.
* include/bits/stl_multimap.h: Same.
* include/bits/ios_base.h: Same.
* include/bits/stl_deque.h: Same.
* include/bits/stl_multiset.h: Same.
* include/bits/stl_iterator_base_funcs.h: Same.
* include/bits/char_traits.h: Same.
* include/bits/stl_algo.h: Same.
* include/bits/stl_iterator.h: Same.
* include/bits/stl_tempbuf.h: Same.
* include/bits/random.tcc: Same.
* include/bits/stl_function.h: Same.
* include/bits/cpp_type_traits.h: Same.
* include/bits/random.h: Same.
* include/bits/allocator.h: Same.
* include/bits/locale_facets_nonio.h: Same.
* include/c_global/csignal: Same.
* include/c_global/cstdlib: Same.
* include/c_global/cstdio: Same.
* include/c_global/cstdarg: Same.
* include/c_global/cctype: Same.
* include/c_global/cerrno: Same.
* include/c_global/cmath: Same.
* include/c_global/ciso646: Same.
* include/c_global/ctime: Same.
* include/c_global/clocale: Same.
* include/c_global/climits: Same.
* include/c_global/cassert: Same.
* include/c_global/csetjmp: Same.
* include/c_global/cwchar: Same.
* include/c_global/cfloat: Same.
* include/c_global/cstring: Same.
* include/c_global/cstddef: Same.
* include/c_global/cwctype: Same.
* include/tr1/hypergeometric.tcc: Same.
* include/tr1/random.tcc: Same.
* include/tr1/functional: Same.
* include/tr1/random.h: Same.
* include/backward/auto_ptr.h: Same.
* include/backward/binders.h: Same.
* testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
Adjust line numbers.
* testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
* testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
Same.
* testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
Same.

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

11 years ago * testsuite/demangle-expected: Add missing --format=gnu-v3.
tromey [Thu, 4 Feb 2010 16:54:31 +0000 (16:54 +0000)]
* testsuite/demangle-expected: Add missing --format=gnu-v3.

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

11 years ago * gcc.pot: Regenerate.
jsm28 [Thu, 4 Feb 2010 16:22:03 +0000 (16:22 +0000)]
* gcc.pot: Regenerate.

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

11 years ago2010-02-04 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 4 Feb 2010 16:14:17 +0000 (16:14 +0000)]
2010-02-04  Richard Guenther  <rguenther@suse.de>

PR rtl-optimization/42952
* dse.c (const_or_frame_p): Remove MEM handling.

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

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

11 years ago * config/mn10300/mn10300.c (TARGET_ASM_OUTPUT_MI_THUNK): Define.
nickc [Thu, 4 Feb 2010 08:49:55 +0000 (08:49 +0000)]
    * config/mn10300/mn10300.c (TARGET_ASM_OUTPUT_MI_THUNK): Define.
        (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Define.
        (function_arg): Use NULL_RTX and FIRST_ARGUMENT_REGNUM.
        (mn10300_asm_output_mi_thunk): New function.
        (mn10300_can_output_mu_thunk): New function.
        * config/mn10300/mn10300.h (FIRST_ARGUMENT_REGNUM): Define.
        (FUNCTION_ARG_REGNO_P): Fix comment.  Accept d0 and d1.
        (FUNCTION_ARG): Delete incorrect comment.

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

11 years agoFix a couple of nits
ebotcazou [Thu, 4 Feb 2010 08:37:25 +0000 (08:37 +0000)]
Fix a couple of nits

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

11 years ago2010-02-03 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Thu, 4 Feb 2010 01:53:37 +0000 (01:53 +0000)]
2010-02-03  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/42901
* gfortran.dg/namelist_60.f90: New test.

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

11 years ago2010-02-03 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Thu, 4 Feb 2010 01:49:41 +0000 (01:49 +0000)]
2010-02-03  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/42901
* io/list_read.c (nml_get_obj_data): Add new qualifier flag, clean up
code, and adjust logic to set namelist info pointer correctly for array
qualifiers of derived type components.

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

11 years agoDaily bump.
gccadmin [Thu, 4 Feb 2010 00:16:49 +0000 (00:16 +0000)]
Daily bump.

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

11 years ago PR c++/40138
jason [Wed, 3 Feb 2010 21:53:41 +0000 (21:53 +0000)]
PR c++/40138
* fold-const.c (operand_equal_p): Handle erroneous types.

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

11 years ago PR c++/4926
jason [Wed, 3 Feb 2010 20:42:48 +0000 (20:42 +0000)]
PR c++/4926
PR c++/38600
* mangle.c (write_unqualified_id): Split out from write_expression.
(write_unqualified_name): Call it.
(write_member_name): Likewise.
(write_expression): Support TEMPLATE_ID_EXPR.
Disambiguate operator names.

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

11 years ago PR c++/12909
jason [Wed, 3 Feb 2010 20:42:35 +0000 (20:42 +0000)]
PR c++/12909
* mangle.c (write_type) [VECTOR_TYPE]: Change mangling.

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

11 years ago * config/h8300/h8300.md (can_delay): Fix attibute condition.
law [Wed, 3 Feb 2010 20:18:44 +0000 (20:18 +0000)]
* config/h8300/h8300.md (can_delay): Fix attibute condition.

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

11 years ago2010-02-03 Jonathan Wakely <jwakely.gcc@gmail.com>
redi [Wed, 3 Feb 2010 20:16:22 +0000 (20:16 +0000)]
2010-02-03  Jonathan Wakely  <jwakely.gcc@gmail.com>

* include/std/condition_variable (condition_variable_any): Provide
definitions for all members.
* src/condition_variable.cc (condition_variable_any): Adjust
definitions.
* config/abi/pre/gnu.ver: Adjust exports for condition_variable_any.
* testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
Adjust dg-error line number.
* testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
Likewise.
* testsuite/30_threads/condition_variable_any/members/1.cc: New.
* testsuite/30_threads/condition_variable_any/members/2.cc: New.
* testsuite/30_threads/condition_variable_any/requirements/
standard_layout.cc: Remove.
* testsuite/30_threads/condition_variable_any/native_handle/
typesizes.cc: Remove.

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

11 years ago2010-02-03 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Wed, 3 Feb 2010 19:01:31 +0000 (19:01 +0000)]
2010-02-03  Vladimir Makarov  <vmakarov@redhat.com>

PR rtl-optimizations/42941
* sched-deps.c (setup_insn_reg_pressure_info): Use xcalloc instead
of xmalloc.

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

11 years agoadd missing ChangeLog
jason [Wed, 3 Feb 2010 16:29:17 +0000 (16:29 +0000)]
add missing ChangeLog

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

11 years ago PR c++/35652
jason [Wed, 3 Feb 2010 16:28:07 +0000 (16:28 +0000)]
PR c++/35652
* builtins.c (c_strlen): Use EXPR_LOCATION in diagnostics.

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

11 years ago2010-02-03 Alexandre Oliva <aoliva@redhat.com>
rguenth [Wed, 3 Feb 2010 15:00:33 +0000 (15:00 +0000)]
2010-02-03  Alexandre Oliva  <aoliva@redhat.com>

PR debug/42896
* cselib.h (struct cselib_val_struct): Add uid.  Rename value to
hash.
(cselib_reset_table): Renamed from...
(cselib_reset_table_with_next_value): ... this.
(cselib_get_next_uid): Renamed from...
(cselib_get_next_unknown_value): ... this.
* cselib.c (next_uid): Renamed from...
(next_unknown_value): ... this.
(cselib_clear_table): Adjust.
(cselib_reset_table): Adjust.  Renamed from...
(cselib_reset_table_with_next_value): ... this.
(cselib_get_next_uid): Adjust.  Renamed from...
(cselib_get_next_unknown_value): ... this.
(get_value_hash): Use hash.
(cselib_hash_rtx): Likewise.
(new_cselib_val): Adjust.  Set and dump uid.
(cselib_lookup_mem): Pass next_uid as hash.
(cselib_subst_to_values): Likewise.
(cselib_log_lookup): Dump uid.
(cselib_lookup): Pass next_uid as hash.  Adjust.
(cselib_process_insn): Adjust.
(cselib_init): Initialize next_uid.
(cselib_finish): Adjust.
(dump_cselib_table): Likewise.
* dse.c (canon_address): Dump value uid.
* print-rtl.c (print_rtx): Print value uid.
* var-tracking.c (VARIABLE_HASH_VAL): Dropped.
(dvuid): New type.
(dv_uid): New function, sort of renamed from...
(dv_htab_hash): ... this, reimplemented in terms of it and...
(dv_uid2hash): ... this.  New.
(variable_htab_eq): Drop excess assertions.
(tie_break_pointers): Removed.
(canon_value_cmp): Compare uids.
(variable_post_merge_New_vals): Print uids.
(vt_add_function_parameters): Adjust.
(vt_initialize): Reset table.  Adjust.

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

11 years ago2010-02-03 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 3 Feb 2010 13:03:39 +0000 (13:03 +0000)]
2010-02-03  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/42944
* tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle
calloc.
(call_may_clobber_ref_p_1): Likewise.  Properly handle
malloc and calloc clobbering errno.

* gcc.dg/errno-1.c: New testcase.

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

11 years ago * doc/invoke.texi: Fix name of sched1 dump.
steven [Wed, 3 Feb 2010 12:36:27 +0000 (12:36 +0000)]
* doc/invoke.texi: Fix name of sched1 dump.

* opts.c (decode_options): Set flag_tree_switch_conversion
only conditionally on optimize >= 2.

* gcse.c: Assorted comment fixes in pass description.

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

11 years agoFix moxie tramponline alignment problem
green [Wed, 3 Feb 2010 11:36:30 +0000 (11:36 +0000)]
Fix moxie tramponline alignment problem

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

11 years ago2010-02-03 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 3 Feb 2010 11:13:17 +0000 (11:13 +0000)]
2010-02-03  Richard Guenther  <rguenther@suse.de>

PR middle-end/42927
* tree-cfg.c (verify_gimple_assign_binary): Fix shift verification.

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

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

11 years ago * config.gcc: Reenable check for obsolete targets.
ro [Wed, 3 Feb 2010 09:03:59 +0000 (09:03 +0000)]
* config.gcc: Reenable check for obsolete targets.
Obsolete alpha*-dec-osf4*, alpha*-dec-osf5.0*, mips-sgi-irix5*,
mips-sgi-irix6.[0-4]*.

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

11 years ago2010-02-03 Tobias Burnus <burnus@net-b.de>
burnus [Wed, 3 Feb 2010 08:26:08 +0000 (08:26 +0000)]
2010-02-03  Tobias Burnus  <burnus@net-b.de>

        PR fortran/42936
        * interface.c (compare_parameter): Disable rank-checking
        for NULL().

2010-02-03  Tobias Burnus  <burnus@net-b.de>

        PR fortran/42936
        * gfortran.dg/null_4.f90: New test.

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

11 years ago2010-02-02 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Wed, 3 Feb 2010 00:38:52 +0000 (00:38 +0000)]
2010-02-02  Paolo Carlini  <paolo.carlini@oracle.com>

* include/ext/vstring.h (__versa_string::shrink_to_fit): Fix
for -fno-exceptions.

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

11 years ago2010-02-02 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 3 Feb 2010 00:20:05 +0000 (00:20 +0000)]
2010-02-02  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/allocator.h: Fix for -fno-exceptions.
* include/bits/basic_string.h (basic_string::shrink_to_fit): Same.

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

11 years agoDaily bump.
gccadmin [Wed, 3 Feb 2010 00:16:56 +0000 (00:16 +0000)]
Daily bump.

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

11 years ago PR c++/41090
jason [Wed, 3 Feb 2010 00:07:49 +0000 (00:07 +0000)]
PR c++/41090
* decl.c (cp_finish_decl): Add local statics to cfun->local_decls.
* optimize.c (clone_body): Remap their initializers when making base
variants.
(maybe_clone_body): Complain if multiple clones aren't safe.

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

11 years ago2010-02-02 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Tue, 2 Feb 2010 15:04:01 +0000 (15:04 +0000)]
2010-02-02  Paolo Carlini  <paolo.carlini@oracle.com>

Adjust date of the last ChangeLog entry.

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

11 years ago2010-02-01 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Tue, 2 Feb 2010 14:59:53 +0000 (14:59 +0000)]
2010-02-01  Paolo Carlini  <paolo.carlini@oracle.com>

* testsuite/30_threads/unique_future: Rename to /future.

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

11 years ago2010-02-02 Tobias Burnus <burnus@net-b.de>
burnus [Tue, 2 Feb 2010 13:05:50 +0000 (13:05 +0000)]
2010-02-02  Tobias Burnus  <burnus@net-b.de>

        PR fortran/42650
        * parse.c (decode_specification_statement): Use sym->result not
        * sym.

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

        PR fortran/42650
        * gfortran.dg/func_result_5.f90: New test.

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

11 years ago * config/rx/rx.c (rx_is_legitimate_constant): Treat a maximum
nickc [Tue, 2 Feb 2010 09:18:04 +0000 (09:18 +0000)]
   * config/rx/rx.c (rx_is_legitimate_constant): Treat a maximum
       constant size of 4 as being the same as 0.
       * doc/invoke.texi (RX Options): Document that -mmax-constant-size
       can take values in the range 0..4.

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

11 years ago2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
andreast [Tue, 2 Feb 2010 08:19:26 +0000 (08:19 +0000)]
2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>

PR java/41991
* include/posix.h: Redefine _Unwind_FindEnclosingFunction.

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

11 years ago2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
andreast [Tue, 2 Feb 2010 08:18:48 +0000 (08:18 +0000)]
2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>

PR java/41991
* config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
SHLIB_MAPFILES.

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

11 years ago2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
andreast [Tue, 2 Feb 2010 08:18:08 +0000 (08:18 +0000)]
2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>

PR java/41991
* unwind-dw2-fde-darwin.c: Re-export _Unwind_FindEnclosingFunction()
as _darwin10_Unwind_FindEnclosingFunction().
* libgcc-libsystem.ver: New.

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

11 years agoDaily bump.
gccadmin [Tue, 2 Feb 2010 00:17:09 +0000 (00:17 +0000)]
Daily bump.

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

11 years ago2010-02-01 Tobias Burnus <burnus@net-b.de>
burnus [Mon, 1 Feb 2010 21:37:49 +0000 (21:37 +0000)]
2010-02-01  Tobias Burnus  <burnus@net-b.de>

        PR fortran/42922
        * decl.c (variable_decl): Allow default initializer in
        TYPE declarations in PURE functions.

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

        PR fortran/42922
        * gfortran.dg/pure_initializer_3.f90: News test.

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

11 years ago2010-02-01 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Mon, 1 Feb 2010 19:52:42 +0000 (19:52 +0000)]
2010-02-01  Vladimir Makarov  <vmakarov@redhat.com>

PR target/41399
* sched-deps.c (sched_analyze_insn): Ignore fixed registers for
implicitly set registers.

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

11 years ago2010-02-01 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Mon, 1 Feb 2010 19:45:23 +0000 (19:45 +0000)]
2010-02-01  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/42408
* include/bits/random.h (linear_congruential_engine<>::
linear_congruential_engine(seed_seq&),
linear_congruential_engine<>::seed(seed_seq&),
mersenne_twister<>::mersenne_twister(seed_seq&),
mersenne_twister<>::seed(seed_seq&),
subtract_with_carry_engine<>::subtract_with_carry_engine(seed_seq&),
subtract_with_carry_engine<>::seed(seed_seq&),
discard_block_engine<>::discard_block_engine(seed_seq&),
discard_block_engine<>::seed(seed_seq&),
independent_bits_engine<>::independent_bits_engine(seed_seq&),
independent_bits_engine<>::seed(seed_seq&),
shuffle_order_engine<>::shuffle_order_engine(seed_seq&),
shuffle_order_engine<>::seed(seed_seq&)): Templatize.
* include/bits/random.tcc: Adjust.
* testsuite/26_numerics/random/subtract_with_carry_engine/cons/
seed_seq.cc: New.
* testsuite/26_numerics/random/mersenne_twister_engine/cons/
seed_seq.cc: Likewise.
* testsuite/26_numerics/random/linear_congruential_engine/
cons/seed_seq.cc: Likewise.

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

11 years ago * arm.c (FL_FOR_ARCH_7A): is also a superset of ARMv6K.
rearnsha [Mon, 1 Feb 2010 15:09:20 +0000 (15:09 +0000)]
* arm.c (FL_FOR_ARCH_7A): is also a superset of ARMv6K.
(arm_override_options): Allow automatic selection of the thread
pointer register if thumb2.
(legitimize_pic_address): Improve code sequences for Thumb2.
(arm_call_tls_get_addr): Likewise.
(legitimize_tls_address): Likewise.
* arm.md (pic_load_addr_arm): Delete.  Replace with ...
(pic_load_addr_32bit): ... this.  New named pattern.
* thumb2.md (pic_load_addr_thumb2): Delete.
(pic_load_dot_plus_four): Delete.
(tls_load_dot_plus_four): New named pattern.

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

11 years ago PR libgomp/29986
ro [Mon, 1 Feb 2010 13:35:10 +0000 (13:35 +0000)]
PR libgomp/29986
* doc/install.texi (Specific): Add sparc-sun-solaris2.10 entry.
Document fix for TLS bug.

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

11 years ago2010-02-01 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Mon, 1 Feb 2010 13:10:12 +0000 (13:10 +0000)]
2010-02-01  Paolo Carlini  <paolo.carlini@oracle.com>

* include/bits/forward_list.h (forward_list<>::resize(size_type),
forward_list(size_type)): Only declare.
* include/bits/forward_list.tcc (forward_list<>::resize(size_type),
forward_list(size_type)): Define, don't assume CopyConstructible.
* testsuite/23_containers/forward_list/cons/10.cc: New.
* testsuite/23_containers/forward_list/modifiers/6.cc: Likewis.
* testsuite/23_containers/forward_list/requirements/dr438/
assign_neg.cc: Adjust dg-error line numbers.
* 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.

* include/bits/forward_list.h: Use _M_get_Node_allocator throughout.

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

11 years ago * sv.po: Update.
jsm28 [Mon, 1 Feb 2010 00:28:40 +0000 (00:28 +0000)]
* sv.po: Update.

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

11 years agoDaily bump.
gccadmin [Mon, 1 Feb 2010 00:16:39 +0000 (00:16 +0000)]
Daily bump.

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

11 years ago2010-01-31 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Sun, 31 Jan 2010 22:52:25 +0000 (22:52 +0000)]
2010-01-31  Paolo Carlini  <paolo.carlini@oracle.com>

* testsuite/23_containers/array/requirements/exception/
generation_prohibited.c: Remove, swap can indeed throw (DR 774).

* testsuite/util/exception/safety.h (insert_base<__versa_string>): Fix.
* testsuite/util/testsuite_container_traits.h
(traits<__versa_string>): Enable insert tests.

2010-01-31  Paolo Carlini  <paolo.carlini@oracle.com>

* include/bits/forward_list.h (forward_list<>::insert_after
(const_iterator, size_type, const _Tp&), insert_after(const_iterator,
_InputIterator, _InputIterator), insert_after(const_iterator,
std::initializer_list<>)): Fix return type per N3000.
* testsuite/23_containers/forward_list/ext_pointer/modifiers/2.cc:
Adjust.
* testsuite/23_containers/forward_list/modifiers/2.cc: Likewise.
* testsuite/23_containers/forward_list/requirements/dr438/
assign_neg.cc: Adjust dg-error line numbers.
* 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.

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

11 years agogcc/fortran/
janus [Sun, 31 Jan 2010 21:56:02 +0000 (21:56 +0000)]
gcc/fortran/
2010-01-31  Janus Weil  <janus@gcc.gnu.org>

PR fortran/42888
* resolve.c (resolve_allocate_expr): Move default initialization code
here from gfc_trans_allocate.
* trans.c (gfc_trans_code): Call gfc_trans_class_assign also for
EXEC_INIT_ASSIGN.
* trans-expr.c (gfc_trans_class_assign): Handle default initialization
of CLASS variables via memcpy.
* trans-stmt.c (gfc_trans_allocate): Move default initialization code
to resolve_allocate_expr.

gcc/testsuite/
2010-01-31  Janus Weil  <janus@gcc.gnu.org>

PR fortran/42888
* gfortran.dg/allocate_derived_2.f90: New test.

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

11 years ago PR middle-end/42898
ebotcazou [Sun, 31 Jan 2010 20:00:54 +0000 (20:00 +0000)]
PR middle-end/42898
* gcc.dg/torture/pr42898-2.c: New test.

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

11 years ago2010-01-31 Richard Guenther <rguenther@suse.de>
rguenth [Sun, 31 Jan 2010 19:54:32 +0000 (19:54 +0000)]
2010-01-31  Richard Guenther  <rguenther@suse.de>

* tree-sra.c (ptr_parm_has_direct_uses): Rewrite to be
conservatively correct.

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

11 years ago PR target/42850
danglin [Sun, 31 Jan 2010 19:37:52 +0000 (19:37 +0000)]
PR target/42850
Revert:
2010-01-02  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

* config/pa/t-slibgcc-dwarf-ver (SHLIB_SOVERSION): Bump by two.

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

11 years ago * configure.ac: Add "recommended" version checks for GMP/MPC.
ghazi [Sun, 31 Jan 2010 18:12:21 +0000 (18:12 +0000)]
* configure.ac: Add "recommended" version checks for GMP/MPC.
Update recommended GMP/MPFR/MPC versions.
* configure: Regenerate.

gcc:
* doc/install.texi: Update recommended GMP/MPFR/MPC versions.

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

11 years ago2010-01-31 Kai Tietz <kai.tietz@onevision.com>
ktietz [Sun, 31 Jan 2010 17:05:08 +0000 (17:05 +0000)]
2010-01-31  Kai Tietz  <kai.tietz@onevision.com>

        * config.gcc: Adjust order of makefile fragments for mingw targets.

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

11 years ago2010-01-31 Richard Guenther <rguenther@suse.de>
rguenth [Sun, 31 Jan 2010 17:01:38 +0000 (17:01 +0000)]
2010-01-31  Richard Guenther  <rguenther@suse.de>

PR middle-end/42898
* gimplify.c (gimplify_init_constructor): For volatile LHS
initialize a temporary.

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

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

11 years ago2010-01-31 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Sun, 31 Jan 2010 16:54:49 +0000 (16:54 +0000)]
2010-01-31  Paolo Carlini  <paolo.carlini@oracle.com>

Revert last changes. Also revert, among the previous changes:
* include/std/condition_variable (condition_variable_any::
wait<>(_Lock&)): Provide definition.

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

11 years ago2010-01-31 Matthias Klose <doko@ubuntu.com>
doko [Sun, 31 Jan 2010 15:01:53 +0000 (15:01 +0000)]
2010-01-31  Matthias Klose  <doko@ubuntu.com>

        * configure.ac: Fix __stack_chk_fail check for cross builds configured
        --with-headers
        * configure: Regenerate.

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

11 years ago * MAINTAINERS: Move my Embecosm email address into the
amylaar [Sun, 31 Jan 2010 12:05:42 +0000 (12:05 +0000)]
* MAINTAINERS: Move my Embecosm email address into the
write-after-approval section.
(paperwork is in place since November)

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