OSDN Git Service

pf3gnuchains/gcc-fork.git
14 years agoFix ChangeLog entry date
green [Sat, 26 Dec 2009 05:04:08 +0000 (05:04 +0000)]
Fix ChangeLog entry date

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

14 years agoFix libffi docs
green [Sat, 26 Dec 2009 05:01:43 +0000 (05:01 +0000)]
Fix libffi docs

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

14 years agoIRIX support
green [Sat, 26 Dec 2009 04:59:25 +0000 (04:59 +0000)]
IRIX support

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

14 years agoavr32 libffi port
green [Sat, 26 Dec 2009 04:21:07 +0000 (04:21 +0000)]
avr32 libffi port

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

14 years agoDaily bump.
gccadmin [Sat, 26 Dec 2009 00:17:04 +0000 (00:17 +0000)]
Daily bump.

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

14 years agoDaily bump.
gccadmin [Fri, 25 Dec 2009 00:16:44 +0000 (00:16 +0000)]
Daily bump.

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

14 years ago PR c++/41305, DR 384
jason [Thu, 24 Dec 2009 21:46:14 +0000 (21:46 +0000)]
PR c++/41305, DR 384
* name-lookup.c (arg_assoc_class): Split out arg_assoc_class_only
and arg_assoc_bases.
(friend_of_associated_class_p): Remove.
(arg_assoc_namespace): Don't call it.
(arg_assoc_template_arg): Use arg_assoc_class_only for member
template context.
(arg_assoc_type): Handle UNION_TYPE and ENUMERAL_TYPE properly.

* name-lookup.c (arg_assoc): Handle TEMPLATE_ID_EXPR properly.

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

14 years ago2009-12-24 Andy Hutchinson <hutchinsonandy@gcc.gnu.org>
hutchinsonandy [Thu, 24 Dec 2009 20:32:38 +0000 (20:32 +0000)]
2009-12-24  Andy Hutchinson  <hutchinsonandy@gcc.gnu.org>

PR target/42457
* config/avr/avr.c (avr_extra_arch_macro): Remove static.
(avr_cpu_cpp_builtins): Remove.
* config/avr/avr.h (avr_extra_arch_macro): Add prototype.
* config/avr/avr-c.c: New File.
(avr_cpu_cpp_builtins) : Add.
* config/avr/t-avr: Add make information for avr-c.
* config.gcc (avr-*-*): Include avr-c.o as c and cpp object.

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

14 years ago2009-12-24 Andy Hutchinson <hutchinsonandy@gcc.gnu.org>
hutchinsonandy [Thu, 24 Dec 2009 19:53:57 +0000 (19:53 +0000)]
2009-12-24  Andy Hutchinson  <hutchinsonandy@gcc.gnu.org>

PR target/35013, 27192
* config/avr/avr.c (print_operand_address): Print correct program
memory address.
Add warning for large device offset addresses.
(avr_assemble_integer): Ditto.
(print_operand): Add warnings for incorrect addressing.
(out_movqi_r_mr): Tag assembler with new address codes.
(out_movhi_r_mr): Ditto.
(out_movsi_r_mr): Ditto.
(out_movqi_mr_r): Ditto.
(out_movhi_mr_r): Ditto.
(out_movsi_mr_r): Ditto.
* config/avr/predicates.md (text_segment_operand): New predicate.
* config/avr/avr.md (jump): Tag assembler with new address codes.
(call_insn): Ditto.
(call_value_insn): Ditto.
(*tablejump_lib): Ditto.
(*cbi): Ditto.
(*sbi): Ditto.
(indirect_jump): New define_expand.
(jcindirect_jump): New pattern for constant expression jump.
(njcindirect_jump): Renamed old indirect_jump.

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

14 years ago2009-12-24 Edward Smith-Rowland <3dw4rd@verizon.net>
paolo [Thu, 24 Dec 2009 18:12:02 +0000 (18:12 +0000)]
2009-12-24  Edward Smith-Rowland  <3dw4rd@verizon.net>
    Paolo Carlini  <paolo.carlini@oracle.com>

* include/std/bitset (bitset<>::bitset(const char*)): Add.

2009-12-24  Jonathan Wakely  <jwakely.gcc@gmail.com>
    Edward Smith-Rowland  <3dw4rd@verizon.net>

* testsuite/23_containers/bitset/cons/2.cc: New.

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

14 years ago2009-12-24 Jonathan Wakely <jwakely.gcc@gmail.com>
redi [Thu, 24 Dec 2009 14:54:33 +0000 (14:54 +0000)]
2009-12-24  Jonathan Wakely  <jwakely.gcc@gmail.com>

* include/std/functional (bind): Avoid invalid instantiations
for bind<void>.
* testsuite/20_util/bind/conv_result.cc: New.

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

14 years ago2009-12-24 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Thu, 24 Dec 2009 12:47:37 +0000 (12:47 +0000)]
2009-12-24  Paolo Carlini  <paolo.carlini@oracle.com>

* include/bits/stl_deque.h (copy_backward(_Deque_iterator,
_Deque_iterator, _Deque_iterator), move_backward(_Deque_iterator,
_Deque_iterator, _Deque_iterator)): Declare.
* include/bits/deque.tcc: Implement the latter.
* testsuite/performance/25_algorithms/
copy_backward_deque_iterators.cc: New.
* testsuite/25_algorithms/move_backward/deque_iterators/1.cc: Likewise.
* testsuite/25_algorithms/copy_backward/deque_iterators/1.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.

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

14 years ago * store-motion.c (build_store_vectors): Clear regs_set_in_block at
steven [Thu, 24 Dec 2009 12:28:52 +0000 (12:28 +0000)]
* store-motion.c (build_store_vectors): Clear regs_set_in_block at
the start of a loop over basic blocks.

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

14 years agoFix PR target/40887
ramana [Thu, 24 Dec 2009 10:46:00 +0000 (10:46 +0000)]
Fix PR target/40887

2009-12-24  Julian Brown  <julian@codesourcery.com>
            Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

        PR target/40887

        * config/arm/arm.c (output_call_mem): Remove armv5 support.
        * config/arm/arm.md (*call_mem): Disable for armv5. Add note.
        (*call_value_mem): Likewise.

        PR target/40887

        * gcc.target/gcc.arm/pr40887.c: New test.

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

14 years agoDaily bump.
gccadmin [Thu, 24 Dec 2009 00:16:52 +0000 (00:16 +0000)]
Daily bump.

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

14 years agoFixed ChangeLog entry.
ccoutant [Wed, 23 Dec 2009 19:02:07 +0000 (19:02 +0000)]
Fixed ChangeLog entry.

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

