gcc.git
14 years ago* testsuite/gcc.target/i386/pr42549.c (mmx_3dnow_test): Add static.
Uros Bizjak [Wed, 30 Dec 2009 11:23:10 +0000 (12:23 +0100)]
* testsuite/gcc.target/i386/pr42549.c (mmx_3dnow_test): Add static.

From-SVN: r155520

14 years agore PR target/42549 (Incorrect 3DNow! code generated)
Uros Bizjak [Wed, 30 Dec 2009 11:07:12 +0000 (12:07 +0100)]
re PR target/42549 (Incorrect 3DNow! code generated)

PR target/42549
* config/i386/mmx.md ("*mmx_subv2sf3): Fix insn operand number for
alternative 1.

testsuite/ChangeLog:

PR target/42549
* gcc.target/i386/mmx-3dnow-check.h: New file.
* gcc.target/i386/pr42549.c: New test.

From-SVN: r155519

14 years agore PR other/42537 ([PATCH] misc spelling fixes)
Robert Millan [Wed, 30 Dec 2009 10:53:31 +0000 (10:53 +0000)]
re PR other/42537 ([PATCH] misc spelling fixes)

/gcc
2009-12-30  Robert Millan  <rmh.gcc@aybabtu.com>

PR other/42537
* errors.c: Fix typo in comment.
* graphite-sese-to-poly.c: Likewise.
* profile.c (is_inconsistent): Fix typo in string.

/libjava
2009-12-30  Robert Millan  <rmh.gcc@aybabtu.com>

PR other/42537
* classpath/java/rmi/activation/Activatable.java: Fix typos in comment.

From-SVN: r155518

14 years agostl_iterator.h.: Fix typo in comment.
Paolo Carlini [Wed, 30 Dec 2009 10:34:41 +0000 (10:34 +0000)]
stl_iterator.h.: Fix typo in comment.

2009-12-30  Paolo Carlini  <paolo.carlini@oracle.com>

* include/bits/stl_iterator.h.: Fix typo in comment.

From-SVN: r155517

14 years agore PR middle-end/42099 (Error in 64-bit division for 32-bit target)
Ian Lance Taylor [Wed, 30 Dec 2009 04:27:55 +0000 (04:27 +0000)]
re PR middle-end/42099 (Error in 64-bit division for 32-bit target)

./: PR middle-end/42099
* expmed.c (expand_divmod): Don't shift HOST_WIDE_INT value more
than HOST_BITS_PER_WIDE_INT.
testsuite/:
PR middle-end/42099
* gcc.c-torture/execute/20091229-1.c: New test.

From-SVN: r155516

14 years agorandom.h: Fix equation in comment of Weibull distro.
Edward Smith-Rowland [Wed, 30 Dec 2009 02:08:23 +0000 (02:08 +0000)]
random.h: Fix equation in comment of Weibull distro.

2009-12-29  Edward Smith-Rowland  <3dw4rd@verizon.net>

* include/bits/random.h: Fix equation in comment of Weibull distro.

From-SVN: r155515

14 years agoDaily bump.
GCC Administrator [Wed, 30 Dec 2009 00:16:52 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r155514

14 years agoi386.c (ix86_expand_int_vcond): Reformat.
H.J. Lu [Tue, 29 Dec 2009 21:05:13 +0000 (13:05 -0800)]
i386.c (ix86_expand_int_vcond): Reformat.

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

* config/i386/i386.c (ix86_expand_int_vcond): Reformat.

From-SVN: r155509

14 years agore PR fortran/42517 (-fcheck=recursion does not work with -fopenmp)
Janus Weil [Tue, 29 Dec 2009 19:29:54 +0000 (20:29 +0100)]
re PR fortran/42517 (-fcheck=recursion does not work with -fopenmp)

gcc/fortran/
2009-12-29  Janus Weil  <janus@gcc.gnu.org>

PR fortran/42517
* invoke.texi: Document the interference of
-fcheck=recursion and -fopenmp.
* trans-decl.c (gfc_generate_function_code): Disable -fcheck=recursion
when used with -fopenmp.

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

PR fortran/42517
* gfortran.dg/gomp/recursion1.f90: New test.

From-SVN: r155506

14 years agotest_raise_from_pure.adb: XFAIL for the ARM.
Eric Botcazou [Tue, 29 Dec 2009 16:12:03 +0000 (16:12 +0000)]
test_raise_from_pure.adb: XFAIL for the ARM.

* gnat.dg/test_raise_from_pure.adb: XFAIL for the ARM.
* gnat.dg/warn5.adb: Expect warning on the ARM.

From-SVN: r155505

14 years agobitset (bitset<>::to_ullong, [...]): Add.
Paolo Carlini [Tue, 29 Dec 2009 12:24:36 +0000 (12:24 +0000)]
bitset (bitset<>::to_ullong, [...]): Add.

2009-12-29  Paolo Carlini  <paolo.carlini@oracle.com>

* include/std/bitset (bitset<>::to_ullong, _M_do_to_ullong): Add.
(_Base_bitset<>::_M_do_to_ullong): Add.
* include/debug/bitset (bitset<>): Add using _Base::to_ullong.
* include/profile/bitset (bitset<>): Likewise.
* testsuite/23_containers/bitset/to_ullong/1.cc: New.

From-SVN: r155504

14 years ago* zh_CN.po: Update.
Joseph Myers [Tue, 29 Dec 2009 11:48:31 +0000 (11:48 +0000)]
* zh_CN.po: Update.

From-SVN: r155503

14 years ago* dwarf2.h (enum dwarf_attribute): Add DW_AT_GNAT_descriptive_type.
Joel Brobecker [Tue, 29 Dec 2009 04:14:21 +0000 (04:14 +0000)]
* dwarf2.h (enum dwarf_attribute): Add DW_AT_GNAT_descriptive_type.

From-SVN: r155501

14 years agore PR target/41595 (object-c++ mangled local labels are not correctly recognized.)
Dave Korn [Tue, 29 Dec 2009 04:13:09 +0000 (04:13 +0000)]
re PR target/41595 (object-c++ mangled local labels are not correctly recognized.)

  2009-10-06 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>

PR objective-c++/41595
* config/darwin.c (darwin_label_is_anonymous_local_objc_name):
New function to recognize objective c/c++ internal symbols,
including mangled ones.
* config/darwin.h (ASM_OUTPUT_LABELREF): Use
darwin_label_is_anonymous_local_objc_name to detect both
mangled and clear ObjC internal symbols.

From-SVN: r155500

14 years agore PR c++/42447 (ICE during processing complex templates)
Jason Merrill [Tue, 29 Dec 2009 03:33:24 +0000 (22:33 -0500)]
re PR c++/42447 (ICE during processing complex templates)

PR c++/42447
* pt.c (iterative_hash_template_arg): Don't rely on TYPE_CANONICAL
for ARRAY_TYPE.

From-SVN: r155499

14 years agobitset (bitset<>::bitset(const char*)): Add.
Paolo Carlini [Tue, 29 Dec 2009 00:29:12 +0000 (00:29 +0000)]
bitset (bitset<>::bitset(const char*)): Add.

2009-12-28  Paolo Carlini  <paolo.carlini@oracle.com>

* include/debug/bitset (bitset<>::bitset(const char*)): Add.
* include/profile/bitset (bitset<>::bitset(const char*)): Likewise.

From-SVN: r155498

14 years agoDaily bump.
GCC Administrator [Tue, 29 Dec 2009 00:17:09 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r155497

14 years agore PR fortran/42353 ([OOP] Bogus Error: Name 'vtype$...' at (1) is an ambiguous refer...
Janus Weil [Mon, 28 Dec 2009 23:13:03 +0000 (00:13 +0100)]
re PR fortran/42353 ([OOP] Bogus Error: Name 'vtype$...' at (1) is an ambiguous reference ...)

gcc/fortran/
2009-12-28 Janus Weil  <janus@gcc.gnu.org>

PR fortran/42353
* symbol.c (gfc_find_derived_vtab): Make vtabs and vtypes private.

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

PR fortran/42353
* gfortran.dg/class_13.f03: New test.

From-SVN: r155494

14 years agoffi_darwin.c (ffi_prep_args): Copy abi and nargs to local variables.
David Edelsohn [Mon, 28 Dec 2009 18:19:18 +0000 (18:19 +0000)]
ffi_darwin.c (ffi_prep_args): Copy abi and nargs to local variables.

        * src/powerpc/ffi_darwin.c (ffi_prep_args): Copy abi and nargs to
        local variables.
        (aix_adjust_aggregate_sizes): New function.
        (ffi_prep_cif_machdep): Call it.

From-SVN: r155492

14 years agoCorrect pathname.
H.J. Lu [Mon, 28 Dec 2009 16:57:01 +0000 (08:57 -0800)]
Correct pathname.

From-SVN: r155490

14 years agoMention PR middle-end/41344.
H.J. Lu [Mon, 28 Dec 2009 16:44:34 +0000 (08:44 -0800)]
Mention PR middle-end/41344.

From-SVN: r155488

14 years agoHandle GIMPLE_COND in diagnose_sb_2.
H.J. Lu [Mon, 28 Dec 2009 16:41:33 +0000 (08:41 -0800)]
Handle GIMPLE_COND in diagnose_sb_2.

gcc/

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

PR middle-end/41344
* omp-low.c (diagnose_sb_2): Handle GIMPLE_COND.

gcc/testsuite/

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

* gfortran.dg/gomp/pr41344.f: New.

From-SVN: r155487

14 years agoMAINTAINERS: Change my email address.
Christopher Faylor [Mon, 28 Dec 2009 04:50:44 +0000 (11:50 +0700)]
MAINTAINERS: Change my email address.

* MAINTAINERS: Change my email address.

From-SVN: r155486

14 years agore PR tree-optimization/42231 (Wrong generated code when using a callback function...
Martin Jambor [Mon, 28 Dec 2009 01:41:07 +0000 (02:41 +0100)]
re PR tree-optimization/42231 (Wrong generated code when using a callback function (possible callback function inlining bug ?))

2009-12-27  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/42231
* testsuite/gcc.c-torture/execute/pr42231.c: New test.

From-SVN: r155485

14 years agoDaily bump.
GCC Administrator [Mon, 28 Dec 2009 00:16:38 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r155484

14 years ago* sv.po: Update.
Joseph Myers [Sun, 27 Dec 2009 18:40:21 +0000 (18:40 +0000)]
* sv.po: Update.

From-SVN: r155480

14 years agore PR fortran/22552 (Would like warning when an undeclared function is called)
Francois-Xavier Coudert [Sun, 27 Dec 2009 09:30:57 +0000 (09:30 +0000)]
re PR fortran/22552 (Would like warning when an undeclared function is called)

2009-12-27  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
    Daniel Kraft  <d@domob.eu>

PR fortran/22552
* lang.opt (Wimplicit-procedure): New option.
* gfortran.h (struct gfc_option_t): New member `warn_implicit_procedure'
* options.c (gfc_handle_option): Handle -Wimplicit-procedure.
* interface.c (gfc_procedure_use): Warn about procedure never
explicitly declared if requested by the new flag.
* invoke.texi: Document new flag -Wimplicit-procedure.

2009-12-27  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
    Daniel Kraft  <d@domob.eu>

PR fortran/22552
* gfortran.dg/warn_implicit_procedure_1.f90: New test.

Co-Authored-By: Daniel Kraft <d@domob.eu>
From-SVN: r155479

14 years agoDaily bump.
GCC Administrator [Sun, 27 Dec 2009 00:17:00 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r155478

14 years agoconfigure.ac: Define FFI_MMAP_EXEC_WRIT for the given targets.
Andreas Tobler [Sat, 26 Dec 2009 18:49:55 +0000 (18:49 +0000)]
configure.ac: Define FFI_MMAP_EXEC_WRIT for the given targets.

2009-12-26  Andreas Tobler  <a.tobler@schweiz.org>

* configure.ac: Define FFI_MMAP_EXEC_WRIT for the given targets.
* configure: Regenerate.
* fficonfig.h.in: Likewise.
* src/closures.c: Remove the FFI_MMAP_EXEC_WRIT definition for
Solaris/x86.

From-SVN: r155475

14 years agoffi.c (ffi_prep_args_SYSV): Advance intarg_count when a float arguments is passed...
Andreas Schwab [Sat, 26 Dec 2009 12:40:27 +0000 (12:40 +0000)]
ffi.c (ffi_prep_args_SYSV): Advance intarg_count when a float arguments is passed in memory.

* src/powerpc/ffi.c (ffi_prep_args_SYSV): Advance intarg_count
when a float arguments is passed in memory.
(ffi_closure_helper_SYSV): Mark general registers as used up when
a 64bit or soft-float long double argument is passed in memory.

From-SVN: r155473

14 years agoFix ChangeLog entry date
Anthony Green [Sat, 26 Dec 2009 05:04:08 +0000 (05:04 +0000)]
Fix ChangeLog entry date

From-SVN: r155472

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

From-SVN: r155471

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

From-SVN: r155470

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

From-SVN: r155469

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

From-SVN: r155468

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

From-SVN: r155464

14 years agoPR c++/41305, DR 384
Jason Merrill [Thu, 24 Dec 2009 21:46:14 +0000 (16:46 -0500)]
PR c++/41305, DR 384

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.

From-SVN: r155461

14 years agore PR target/42457 (AVR fails to build with other than C family languages)
Andy Hutchinson [Thu, 24 Dec 2009 20:32:38 +0000 (20:32 +0000)]
re PR target/42457 (AVR fails to build with other than C family languages)

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.

From-SVN: r155460

14 years agoPR target/35013, 27192
Andy Hutchinson [Thu, 24 Dec 2009 19:53:57 +0000 (19:53 +0000)]
PR target/35013, 27192

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.

From-SVN: r155459

14 years ago[multiple changes]
Paolo Carlini [Thu, 24 Dec 2009 18:12:02 +0000 (18:12 +0000)]
[multiple changes]

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.

From-SVN: r155458

14 years agofunctional (bind): Avoid invalid instantiations for bind<void>.
Jonathan Wakely [Thu, 24 Dec 2009 14:54:33 +0000 (14:54 +0000)]
functional (bind): Avoid invalid instantiations for bind<void>.

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.

From-SVN: r155457

14 years agostl_deque.h (copy_backward(_Deque_iterator, _Deque_iterator, _Deque_iterator), [...
Paolo Carlini [Thu, 24 Dec 2009 12:47:37 +0000 (12:47 +0000)]
stl_deque.h (copy_backward(_Deque_iterator, _Deque_iterator, _Deque_iterator), [...]): Declare.

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.

From-SVN: r155455

14 years agostore-motion.c (build_store_vectors): Clear regs_set_in_block at the start of a loop...
Steven Bosscher [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.

* store-motion.c (build_store_vectors): Clear regs_set_in_block at
the start of a loop over basic blocks.

From-SVN: r155454

14 years agore PR target/40887 (GCC generates suboptimal code for indirect function calls on...
Julian Brown [Thu, 24 Dec 2009 10:46:00 +0000 (10:46 +0000)]
re PR target/40887 (GCC generates suboptimal code for indirect function calls on ARM)

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.

Co-Authored-By: Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
From-SVN: r155453

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

From-SVN: r155447

14 years agoFixed ChangeLog entry.
Cary Coutant [Wed, 23 Dec 2009 19:02:07 +0000 (11:02 -0800)]
Fixed ChangeLog entry.

From-SVN: r155434

14 years ago5.cc: Move...
Paolo Carlini [Wed, 23 Dec 2009 18:45:41 +0000 (18:45 +0000)]
5.cc: Move...

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.

From-SVN: r155433

14 years agostl_deque.h (copy(_Deque_iterator, _Deque_iterator, _Deque_iterator), [...]): Declare.
Paolo Carlini [Wed, 23 Dec 2009 17:14:15 +0000 (17:14 +0000)]
stl_deque.h (copy(_Deque_iterator, _Deque_iterator, _Deque_iterator), [...]): Declare.

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.

From-SVN: r155432

14 years agore PR rtl-optimization/42475 (ICE at -O1 and above: internal compiler error: in simpl...
Jakub Jelinek [Wed, 23 Dec 2009 17:04:07 +0000 (18:04 +0100)]
re PR rtl-optimization/42475 (ICE at -O1 and above: internal compiler error: in simplify_subreg, at simplify-rtx.c:4954)

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.

From-SVN: r155430

14 years agore PR debug/42454 (debug_ranges table contains empty range for unused .text section...
Jakub Jelinek [Wed, 23 Dec 2009 16:54:35 +0000 (17:54 +0100)]
re PR debug/42454 (debug_ranges table contains empty range for unused .text section with -ffunction-sections)

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.

Co-Authored-By: Cary Coutant <ccoutant@google.com>
From-SVN: r155429

14 years agore PR target/42093 (Compressed switch tables for Thumb2 have signed offsets)
Ramana Radhakrishnan [Wed, 23 Dec 2009 16:36:40 +0000 (16:36 +0000)]
re PR target/42093 (Compressed switch tables for Thumb2 have signed offsets)

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.

From-SVN: r155428

14 years agoPass floating point constant moves to integer registers
Ramana Radhakrishnan [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.

From-SVN: r155427

14 years ago20000715-1.c: Remove target selector.
Uros Bizjak [Wed, 23 Dec 2009 14:08:23 +0000 (15:08 +0100)]
20000715-1.c: Remove target selector.

* 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.

From-SVN: r155426

14 years agoAdd missing testcases.
Sebastian Pop [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.

From-SVN: r155424

14 years agore PR middle-end/42180 (compiling induct.f90 with -ffast-math -O2 -fgraphite-identit...
Sebastian Pop [Wed, 23 Dec 2009 07:51:05 +0000 (07:51 +0000)]
re PR middle-end/42180 (compiling induct.f90 with  -ffast-math -O2 -fgraphite-identity ICEs gfortran)

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.

From-SVN: r155423

14 years agore PR middle-end/42180 (compiling induct.f90 with -ffast-math -O2 -fgraphite-identit...
Sebastian Pop [Wed, 23 Dec 2009 07:50:53 +0000 (07:50 +0000)]
re PR middle-end/42180 (compiling induct.f90 with  -ffast-math -O2 -fgraphite-identity ICEs gfortran)

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.

From-SVN: r155422

14 years agore PR middle-end/42393 ([graphite] internal compiler error: in check_loop_closed_ssa...
Sebastian Pop [Wed, 23 Dec 2009 07:50:43 +0000 (07:50 +0000)]
re PR middle-end/42393 ([graphite]  internal compiler error: in check_loop_closed_ssa_use)

Fix PR42393.

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

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

From-SVN: r155421

14 years agore PR debug/42186 ([graphite] internal compiler error: verify_ssa failed)
Sebastian Pop [Wed, 23 Dec 2009 07:50:32 +0000 (07:50 +0000)]
re PR debug/42186 ([graphite] internal compiler error: verify_ssa failed)

Fix PR42186.

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

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

From-SVN: r155420

14 years agore PR tree-optimization/42205 ([graphite] internal compiler error: verify_ssa failed...
Sebastian Pop [Wed, 23 Dec 2009 07:50:22 +0000 (07:50 +0000)]
re PR tree-optimization/42205 ([graphite] internal compiler error: verify_ssa failed with -ffast-math -floop-interchange)

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.

From-SVN: r155419

14 years agoFix PR42334: correct the update of the LST on loop interchange and distribution.
Sebastian Pop [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.

From-SVN: r155418

14 years agore PR middle-end/42181 ([graphite] -fgraphite-identity miscompiles air.f90)
Sebastian Pop [Wed, 23 Dec 2009 07:50:00 +0000 (07:50 +0000)]
re PR middle-end/42181 ([graphite] -fgraphite-identity miscompiles air.f90)

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.

From-SVN: r155417

14 years agore PR c++/42260 (ICE looking up template conversion operator)
Dodji Seketeli [Wed, 23 Dec 2009 00:31:33 +0000 (00:31 +0000)]
re PR c++/42260 (ICE looking up template conversion operator)

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.

From-SVN: r155415

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

From-SVN: r155414

14 years agore PR c++/42466 (Multiple instantiations of template constructor fail)
Jason Merrill [Tue, 22 Dec 2009 23:16:46 +0000 (18:16 -0500)]
re PR c++/42466 (Multiple instantiations of template constructor fail)

PR c++/42466
* pt.c (reduce_template_parm_level): Check the type before
returning cached TEMPLATE_PARM_INDEX.

From-SVN: r155411

14 years agore PR c++/42331 (ICE with invalid array initializer)
Jason Merrill [Tue, 22 Dec 2009 23:16:38 +0000 (18:16 -0500)]
re PR c++/42331 (ICE with invalid array initializer)

PR c++/42331
* typeck.c (cp_build_modify_expr): Fix thinko.

From-SVN: r155410

14 years agocrayptr2.f90: Remove forced static linkage for darwin...
Iain Sandoe [Tue, 22 Dec 2009 22:16:02 +0000 (22:16 +0000)]
crayptr2.f90: Remove forced static linkage for darwin...

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.

From-SVN: r155409

14 years agore PR target/41605 (Static linking of libgcc/libgfortran/libstdc++ can cause inconsis...
Iain Sandoe [Tue, 22 Dec 2009 22:11:27 +0000 (22:11 +0000)]
re PR target/41605 (Static linking of libgcc/libgfortran/libstdc++ can cause inconsistent symbol resolution.)

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.

From-SVN: r155408

14 years agoDisable libtool support for languages unused in libjava/libltdl
Ralf Wildenhues [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.

From-SVN: r155407

14 years agore PR debug/42454 (debug_ranges table contains empty range for unused .text section...
Cary Coutant [Tue, 22 Dec 2009 17:37:57 +0000 (17:37 +0000)]
re PR debug/42454 (debug_ranges table contains empty range for unused .text section with -ffunction-sections)

PR debug/42454
* dwarf2out.c (dwarf2out_finish): Don't output range for .text
section unless .text section was used.  Likewise for cold.

From-SVN: r155402

14 years agoplugins.texi: Rename pre-genericize event.
Brian Hackett [Tue, 22 Dec 2009 16:27:25 +0000 (16:27 +0000)]
plugins.texi: Rename pre-genericize event.

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.

From-SVN: r155401

14 years agore PR driver/42463 (A typo with "estimated" word in gcc-4.5-b20091203.pot file)
Paolo Carlini [Tue, 22 Dec 2009 15:58:10 +0000 (15:58 +0000)]
re PR driver/42463 (A typo with "estimated" word in gcc-4.5-b20091203.pot file)

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.

From-SVN: r155400

14 years agomangle.c (write_member_name): Move abi-version=1 code back to...
Jason Merrill [Tue, 22 Dec 2009 14:30:23 +0000 (09:30 -0500)]
mangle.c (write_member_name): Move abi-version=1 code back to...

* mangle.c (write_member_name): Move abi-version=1 code back to...
(write_expression): ...here.

From-SVN: r155399

14 years agomutex (call_once(once_flag&, _Callable, _Args&&...)): Explicitly qualify with std...
Jonathan Wakely [Tue, 22 Dec 2009 12:45:12 +0000 (12:45 +0000)]
mutex (call_once(once_flag&, _Callable, _Args&&...)): Explicitly qualify with std:: bind calls.

2009-12-22  Jonathan Wakely  <jwakely.gcc@gmail.com>

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

From-SVN: r155397

14 years agotm.texi (ARG_POINTER_CFA_OFFSET): Document new default.
Paul Brook [Tue, 22 Dec 2009 12:24:32 +0000 (12:24 +0000)]
tm.texi (ARG_POINTER_CFA_OFFSET): Document new default.

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.

From-SVN: r155396

14 years agore PR libstdc++/42456 (Revision 155377 failed some C++ atomic tests)
Benjamin Kosnik [Tue, 22 Dec 2009 08:23:08 +0000 (08:23 +0000)]
re PR libstdc++/42456 (Revision 155377 failed some C++ atomic tests)

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.

From-SVN: r155393

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

From-SVN: r155386

14 years agopr36901.h: AVR must support address zero.
Andy Hutchinson [Tue, 22 Dec 2009 00:08:34 +0000 (00:08 +0000)]
pr36901.h: AVR must support address zero.

2009-12-21  Andy Hutchinson  <hutchinsonandy@gcc.gnu.org>

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

From-SVN: r155383

14 years agore PR testsuite/36903 (Generic vectorizarion test failures)
Andy Hutchinson [Tue, 22 Dec 2009 00:00:50 +0000 (00:00 +0000)]
re PR testsuite/36903 (Generic vectorizarion test failures)

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.

From-SVN: r155382

14 years agorun_doxygen: Update nested namespace exceptions.
Benjamin Kosnik [Mon, 21 Dec 2009 21:26:45 +0000 (21:26 +0000)]
run_doxygen: Update nested namespace exceptions.

2009-12-21  Benjamin Kosnik  <bkoz@redhat.com>

* scripts/run_doxygen: Update nested namespace exceptions.

From-SVN: r155380

14 years agodecl.c (finish_function): Rename pre-genericize event.
Brian Hackett [Mon, 21 Dec 2009 20:37:49 +0000 (20:37 +0000)]
decl.c (finish_function): Rename pre-genericize event.

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.

From-SVN: r155379

14 years agoPR libfortran/PR42422
Thomas Koenig [Mon, 21 Dec 2009 20:14:39 +0000 (20:14 +0000)]
PR libfortran/PR42422

2009-12-21  Thomas Koenig  <tkoenig@gcc.gnu.org>

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

From-SVN: r155378

14 years agoatomic: Update to N3000.
Benjamin Kosnik [Mon, 21 Dec 2009 19:00:34 +0000 (19:00 +0000)]
atomic: Update to N3000.

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.

From-SVN: r155377

14 years agore PR rtl-optimization/42429 (Miscompilation of 2fish on s390)
Jakub Jelinek [Mon, 21 Dec 2009 16:32:44 +0000 (17:32 +0100)]
re PR rtl-optimization/42429 (Miscompilation of 2fish on s390)

PR rtl-optimization/42429
* reload.c (find_reloads_subreg_address): When adjusting mode of
MEM, update also MEM_SIZE if it is set.

From-SVN: r155374

14 years agoconfigure.ac: Make i?86 build on FreeBSD and OpenBSD.
Andreas Tobler [Mon, 21 Dec 2009 16:31:31 +0000 (16:31 +0000)]
configure.ac: Make i?86 build on FreeBSD and OpenBSD.

2009-12-21  Andreas Tobler  <a.tobler@schweiz.org>

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

From-SVN: r155373

14 years agoAlways pass --32 to ia32 Linux assembler.
H.J. Lu [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.

From-SVN: r155372

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

From-SVN: r155371

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

From-SVN: r155368

14 years agore PR tree-optimization/42027 (Performance regression in convolution loop optimization)
Michael Matz [Sun, 20 Dec 2009 01:15:46 +0000 (01:15 +0000)]
re PR tree-optimization/42027 (Performance regression in convolution loop optimization)

PR tree-optimization/42027
* cfgexpand.c (expand_gimple_cond): Use jumpy sequence for &, &&, |
and || if jumps are cheap.

From-SVN: r155367

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

From-SVN: r155366

14 years agoFix PR c++/42225, take 2
Dodji Seketeli [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.

From-SVN: r155363

14 years agore PR lto/42401 (wrong-code with -flto)
Richard Guenther [Sat, 19 Dec 2009 11:41:14 +0000 (11:41 +0000)]
re PR lto/42401 (wrong-code with -flto)

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.

From-SVN: r155361

14 years agore PR tree-optimization/42108 (50% performance regression)
Richard Guenther [Sat, 19 Dec 2009 11:24:49 +0000 (11:24 +0000)]
re PR tree-optimization/42108 (50% performance regression)

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.

From-SVN: r155360

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

From-SVN: r155359

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

        * 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.

From-SVN: r155354

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

From-SVN: r155353

14 years agore PR c++/42415 (Bad assembly generated for constructor call)
Jason Merrill [Fri, 18 Dec 2009 20:50:08 +0000 (15:50 -0500)]
re PR c++/42415 (Bad assembly generated for constructor call)

PR c++/42415
* g++.old-deja/g++.jason/temporary5.C: Adjust.

From-SVN: r155350

14 years agore PR c++/28300 (In-class partial specialization of class accepted)
Jason Merrill [Fri, 18 Dec 2009 20:49:58 +0000 (15:49 -0500)]
re PR c++/28300 (In-class partial specialization of class accepted)

PR c++/28300
PR c++/42062
* pt.c (check_specialization_namespace): Complain about
specialization at non-namespace scope.

From-SVN: r155349

14 years agore PR c++/42415 (Bad assembly generated for constructor call)
Jason Merrill [Fri, 18 Dec 2009 16:12:50 +0000 (11:12 -0500)]
re PR c++/42415 (Bad assembly generated for constructor call)

PR c++/42415
* call.c (build_new_method_call): Complain about calling the
constructor directly.

From-SVN: r155347

14 years agotree-ssa-sccvn.c (copy_nary): New function.
Richard Guenther [Fri, 18 Dec 2009 15:31:38 +0000 (15:31 +0000)]
tree-ssa-sccvn.c (copy_nary): New function.

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.

From-SVN: r155346

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

From-SVN: r155344