14 years ago2009-12-23 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Wed, 23 Dec 2009 18:45:41 +0000 (18:45 +0000)]
2009-12-23  Paolo Carlini  <paolo.carlini@oracle.com>

* testsuite/25_algorithms/copy/5.cc: Move...
* testsuite/25_algorithms/copy/deque_iterators/1.cc: ... here.
* testsuite/25_algorithms/move/2.cc: Move...
* testsuite/25_algorithms/move/deque_iterators/1.cc: ... here.

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

14 years ago2009-12-23 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Wed, 23 Dec 2009 17:14:15 +0000 (17:14 +0000)]
2009-12-23  Paolo Carlini  <paolo.carlini@oracle.com>

* include/bits/stl_deque.h (copy(_Deque_iterator, _Deque_iterator,
_Deque_iterator), move(_Deque_iterator, _Deque_iterator,
_Deque_iterator)): Declare.
* include/bits/deque.tcc: Implement the latter.
* testsuite/performance/25_algorithms/copy_deque_iterators.cc: New.
* testsuite/25_algorithms/move/2.cc: Likewise.
* testsuite/25_algorithms/copy/5.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.

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

14 years ago PR rtl-optimization/42475
jakub [Wed, 23 Dec 2009 17:04:07 +0000 (17:04 +0000)]
PR rtl-optimization/42475
* combine.c (make_compound_operation) <case SUBREG>: Use mode of
SUBREG_REG (x) instead of tem's mode.

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

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

14 years ago PR debug/42454
jakub [Wed, 23 Dec 2009 16:54:35 +0000 (16:54 +0000)]
PR debug/42454
* dwarf2out.c (add_ranges_by_labels_to_AT_range_list): New function.
(dwarf2out_finish): Call add_ranges_by_labels_to_AT_range_list.

* gcc.dg/debug/dwarf2/aranges-fnsec-1.c: Add check for .debug_ranges.

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

14 years agoFix PR target/42093
ramana [Wed, 23 Dec 2009 16:36:40 +0000 (16:36 +0000)]
Fix PR target/42093

2009-12-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

        PR target/42093
        * config/arm/arm.h (CASE_VECTOR_PC_RELATIVE): Fix macro usage
        to TARGET_THUMB1.
        (CASE_VECTOR_SHORTEN_MODE): Allow signed offsets
        only for TARGET_THUMB1.

2009-12-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

        PR target/42093
        * gcc.target/arm/pr42093.c: New test.

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

14 years agoPass floating point constant moves to integer registers
ramana [Wed, 23 Dec 2009 16:29:12 +0000 (16:29 +0000)]
Pass floating point constant moves to integer registers
as mov immediates for Thumb1.

2009-12-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

        PR target/40670
        * config/arm/arm.md: Split for Thumb1 as well.

        * gcc.target/arm/pr40670.c: New test.

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

14 years ago * gcc.target/alpha/20000715-1.c: Remove target selector.
uros [Wed, 23 Dec 2009 14:08:23 +0000 (14:08 +0000)]
* gcc.target/alpha/20000715-1.c: Remove target selector.
* gcc.target/alpha/20011018-1.c: Ditto.
* gcc.target/alpha/980217-1.c: Ditto.
* gcc.target/alpha/asm-1.c: Ditto.
* gcc.target/alpha/base-1.c: Ditto.
* gcc.target/alpha/base-2.c: Ditto.
* gcc.target/alpha/cix-1.c: Ditto.
* gcc.target/alpha/cix-2.c: Ditto.
* gcc.target/alpha/max-1.c: Ditto.
* gcc.target/alpha/max-2.c: Ditto.

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

14 years agoAdd missing testcases.
spop [Wed, 23 Dec 2009 07:51:19 +0000 (07:51 +0000)]
Add missing testcases.

2009-12-23  Sebastian Pop  <sebpop@gmail.com>

* g++.dg/graphite/id-1.C: New.
* g++.dg/graphite/pr41305.C: New.
* gcc.dg/graphite/id-16.c: New.
* gcc.dg/graphite/interchange-10.c: New.
* gcc.dg/graphite/interchange-11.c: New.
* gcc.dg/graphite/interchange-mvt.c: New.
* gcc.dg/graphite/pr40281.c: New.
* gcc.dg/graphite/run-id-2.c: New.
* gcc.dg/graphite/scop-dsyr2k.c: New.
* gcc.dg/graphite/scop-dsyrk.c: New.
* gcc.dg/graphite/scop-mvt.c: New.
* gcc.dg/graphite/scop-sor.c: New.
* gfortran.dg/graphite/id-18.f90: New.
* gfortran.dg/graphite/interchange-3.f90: New.
* gfortran.dg/graphite/pr42050.f90: New.

* testsuite/libgomp.graphite/pr4118.c: New.

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

14 years agoFix PR42180.
spop [Wed, 23 Dec 2009 07:51:05 +0000 (07:51 +0000)]
Fix PR42180.

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

PR middle-end/42180
* graphite-sese-to-poly.c (follow_ssa_with_commutative_ops): Handle
GIMPLE_CALL.

* testsuite/gfortran.dg/graphite/pr42180.f90: Add compile flags.

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

14 years agoFix PR42180.
spop [Wed, 23 Dec 2009 07:50:53 +0000 (07:50 +0000)]
Fix PR42180.

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

PR middle-end/42180
* graphite-sese-to-poly.c (split_reduction_stmt): Do not split blocks
that contain only one statement.

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

14 years agoFix PR42393.
spop [Wed, 23 Dec 2009 07:50:43 +0000 (07:50 +0000)]
Fix PR42393.

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

PR middle-end/42393
* testsuite/gfortran.dg/graphite/pr42393.f90: New.

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

14 years agoFix PR42186.
spop [Wed, 23 Dec 2009 07:50:32 +0000 (07:50 +0000)]
Fix PR42186.

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

PR middle-end/42186
* testsuite/gfortran.dg/graphite/pr42186.f90: New.

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

14 years agoFix PR42205.
spop [Wed, 23 Dec 2009 07:50:22 +0000 (07:50 +0000)]
Fix PR42205.

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

PR middle-end/42205
* graphite-sese-to-poly.c (translate_scalar_reduction_to_array_for_stmt):
Insert the reduction copy in the same block as the phi node.
(follow_ssa_with_commutative_ops): Handle GIMPLE_NOPs.

* testsuite/gcc.dg/graphite/pr42205-1.c: New.
* testsuite/gcc.dg/graphite/pr42205-2.c: New.

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

14 years agoFix PR42334: correct the update of the LST on loop interchange and distribution.
spop [Wed, 23 Dec 2009 07:50:12 +0000 (07:50 +0000)]
Fix PR42334: correct the update of the LST on loop interchange and distribution.

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

        PR middle-end/42178
        PR middle-end/42334
        * graphite-interchange.c (lst_perfect_nestify): Reset to NULL the LSTs
        that are empty.
        (lst_do_interchange_1): Renamed lst_interchange_select_inner.
        (lst_try_interchange): Reimplemented.
        (lst_interchange_select_inner): Same.
        (lst_do_interchange): Renamed lst_interchange_select_outer.
        Reimplemented.
        (scop_do_interchange): Update use of lst_interchange_select_outer.

        * graphite-interchange.c (lst_try_interchange): Do not increment the
        the OUTER index when there is no AFTER kernel.  Do not increment the
        OUTER index for after processing the AFTER kernel.
        (lst_interchange_select_inner): Call lst_try_interchange only on loops.
        (lst_interchange_select_outer): Do not pass in a pointer to the OUTER
        index.  Do not pass to lst_interchange_select_inner the OUTER index.
        (scop_do_interchange): Update use of lst_interchange_select_outer.

        * graphite-interchange.c (lst_try_interchange): Do not modify OUTER
        index.  Call lst_interchange_select_inner only once.
        (lst_interchange_select_inner): Update use of lst_try_interchange.
        (lst_interchange_select_outer): Update.

        * testsuite/g++.dg/graphite/pr42130.C: Add -fgraphite-identity.
        * testsuite/gcc.dg/graphite/block-0.c: Un-XFAILed.
        * testsuite/gcc.dg/graphite/pr42211.c: New.
        * testsuite/gfortran.dg/graphite/pr42334.f90: New.

        * testsuite/gfortran.dg/graphite/graphite.exp
        (DEFAULT_FLAGS_GRAPHITE_IDENTITY): Remove -fdump-tree-graphite-all.
        * testsuite/gfortran.dg/graphite/interchange-1.f: Add comment.  Clean
        the graphite dump file.
        * testsuite/gfortran.dg/graphite/interchange-2.f: Same.
        * testsuite/gfortran.dg/graphite/pr42334-1.f: New.

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

14 years agoFix PR42181.
spop [Wed, 23 Dec 2009 07:50:00 +0000 (07:50 +0000)]
Fix PR42181.

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

PR middle-end/42181
* graphite-scop-detection.c (graphite_can_represent_scev): Handle more
carefully PLUS_EXPR, MINUS_EXPR, and MULT_EXPR.

* testsuite/gfortran.dg/graphite/pr42181.f90: New.

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

14 years agoFix PR c++/42260
dodji [Wed, 23 Dec 2009 00:31:33 +0000 (00:31 +0000)]
Fix PR c++/42260

gcc/cp/ChangeLog:
PR c++/42260
* cp-tree.h (lookup_conversions): Add new bool parameter to
declaration.
* search.c (lookup_conversion): Use new bool parameter in
definition.
* call.c (add_builtin_candidates): Don't lookup template conversion
(convert_class_to_reference, build_user_type_conversion_1,
 build_op_call): Adjust.
* cvt.c (build_expr_type_conversion): Likewise

gcc/testsuite/ChangeLog:
PR c++/42260
* conversion/cast2.C: New test.

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

14 years agoDaily bump.
gccadmin [Wed, 23 Dec 2009 00:16:57 +0000 (00:16 +0000)]
Daily bump.

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

14 years ago PR c++/42466
jason [Tue, 22 Dec 2009 23:16:46 +0000 (23:16 +0000)]
PR c++/42466
* pt.c (reduce_template_parm_level): Check the type before
returning cached TEMPLATE_PARM_INDEX.

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

14 years ago PR c++/42331
jason [Tue, 22 Dec 2009 23:16:38 +0000 (23:16 +0000)]
PR c++/42331
* typeck.c (cp_build_modify_expr): Fix thinko.

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

14 years ago2009-12-22 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
janis [Tue, 22 Dec 2009 22:16:02 +0000 (22:16 +0000)]
2009-12-22  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>

* testsuite/libgomp.fortran/crayptr2.f90: Remove forced static linkage
for darwin, protect the test with require-effective-target tls_runtime.
* testsuite/libgomp.fortran/pr32550.f90: Ditto.

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

14 years ago2009-12-22 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
janis [Tue, 22 Dec 2009 22:11:27 +0000 (22:11 +0000)]
2009-12-22  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>

gcc/
PR target/41605
* lib/g++.exp: Provide -B options to allow for link spec %s
substitutions for static libraries.

libstdc++-v3/
PR target/41605
* testsuite/libstdc++-abi/abi.exp: Provide -B options to allow for
link spec %s substitutions for static libraries.
* testsuite/lib/libstdc++.exp: Ditto

libgomp/
PR target/41605
* testsuite/lib/libgomp.exp: Provide -B options to allow for
link spec %s substitutions for static libraries.

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

14 years agoDisable libtool support for languages unused in libjava/libltdl
rwild [Tue, 22 Dec 2009 20:47:56 +0000 (20:47 +0000)]
Disable libtool support for languages unused in libjava/libltdl

libjava/libltdl/:
* configure.ac: Disable libtool support for unused languages,
to avoid precious FFLAGS recheck cache consistency failure.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* Makefile.in: Regenerate.

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

14 years ago PR debug/42454
ccoutant [Tue, 22 Dec 2009 17:37:57 +0000 (17:37 +0000)]
PR debug/42454
* dwarf2out.c (dwarf2out_finish): Don't output range for .text
section unless .text section was used.  Likewise for cold.

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

14 years ago2009-12-22 Brian Hackett <bhackett1024@gmail.com>
espindola [Tue, 22 Dec 2009 16:27:25 +0000 (16:27 +0000)]
2009-12-22  Brian Hackett  <bhackett1024@gmail.com>

* doc/plugins.texi: Rename pre-genericize event.

2009-12-22  Brian Hackett  <bhackett1024@gmail.com>

* g++.dg/plugin/attribute_plugin.c: Rename pre-genericize event.
* g++.dg/plugin/dumb_plugin.c: Same.

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

14 years ago2009-12-22 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Tue, 22 Dec 2009 15:58:10 +0000 (15:58 +0000)]
2009-12-22  Paolo Carlini  <paolo.carlini@oracle.com>

PR driver/42463
* params.def ([PARAM_PREDICTABLE_BRANCH_OUTCOME]): Fix typo in
help string.

* doc/invoke.texi: Fix typo.

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

14 years ago * mangle.c (write_member_name): Move abi-version=1 code back to...
jason [Tue, 22 Dec 2009 14:30:23 +0000 (14:30 +0000)]
* mangle.c (write_member_name): Move abi-version=1 code back to...
(write_expression): ...here.

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

14 years ago2009-12-22 Jonathan Wakely <jwakely.gcc@gmail.com>
paolo [Tue, 22 Dec 2009 12:45:12 +0000 (12:45 +0000)]
2009-12-22  Jonathan Wakely  <jwakely.gcc@gmail.com>

* include/std/mutex (call_once(once_flag&, _Callable, _Args&&...)):
Explicitly qualify with std:: bind calls.

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

14 years ago2009-12-22 Paul Brook <paul@codesourcery.com>
pbrook [Tue, 22 Dec 2009 12:24:32 +0000 (12:24 +0000)]
2009-12-22  Paul Brook <paul@codesourcery.com>

gcc/
* doc/tm.texi (ARG_POINTER_CFA_OFFSET): Document new default.
* defaults.h (ARG_POINTER_CFA_OFFSET): Add pretend_args_size.
* config/spu/spu.h (ARG_POINTER_CFA_OFFSET): Add pretend_args_size.

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

14 years ago2009-12-21 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 22 Dec 2009 08:23:08 +0000 (08:23 +0000)]
2009-12-21  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/42456
* src/atomic.cc: Move _GLIBCXX_ASM_SYMVER define within guard.
* config/abi/pre/gnu.ver: Add non-volatile exports.

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

14 years agoDaily bump.
gccadmin [Tue, 22 Dec 2009 00:17:14 +0000 (00:17 +0000)]
Daily bump.

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

14 years ago2009-12-21 Andy Hutchinson <hutchinsonandy@gcc.gnu.org>
hutchinsonandy [Tue, 22 Dec 2009 00:08:34 +0000 (00:08 +0000)]
2009-12-21  Andy Hutchinson  <hutchinsonandy@gcc.gnu.org>

* gcc.dg/pr36901.h: AVR must support address zero.

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

14 years ago2009-12-21 Andy Hutchinson <hutchinsonandy@gcc.gnu.org>
hutchinsonandy [Tue, 22 Dec 2009 00:00:50 +0000 (00:00 +0000)]
2009-12-21  Andy Hutchinson  <hutchinsonandy@gcc.gnu.org>

PR testsuite/36903
* gcc.dg/tree-ssa/gen-vect-11.c : Disable for avr target. It will not vectorize.
* gcc.dg/tree-ssa/gen-vect-11a.c: Ditto.
* gcc.dg/tree-ssa/gen-vect-2.c: Ditto.
* gcc.dg/tree-ssa/gen-vect-25.c: Ditto.
* gcc.dg/tree-ssa/gen-vect-26.c: Ditto.
* gcc.dg/tree-ssa/gen-vect-28.c: Ditto.
* gcc.dg/tree-ssa/gen-vect-32.c: Ditto.
* gcc.dg/tree-ssa/pr23455.c: Test for 4 eliminations on avr target.
* gcc.dg/tree-ssa/ssa-fre-26.c: XFAIL test for avr.
* gcc.dg/tree-ssa/vrp47.c: Skip test for avr target due to low branch cost.

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

14 years ago2009-12-21 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 21 Dec 2009 21:26:45 +0000 (21:26 +0000)]
2009-12-21  Benjamin Kosnik  <bkoz@redhat.com>

* scripts/run_doxygen: Update nested namespace exceptions.

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

14 years ago2009-12-21 Brian Hackett <bhackett1024@gmail.com>
espindola [Mon, 21 Dec 2009 20:37:49 +0000 (20:37 +0000)]
2009-12-21  Brian Hackett  <bhackett1024@gmail.com>

* decl.c (finish_function): Rename pre-genericize event.

2009-12-21  Brian Hackett  <bhackett1024@gmail.com>

* plugin.def: Rename pre-genericize event.
* plugin.c (register_callback, invoke_plugin_callbacks): Same.
* c-decl.c (finish_function): Invoke callbacks on above event.

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

14 years ago2009-12-21 Thomas Koenig <tkoenig@gcc.gnu.org>
tkoenig [Mon, 21 Dec 2009 20:14:39 +0000 (20:14 +0000)]
2009-12-21  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR libfortran/PR42422
* gfortran.dg/list_read_10.f90:  New test.

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

14 years ago2009-12-20 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 21 Dec 2009 19:00:34 +0000 (19:00 +0000)]
2009-12-20  Benjamin Kosnik  <bkoz@redhat.com>

* include/std/atomic: Update to N3000.
* include/bits/atomic_0.h: Same.
* include/bits/atomic_2.h: Same.
* include/c_global/cstdatomic: Move...
* include/bits/atomic_base.h: ...here.
* include/c_compatibility/stdatomic.h: Just include atomic_base.h.
* include/precompiled/stdc++.h: Adjust includes.
* include/Makefile.am: Adjust files.
* include/Makefile.in: Regenerate.
* include/std/future: Adjust.
* src/atomic.cc: Adjust, adjust exports for compatibility.
* src/compatibility.cc: Move C++0x stuff...
* src/compatibility-c++0x.cc: ...here.

* doc/xml/manual/using.xml: Update.
* doc/xml/manual/status_cxx200x.xml: Update.
* doc/doxygen/user.cfg.in: Update.

* testsuite/29_atomics/atomic_address/cons/assign_neg.cc: Same.
* testsuite/29_atomics/atomic_address/cons/single_value.cc: Same.
* testsuite/29_atomics/atomic_address/cons/copy_neg.cc: Same.
* testsuite/29_atomics/atomic_address/cons/default.cc: Same.
* testsuite/29_atomics/atomic_address/cons/aggregate.cc: Same.
* testsuite/29_atomics/atomic_address/requirements/
standard_layout.cc: Same.
* testsuite/29_atomics/atomic_address/requirements/trivial.cc: Same.
* testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Same.
* testsuite/29_atomics/atomic_integral/cons/single_value.cc: Same.
* testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Same.
* testsuite/29_atomics/atomic_integral/cons/default.cc: Same.
* testsuite/29_atomics/atomic_integral/cons/copy_list.cc: Same.
* testsuite/29_atomics/atomic_integral/cons/direct_list.cc: Same.
* testsuite/29_atomics/atomic_integral/requirements/
standard_layout.cc: Same.
* testsuite/29_atomics/atomic_integral/requirements/trivial.cc: Same.
* testsuite/29_atomics/atomic_integral/operators/increment_neg.cc: Same.
* testsuite/29_atomics/atomic_integral/operators/
integral_assignment.cc: Same.
* testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc: Same.
* testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc: Same.
* testsuite/29_atomics/atomic_integral/operators/increment.cc: Same.
* testsuite/29_atomics/atomic_integral/operators/bitwise.cc: Same.
* testsuite/29_atomics/atomic_integral/operators/decrement.cc: Same.
* testsuite/29_atomics/atomic_integral/operators/
integral_conversion.cc: Same.
* testsuite/29_atomics/atomic_flag/cons/assign_neg.cc: Same.
* testsuite/29_atomics/atomic_flag/cons/copy_neg.cc: Same.
* testsuite/29_atomics/atomic_flag/cons/default.cc: Same.
* testsuite/29_atomics/atomic_flag/cons/aggregate.cc: Same.
* testsuite/29_atomics/atomic_flag/requirements/
standard_layout.cc: Same.
* testsuite/29_atomics/atomic_flag/requirements/trivial.cc: Same.
* testsuite/29_atomics/atomic_flag/clear/1.cc: Same.
* testsuite/29_atomics/atomic_flag/test_and_set/explicit.c
* testsuite/29_atomics/atomic_flag/test_and_set/explicit.cc: Same.
* testsuite/29_atomics/atomic_flag/test_and_set/implicit.c
* testsuite/29_atomics/atomic_flag/test_and_set/implicit.cc: Same.
* testsuite/29_atomics/headers/stdatomic.h/functions.c
* testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
* testsuite/29_atomics/atomic/cons/single_value.cc: Same.
* testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
* testsuite/29_atomics/atomic/cons/default.cc: Same.
* testsuite/29_atomics/atomic/cons/copy_list.cc: Same.
* testsuite/29_atomics/atomic/cons/direct_list.cc: Same.
* testsuite/29_atomics/atomic/requirements/explicit_instantiation/
1.cc: Same.
* testsuite/29_atomics/atomic/requirements/base_classes.cc: Same.
* testsuite/29_atomics/atomic/operators/integral_assignment.cc: Same.
* testsuite/29_atomics/atomic/operators/integral_conversion.cc: Same.
* testsuite/util/testsuite_common_types.h: Adjust.

* testsuite/29_atomics/headers/cstdatomic: Move and adjust...
* testsuite/29_atomics/headers/atomic: ...here.
* testsuite/29_atomics/headers/atomic/types_std_c++0x.cc: Same.
* testsuite/29_atomics/headers/atomic/functions_std_c++0x.cc: Same.
* testsuite/29_atomics/headers/atomic/std_c++0x_neg.cc: Same.
* testsuite/29_atomics/headers/atomic/macros.cc: Same.

* testsuite/29_atomics/headers/atomic/types_std_c++0x_neg.cc: Add.
* testsuite/29_atomics/atomic/cons/user_pod.cc: Add.

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

14 years ago PR rtl-optimization/42429
jakub [Mon, 21 Dec 2009 16:32:44 +0000 (16:32 +0000)]
PR rtl-optimization/42429
* reload.c (find_reloads_subreg_address): When adjusting mode of
MEM, update also MEM_SIZE if it is set.

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

14 years ago2009-12-21 Andreas Tobler <a.tobler@schweiz.org>
andreast [Mon, 21 Dec 2009 16:31:31 +0000 (16:31 +0000)]
2009-12-21  Andreas Tobler  <a.tobler@schweiz.org>

* configure.ac: Make i?86 build on FreeBSD and OpenBSD.
* configure: Regenerate.

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

14 years agoAlways pass --32 to ia32 Linux assembler.
hjl [Mon, 21 Dec 2009 15:31:49 +0000 (15:31 +0000)]
Always pass --32 to ia32 Linux assembler.

2009-12-21  H.J. Lu  <hongjiu.lu@intel.com>

PR bootstrap/42345
* acinclude.m4 (gcc_GAS_FLAGS): New.
(gcc_GAS_CHECK_FEATURE): Use gcc_GAS_FLAGS.
* configure: Regenerated.

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

14 years agoDaily bump.
gccadmin [Mon, 21 Dec 2009 00:17:04 +0000 (00:17 +0000)]
Daily bump.

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

14 years ago * sv.po: Update.
jsm28 [Sun, 20 Dec 2009 17:16:13 +0000 (17:16 +0000)]
* sv.po: Update.

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

14 years ago PR tree-optimization/42027
matz [Sun, 20 Dec 2009 01:15:46 +0000 (01:15 +0000)]
PR tree-optimization/42027
* cfgexpand.c (expand_gimple_cond): Use jumpy sequence for &, &&, |
and || if jumps are cheap.

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

14 years agoDaily bump.
gccadmin [Sun, 20 Dec 2009 00:16:58 +0000 (00:16 +0000)]
Daily bump.

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

14 years agoFix PR c++/42225, take 2
dodji [Sat, 19 Dec 2009 22:40:37 +0000 (22:40 +0000)]
Fix PR c++/42225, take 2

gcc/cp/ChangeLog:
PR c++/42225
* pt.c (push_template_decl_real): Set DECL_CONTEXT of template type
parms to their containing template decl.
* typeck.c (comp_template_parms_position): Split this from
structural_comptypes.
(incompatible_template_type_parms_p): Renamed
incompatible_dependent_typedefs_p into this. Change the function to
handle comparison between TEMPLATE_TYPE_PARMs only.
(structural_comptypes): Use comp_template_parms_position in
TEMPLATE_TEMPLATE_PARM and BOUND_TEMPLATE_TEMPLATE_PARM cases.
Use incompatible_template_type_parms_p in TEMPLATE_TYPE_PARM case.
* mangle.c (decl_mangling_context): Template type parms don't have
a mangling context.
* tree.c (cp_set_underlying_type): Set type structural equality
only for TEMPLATE_TYPE_PARMs.

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

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

14 years ago2009-12-19 Richard Guenther <rguenther@suse.de>
rguenth [Sat, 19 Dec 2009 11:41:14 +0000 (11:41 +0000)]
2009-12-19  Richard Guenther  <rguenther@suse.de>

PR lto/42401
* lto-streamer-out.c (tree_is_indexable): Local statics
are indexable.
(lto_output_tree_ref): Adjust assert.

* g++.dg/lto/20091219_0.C: New testcase.

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

14 years ago2009-12-19 Richard Guenther <rguenther@suse.de>
rguenth [Sat, 19 Dec 2009 11:24:49 +0000 (11:24 +0000)]
2009-12-19  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/42108
* tree-ssa-sccvn.c (last_vuse_ptr): New variable.
(vn_reference_lookup_2): Update last seen VUSE.
(vn_reference_lookup_3): Avoid updating last seen VUSE after
translating.
(visit_reference_op_load): Use last seen VUSE from the first
lookup when entering into the table.

* gfortran.dg/pr42108.f90: New testcase.

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

14 years agoIncrease clock resolution for system_clock_8.
jb [Sat, 19 Dec 2009 10:43:11 +0000 (10:43 +0000)]
Increase clock resolution for system_clock_8.

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

14 years ago * Makefile.in (PLUGIN_HEADERS): Add more headers.
amylaar [Sat, 19 Dec 2009 02:33:03 +0000 (02:33 +0000)]
    * Makefile.in (PLUGIN_HEADERS): Add more headers.

        * tree-pass.h (GCC_PASS_LISTS): Define.
        (PASS_LIST_NO_all_lowering_passes): New enumeration value.
        (PASS_LIST_NO_all_small_ipa_passes): Likewise.
        (PASS_LIST_NO_all_regular_ipa_passes): Likewise.
        (PASS_LIST_NO_all_lto_gen_passes): Likewise.
        (PASS_LIST_NO_all_passes): Likewise.
        (PASS_LIST_NUM): Likewise.
        (gcc_pass_lists): Declare.
        * passes.c (gcc_pass_lists): Define.

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

14 years agoDaily bump.
gccadmin [Sat, 19 Dec 2009 00:16:42 +0000 (00:16 +0000)]
Daily bump.

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

14 years ago PR c++/42415
jason [Fri, 18 Dec 2009 20:50:08 +0000 (20:50 +0000)]
PR c++/42415
* g++.old-deja/g++.jason/temporary5.C: Adjust.

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

14 years ago PR c++/28300
jason [Fri, 18 Dec 2009 20:49:58 +0000 (20:49 +0000)]
PR c++/28300
PR c++/42062
* pt.c (check_specialization_namespace): Complain about
specialization at non-namespace scope.

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

14 years ago PR c++/42415
jason [Fri, 18 Dec 2009 16:12:50 +0000 (16:12 +0000)]
PR c++/42415
* call.c (build_new_method_call): Complain about calling the
constructor directly.

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

14 years ago2009-12-18 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 18 Dec 2009 15:31:38 +0000 (15:31 +0000)]
2009-12-18  Richard Guenther  <rguenther@suse.de>

* tree-ssa-sccvn.c (copy_nary): New function.
(copy_phis): Likewise.
(copy_references): Likewise.
(process_scc): Avoid last iteration by copying the
optimistic table to the valid table.

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

14 years ago * zh_CN.po: Update.
jsm28 [Fri, 18 Dec 2009 13:10:35 +0000 (13:10 +0000)]
* zh_CN.po: Update.

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

14 years ago2009-12-18 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Fri, 18 Dec 2009 09:44:54 +0000 (09:44 +0000)]
2009-12-18  Paolo Carlini  <paolo.carlini@oracle.com>

* include/std/condition_variable: Revert inadvertent changes.
* testsuite/30_threads/condition_variable/cons/assign_neg.cc: Ditto.
* testsuite/30_threads/condition_variable/cons/copy_neg.cc: Ditto.
* testsuite/30_threads/condition_variable/members/1.cc: Ditto.
* testsuite/30_threads/condition_variable/members/2.cc: Ditto.
* testsuite/30_threads/condition_variable_any/cons/assign_neg.cc: Ditto.
* testsuite/30_threads/condition_variable_any/cons/copy_neg.cc: Ditto.

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

14 years ago2009-12-18 Jimmy Guo <jguo@yahoo-inc.com>
paolo [Fri, 18 Dec 2009 09:41:03 +0000 (09:41 +0000)]
2009-12-18  Jimmy Guo  <jguo@yahoo-inc.com>

PR libstdc++/40088
* src/locale_init.cc (locale::locale()): Optimize the common case
where _S_global still points to _S_classic.

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

14 years agocp/
pzhao [Fri, 18 Dec 2009 08:50:24 +0000 (08:50 +0000)]
cp/
2009-12-16  Shujing Zhao  <pearly.zhao@oracle.com>

        PR c++/31665
        * decl.c (duplicate_decls, grokdeclarator): Put the
        diagnostics in full sentences for easy translation and wrapped into
        G_().
        * typeck.c (build_x_unary_op): Likewise.

testsuite/
2009-12-16  Shujing Zhao  <pearly.zhao@oracle.com>

        * g++.old-deja/g++.brendan/misc6.C: Make expected dg-error strings
        explicit.

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

14 years agoFix PR42135.
spop [Fri, 18 Dec 2009 07:38:06 +0000 (07:38 +0000)]
Fix PR42135.

2009-12-18  Jack Howarth <howarth@bromo.med.uc.edu>

PR testsuite/42135
* libgomp.graphite/force-parallel-2.c: Reduce array size.

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

14 years ago * config.sub, config.guess: Update from upstream sources.
bje [Fri, 18 Dec 2009 03:35:42 +0000 (03:35 +0000)]
* config.sub, config.guess: Update from upstream sources.

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

14 years agoDaily bump.
gccadmin [Fri, 18 Dec 2009 00:16:51 +0000 (00:16 +0000)]
Daily bump.

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

14 years ago * dwarf2out.c (loc_descriptor): For SYMBOL_REFs and LABEL_REFs
jakub [Thu, 17 Dec 2009 22:07:13 +0000 (22:07 +0000)]
* dwarf2out.c (loc_descriptor): For SYMBOL_REFs and LABEL_REFs
use DW_OP_addr+DW_OP_stack_value instead of DW_OP_implicit_value.
(add_const_value_attribute): For CONST_STRING, SYMBOL_REFs and
LABEL_REFs use DW_OP_addr+DW_OP_stack_value DW_AT_location instead of
DW_AT_const_value.

* gcc.dg/debug/dwarf2/const-1.c: Don't expect DW_AT_const_value,
but instead DW_AT_location with DW_OP_addr+DW_OP_stack_value.  Add
-gno-strict-dwarf -fno-merge-debug-strings to dg-options.
* g++.dg/debug/dwarf2/const1.C: Likewise.
* g++.dg/debug/dwarf2/template-params-3.C: Likewise.
* g++.dg/debug/dwarf2/template-func-params-3.C: Likewise.

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

14 years ago PR debug/41679
jakub [Thu, 17 Dec 2009 19:32:32 +0000 (19:32 +0000)]
PR debug/41679
* var-tracking.c (count_uses): Count MO_VAL_USE of original
MO_VAL_SET value for COND_EXEC.
(add_stores): Handle conditional stores.

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

14 years ago PR debug/41679
jakub [Thu, 17 Dec 2009 19:31:52 +0000 (19:31 +0000)]
PR debug/41679
* var-tracking.c (use_type): Remove indirection from loc.
(count_uses): Dereference incoming loc early.
(add_uses): Dereference incoming loc early.

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

14 years ago PR debug/41679
jakub [Thu, 17 Dec 2009 19:30:58 +0000 (19:30 +0000)]
PR debug/41679
* var-tracking.c (add_stores): Avoid value mode mismatch for
promoted declarations.

* gcc.target/arm/pr41679.c: New.

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

14 years ago PR c++/42386
jakub [Thu, 17 Dec 2009 19:29:48 +0000 (19:29 +0000)]
PR c++/42386
* ipa.c (function_and_variable_visibility): Clear same_comdat_group
links of DECL_EXTERNAL nodes.

* g++.dg/opt/dtor3.C: New test.

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

14 years ago2009-12-17 Sandra Loosemore <sandra@codesourcery.com>
sandra [Thu, 17 Dec 2009 15:43:23 +0000 (15:43 +0000)]
2009-12-17  Sandra Loosemore  <sandra@codesourcery.com>

gcc/
* doc/rtl.texi (Vector Operations): Clarify vec_select result mode.

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

14 years ago gcc/
jules [Thu, 17 Dec 2009 15:37:23 +0000 (15:37 +0000)]
gcc/
* config/arm/bpabi-v6m.S (test_div_by_zero): New macro.
(aeabi_ldivmod, aeabi_uldivmod): Use above macro.
* config/arm/bpabi.S (test_div_by_zero): New macro.
(aeabi_ldivmod, aeabi_uldivmod): Use above macro.
* config/arm/lib1funcs.asm (ARM_LDIV0): Tail-call int div-by-zero
handler for EABI. Add signed/unsigned argument, pass correct value
to that handler.
(THUMB_LDIV0): Same, for Thumb.
(DIV_FUNC_END): Add signed argument.
(WEAK): New macro (for EABI).
(__udivsi3, __umodsi3): Add unsigned argument to DIV_FUNC_END. For
__udivsi3, add entry point which skips division-by-zero test.
(__divsi3, __modsi3): Add signed argument to DIV_FUNC_END.
(__aeabi_uidivmod, __aeabi_idivmod): Check for division by zero.
Call __udivsi3 or __divsi3 via entry points which skip
division-by-zero tests.
(__div0): Rename to __aeabi_idiv0, __aeabi_ldiv0 for EABI, and
declare those names weak.

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

14 years ago PR target/42377
davek [Thu, 17 Dec 2009 15:25:36 +0000 (15:25 +0000)]
PR target/42377
* config/abi/pre/gnu.ver: Adjust mangled function signatures to permit
LLP64 sizetypes throughout.

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

14 years ago2009-12-17 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 17 Dec 2009 14:36:43 +0000 (14:36 +0000)]
2009-12-17  Richard Guenther  <rguenther@suse.de>

PR middle-end/42397
* builtins.c (get_object_alignment): Properly deal with
a CONST_DECL base.
* expr.c (emit_block_move_hints): Assert the alignment makes
sense.

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

14 years ago * ada/acats/run_all.sh: Strip comments from norun.lst
charlet [Thu, 17 Dec 2009 13:32:05 +0000 (13:32 +0000)]
* ada/acats/run_all.sh: Strip comments from norun.lst

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

14 years ago PR target/32280
uros [Thu, 17 Dec 2009 12:33:09 +0000 (12:33 +0000)]
PR target/32280
* config/i386/i386-modes.def (V1TI): New vector mode.
* config/i386/i386.h (VALID_SSE_REG_MODE): Add V1TImode.
(SSE_REG_MODE_P): Ditto.
* config/i386/sse.md (SSEMODE16): New mode iterator.
(AVXMODE16): Ditto.
(avxvecmode): Handle V1TI mode.
(*avx_mov<mode>_internal): Use AVXMODE16 instead of AVXMODE.
(mov<mode>): Use SSEMODE16 instead of SSEMODE.
(*mov<mode>_internal): Ditto.
(push<mode>1): Ditto.
(movmisalign<mode>): Ditto.
(sse2_ashlv1ti): Rename from sse2_ashlti.
(sse2_lshrv1ti): Rename from sse2_lshrti.
(*avx_ashlv1ti): Rename from *avx_ashlti and move from i386.md.
(*avx_lshrv1ti): Rename from *avx_lshrti and move from i386.md.
(vec_shl_<mode>): Convert operands to V1TImode and use V1TI shift.
(vec_shr_<mode>): Ditto.
(*sse2_mulv4si3): Update for renamed sse2_ashlv1ti3.
(udot_prodv4si): Ditto.
* config/i386/i386.c (classify_argument): Handle V1TImode.
(function_arg_advance_32): Ditto.
(function_arg_32): Ditto.
(ix86_expand_sse4_unpack): Convert operands to V1TImode and update
for renamed gen_sse2_lshrv1ti3.
(ix86_expand_args_builtin) <V2DI_FTYPE_V2DI_INT_CONVERT>: Set rmode
to V1TImode.
(struct builtin_description) <__builtin_ia32_pslldqi128>: Update
for renamed sse2_ashlv1ti3.
<__builtin_ia32_psrldqi128>: Update for renamed sse2_lshrv1ti3.

Revert:
2007-06-11  Uros Bizjak  <ubizjak@gmail.com>

PR target/32280
* config/i386/sse.md ("sse2_ashlti", "sse2_lshrti3"): Move ...
* config/i386/i386.md ("sse2_ashlti", "sse2_lshrti3"): ... to here.

testsuite/ChangeLog:

PR target/32280
* gcc.target/i386/pr32280-1.c: New test.

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

14 years ago2009-12-17 Shujing Zhao <pearly.zhao@oracle.com>
pzhao [Thu, 17 Dec 2009 11:57:10 +0000 (11:57 +0000)]
2009-12-17  Shujing Zhao  <pearly.zhao@oracle.com>

* objc-act.c (objc_substitute_decl, build_ivar_reference,
get_super_receiver): Update build_indirect_ref calls.

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

14 years ago PR target/42372
rearnsha [Thu, 17 Dec 2009 11:50:06 +0000 (11:50 +0000)]
PR target/42372
* arm.md (pic_add_dot_plus_eight): Change output constraint from
update to write.

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

14 years ago2009-12-17 Shujing Zhao <pearly.zhao@oracle.com>
pzhao [Thu, 17 Dec 2009 11:39:40 +0000 (11:39 +0000)]
2009-12-17  Shujing Zhao  <pearly.zhao@oracle.com>

* config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin):
Update build_indirect_ref calls.

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

14 years ago2009-12-17 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Thu, 17 Dec 2009 11:09:05 +0000 (11:09 +0000)]
2009-12-17  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/42198
* src/thread.cc (thread::_M_start_thread): Throw system_error
immediately if the thread system is inactive.

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

14 years ago * objc/execute/forward-1.x: XFAIL for -fgnu-runtime on
uros [Thu, 17 Dec 2009 10:02:33 +0000 (10:02 +0000)]
* objc/execute/forward-1.x: XFAIL for -fgnu-runtime on
    x86_64-*-darwin*, powerpc*-*-darwin* and alpha*-*-linux* targets.

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

14 years ago2009-12-16 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 17 Dec 2009 09:37:16 +0000 (09:37 +0000)]
2009-12-16  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/21772 part 2
* doc/xml/manual/test.xml: Add documentation about testing details.
* testsuite/util/exception/safety.h: New. Functor objects for
testing C++0x container classes.
* testsuite/util/testsuite_container_traits.h: Add traits.

* testsuite/23_containers/list/requirements/exception/
basic.cc: New.
generation_prohibited.cc: New.
propagation_consistent.cc: New.

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

14 years agogcc/fortran/
janus [Thu, 17 Dec 2009 09:28:25 +0000 (09:28 +0000)]
gcc/fortran/
2009-12-17 Janus Weil  <janus@gcc.gnu.org>

PR fortran/42144
* trans-expr.c (select_class_proc): Skip abstract base types.

gcc/testsuite/
2009-12-17  Janus Weil  <janus@gcc.gnu.org>

PR fortran/42144
* gfortran.dg/dynamic_dispatch_6.f03: New test.

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

14 years ago * config/i386/sync.md (IMODE): Remove mode iterator.
uros [Thu, 17 Dec 2009 08:34:27 +0000 (08:34 +0000)]
* config/i386/sync.md (IMODE): Remove mode iterator.
(modesuffix): Remove mode attribute.
(modeconstraint): Ditto.
(immconstraint): Ditto.
(*sync_compare_and_swap<mode>): Use SWI mode iterator instead of
IMODE mode iterator, imodesuffix mode attribute instead of modesuffix,
<r> mode attribute instead of modeconstraint and <i> mode attribute
instead of immconstraint.
(sync_double_compare_and_swap<mode>): Ditto.
(sync_old_add<mode>): Ditto.
(sync_lock_test_and_set<mode>): Ditto.
(sync_add<mode>): Ditto.
(sync_sub<mode>): Ditto.
(sync_and<mode>): Ditto.
(sync_ior<mode>): Ditto.
(sync_xor<mode>): Ditto.
(sync_<code><mode>): Macroize insn pattern from
sync_{and,ior,xor}<mode> using any_logic code iterator.

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

14 years ago2009-12-17 Shujing Zhao <pearly.zhao@oracle.com>
pzhao [Thu, 17 Dec 2009 08:25:06 +0000 (08:25 +0000)]
2009-12-17  Shujing Zhao  <pearly.zhao@oracle.com>

* call.c (build_over_call, build_java_interface_fn_ref): Update
cp_build_indirect_ref calls.
* typeck2.c (build_m_component_ref): Likewise.

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

14 years ago2009-12-17 Shujing Zhao <pearly.zhao@oracle.com>
pzhao [Thu, 17 Dec 2009 03:22:22 +0000 (03:22 +0000)]
2009-12-17  Shujing Zhao  <pearly.zhao@oracle.com>

PR c/40885
* c-common.h (ref_operator): New type.
(build_indirect_ref): Adjust prototype with new argument.
* c-typeck.c (build_indirect_ref): Accept ref_operator as argument and
emit the diagnostics for easy translation.
(build_array_ref): Update calls to build_indirect_ref.
* c-omp.c (c_finish_omp_atomic): Likewise.
* c-parser.c (c_parser_unary_expression,
c_parser_postfix_expression_after_primary): Likewise.

cp/
2009-12-17  Shujing Zhao  <pearly.zhao@oracle.com>

* typeck.c (build_indirect_ref): Update the argument.
(build_x_indirect_ref): Likewise.
(cp_build_indirect_ref): Update the argument and emit the diagnostics
for easy translation.
(build_class_member_access_expr, build_array_ref,
get_member_function_from_ptrfunc): Update calls.
* cp-tree.h (build_x_indirect_ref, cp_build_indirect_ref): Update
prototypes.
* call.c (build_new_op, convert_like_real, build_x_va_arg,
build_over_call): Update calls.
* class.c (build_base_path, build_simple_base_path, build_vfn_ref):
Likewise.
* decl.c (start_preparsed_function): Likewise.
* except.c (expand_start_catch_block, build_throw): Likewise.
* init.c (emit_mem_initializers, expand_virtual_init,
expand_virtual_init, build_new_1, build_vec_init, build_delete,
build_vec_delete): Likewise.
* parser.c (cp_parser_unary_expression): Likewise.
* pt.c (tsubst_copy_and_build): Likewise.
* rtti.c (build_headof, get_tinfo_decl_dynamic, get_typeid): Likewise.
* semantics.c (finish_non_static_data_member, thisify_lambda_field):
Likewise.
* tree.c (build_dummy_object, stabilize_expr): Likewise.
* typeck2.c (build_x_arrow): Likewise.

testsuite/
2009-12-17  Shujing Zhao  <pearly.zhao@oracle.com>

* g++.old-deja/g++.mike/net31.C: Make expected dg-error strings
explicit.
* g++.old-deja/g++.bugs/900213_02.C: Likewise.
* g++.old-deja/g++.bugs/900215_02.C: Likewise.

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

14 years agoDaily bump.
gccadmin [Thu, 17 Dec 2009 00:17:02 +0000 (00:17 +0000)]
Daily bump.

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

14 years ago2009-12-16 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 16 Dec 2009 23:07:10 +0000 (23:07 +0000)]
2009-12-16  Richard Guenther  <rguenther@suse.de>

PR lto/42392
* langhooks.c (lhd_begin_section): Make sure to switch back
to the text section, not some random one.

* gcc.dg/lto/20091216-1_0.c: New testcase.

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

14 years ago PR c++/42387
jason [Wed, 16 Dec 2009 17:36:05 +0000 (17:36 +0000)]
PR c++/42387
* decl.c (compute_array_index_type): Mark a VLA as dependent.

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