OSDN Git Service

pf3gnuchains/gcc-fork.git
11 years agoMove 2009 ChangeLog to ChangeLog-2009.
hjl [Fri, 1 Jan 2010 17:08:32 +0000 (17:08 +0000)]
Move 2009 ChangeLog to ChangeLog-2009.

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

11 years agoRemove asterisk in LTO section name.
hjl [Fri, 1 Jan 2010 16:49:15 +0000 (16:49 +0000)]
Remove asterisk in LTO section name.

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

PR lto/42531
* lto-streamer-out.c (produce_asm): Revert the last change.
(copy_function): Likewise.

* lto-streamer.c (lto_get_section_name): Skip any leading
asterisk in name.

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

11 years ago2010-01-01 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 1 Jan 2010 13:56:50 +0000 (13:56 +0000)]
2010-01-01  Richard Guenther  <rguenther@suse.de>

PR middle-end/42559
* builtins.c (get_object_alignment): Do not use DECL_ALIGN
for LABEL_DECLs.

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

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

11 years agoUpdate README for libffi 3.0.9.
green [Fri, 1 Jan 2010 12:50:08 +0000 (12:50 +0000)]
Update README for libffi 3.0.9.

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

11 years agoDefine HAVE_LONG_DOUBLE appropriately for MIPS.
green [Fri, 1 Jan 2010 12:46:02 +0000 (12:46 +0000)]
Define HAVE_LONG_DOUBLE appropriately for MIPS.

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

11 years agoxfail tests for AVR32
green [Fri, 1 Jan 2010 12:40:18 +0000 (12:40 +0000)]
xfail tests for AVR32

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

11 years agoFixes for HPUX.
green [Fri, 1 Jan 2010 12:36:07 +0000 (12:36 +0000)]
Fixes for HPUX.

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

11 years agoAdd openbsd support.
green [Fri, 1 Jan 2010 12:32:24 +0000 (12:32 +0000)]
Add openbsd support.

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

11 years agoUpdate xfails.
green [Fri, 1 Jan 2010 12:26:49 +0000 (12:26 +0000)]
Update xfails.

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

11 years ago2010-01-01 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Fri, 1 Jan 2010 11:27:50 +0000 (11:27 +0000)]
2010-01-01  Paolo Carlini  <paolo.carlini@oracle.com>

Revert last change, reinstantiate basic_string and vstring tests.

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

11 years ago2010-01-01 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Fri, 1 Jan 2010 10:20:53 +0000 (10:20 +0000)]
2010-01-01  Paolo Carlini  <paolo.carlini@oracle.com>

* testsuite/21_strings/basic_string/requirements/exception/
propagation_consistent.cc: Remove, cannot instantiate basic_string
for non-PODs (21/1).
* testsuite/21_strings/basic_string/requirements/exception/
basic.cc: Likewise.
* testsuite/21_strings/basic_string/requirements/exception/
generation_prohibited.cc: Likewise.
* testsuite/ext/vstring/requirements/exception/
propagation_consistent.cc: Likewise.
* testsuite/ext/vstring/requirements/exception/basic.cc:
Likewise.
* testsuite/ext/vstring/requirements/exception/
generation_prohibited.cc: Likewise.

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

11 years ago2009-12-31 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 1 Jan 2010 03:38:58 +0000 (03:38 +0000)]
2009-12-31  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/21772 part 3
* include/ext/throw_allocator.h: Add _GLIBCXX_IS_AGGREGATE.
* testsuite/util/testsuite_container_traits.h (traits<std::map>):
Add has_insert.
(traits<std::multimap>): Add has_insert.
(traits<std::multiset>): Add has_size_type_constructor.
* testsuite/23_containers/array/requirements/exception/
generation_prohibited.cc: New.
* testsuite/21_strings/basic_string/requirements/exception/
basic.cc: New.
generation_prohibited.cc: New.
propagation_consistent.cc: New.
* testsuite/ext/vstring/requirements/exception/
basic.cc: New.
generation_prohibited.cc: New.
propagation_consistent.cc: New.
* testsuite/23_containers/unordered_map/requirements/exception/
basic.cc: New.
generation_prohibited.cc: New.
propagation_consistent.cc: New.
* testsuite/23_containers/multimap/requirements/exception/
basic.cc: New.
generation_prohibited.cc: New.
propagation_consistent.cc: New.
* testsuite/23_containers/set/requirements/exception/
basic.cc: New.
generation_prohibited.cc: New.
propagation_consistent.cc: New.
* testsuite/23_containers/unordered_multimap/requirements/exception/
basic.cc: New.
generation_prohibited.cc: New.
propagation_consistent.cc: New.
* testsuite/23_containers/forward_list/requirements/exception/
basic.cc: New.
generation_prohibited.cc: New.
propagation_consistent.cc: New.
* testsuite/23_containers/unordered_set/requirements/exception/
basic.cc: New.
generation_prohibited.cc: New.
propagation_consistent.cc: New.
* testsuite/23_containers/vector/requirements/exception/
basic.cc: New.
generation_prohibited.cc: New.
propagation_consistent.cc: New.
* testsuite/23_containers/deque/requirements/exception/
basic.cc: New.
generation_prohibited.cc: New.
propagation_consistent.cc: New.
* testsuite/23_containers/multiset/requirements/exception/
basic.cc: New.
generation_prohibited.cc: New.
propagation_consistent.cc: New.
* testsuite/23_containers/unordered_multiset/requirements/exception/
basic.cc: New.
generation_prohibited.cc: New.
propagation_consistent.cc: New.
* testsuite/23_containers/map/requirements/exception/
basic.cc: New.
generation_prohibited.cc: New.
propagation_consistent.cc: New.

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

11 years ago 2009-12-31 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 1 Jan 2010 00:30:45 +0000 (00:30 +0000)]
 2009-12-31  Benjamin Kosnik  <bkoz@redhat.com>

* doc/xml/manual/intro.xml: Order TR's at the end of status.
* doc/xml/manual/abi.xml: Update.
* doc/xml/manual/evolution.xml: Put in stubs.

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

11 years agoDaily bump.
gccadmin [Fri, 1 Jan 2010 00:16:56 +0000 (00:16 +0000)]
Daily bump.

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

11 years agoWindows patch
green [Thu, 31 Dec 2009 17:44:32 +0000 (17:44 +0000)]
Windows patch

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

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

* include/std/bitset (bitset<>::bitset(unsigned long long),
_Base_bitset<>::_Base_bitset(unsigned long long)): Add
in C++0x mode.
* testsuite/23_containers/bitset/cons/3.cc: New.

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

11 years agoNew test case.
green [Thu, 31 Dec 2009 16:58:55 +0000 (16:58 +0000)]
New test case.

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

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

* include/std/type_traits: Fix minor stylistic nit.

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

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

* include/std/type_traits (__is_constructible_helper1): Rename
to __is_constructible_helper1, tweaked to a specialization of
__is_constructible_helper.
(is_constructible): Adjust; minor formatting and stylistic
changes throughout.
* testsuite/util/testsuite_tr1.h (test_relationship): Change
variadic version to an overload of test_property.
* testsuite/20_util/is_constructible/value.cc: Adjust.
* testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
Adjust dg-error line numbers.
* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
Likewise.
* testsuite/20_util/declval/requirements/1_neg.cc: Likewise.

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

11 years ago * tree-dump.c (dump_options): Don't set TDF_NOUID for all.
jakub [Thu, 31 Dec 2009 10:52:56 +0000 (10:52 +0000)]
* tree-dump.c (dump_options): Don't set TDF_NOUID for all.

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

11 years ago2009-12-31 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
davek [Thu, 31 Dec 2009 01:35:24 +0000 (01:35 +0000)]
2009-12-31  Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>

PR target/41605
* config/darwin.h (LINK_COMMAND_SPEC): Resolve fopenmp specifically
for target.
(LINK_SPEC): Replace dynamic libraries by static equivalents where
necessary.
* config/darwin9.h (LINK_COMMAND_SPEC): Resolve fopenmp specifically
for target.

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

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

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

11 years ago2009-12-30 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Wed, 30 Dec 2009 23:37:28 +0000 (23:37 +0000)]
2009-12-30  Paolo Carlini  <paolo.carlini@oracle.com>

* include/std/type_traits: Fix minor formatting nit.

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

11 years ago2009-12-30 Daniel Frey <d.frey@gmx.de>
paolo [Wed, 30 Dec 2009 23:22:58 +0000 (23:22 +0000)]
2009-12-30  Daniel Frey  <d.frey@gmx.de>
    Paolo Carlini  <paolo.carlini@oracle.com>

* include/std/type_traits (is_explicitly_convertible,
is_constructible): Add.
* testsuite/util/testsuite_tr1.h (ExplicitClass): Add.
* testsuite/20_util/is_explicitly_convertible/value.cc: New.
* testsuite/20_util/is_constructible/value.cc: Likewise.

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

* testsuite/util/testsuite_tr1.h (test_relationship): Add
variadic version.
* testsuite/20_util/is_explicitly_convertible/requirements/
typedefs.cc: New.
* testsuite/20_util/is_explicitly_convertible/requirements/
explicit_instantiation.cc: Likewise.
* testsuite/20_util/is_constructible/requirements/typedefs.cc:
Likewise.
* testsuite/20_util/is_constructible/requirements/
explicit_instantiation.cc: Likewise.
* testsuite/20_util/is_convertible/value.cc: Extend.
* testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
Adjust dg-error line numbers.
* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
Likewise.
* testsuite/20_util/declval/requirements/1_neg.cc: Likewise.

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

11 years ago PR lto/42531
davek [Wed, 30 Dec 2009 23:20:55 +0000 (23:20 +0000)]
PR lto/42531
* lto-streamer-out.c (produce_asm): Skip any leading asterisk when
using DECL_ASSEMBLER_NAME to generate a section name.
(copy_function): Likewise.

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

11 years agoPR target/42516
schwab [Wed, 30 Dec 2009 23:03:46 +0000 (23:03 +0000)]
PR target/42516
* config/m68k/m68k.md (rotlsi_16): New insn.

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

11 years ago PR c/42439
jsm28 [Wed, 30 Dec 2009 21:28:45 +0000 (21:28 +0000)]
PR c/42439
* c-decl.c (check_bitfield_type_and_width): Only pedwarn if
pedantic for bit-field width not an integer constant expression
but folding to one.

testsuite:
* gcc.dg/bitfld-19.c, gcc.dg/bitfld-20.c, gcc.dg/bitfld-21.c: New
tests.

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

11 years ago PR tree-optimization/41956
irar [Wed, 30 Dec 2009 12:53:18 +0000 (12:53 +0000)]
PR tree-optimization/41956
* tree-vect-slp.c (vect_supported_load_permutation_p): Add check that
the load indices differ.

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

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

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

11 years ago PR target/42549
uros [Wed, 30 Dec 2009 11:07:12 +0000 (11:07 +0000)]
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.

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

11 years ago/gcc
paolo [Wed, 30 Dec 2009 10:53:31 +0000 (10:53 +0000)]
/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.

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

11 years ago2009-12-30 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Wed, 30 Dec 2009 10:34:41 +0000 (10:34 +0000)]
2009-12-30  Paolo Carlini  <paolo.carlini@oracle.com>

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

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

11 years ago./:
ian [Wed, 30 Dec 2009 04:27:55 +0000 (04:27 +0000)]
./:
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.

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

11 years ago2009-12-29 Edward Smith-Rowland <3dw4rd@verizon.net>
paolo [Wed, 30 Dec 2009 02:08:23 +0000 (02:08 +0000)]
2009-12-29  Edward Smith-Rowland  <3dw4rd@verizon.net>

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

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

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

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

11 years ago2009-12-29 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 29 Dec 2009 21:05:13 +0000 (21:05 +0000)]
2009-12-29  H.J. Lu  <hongjiu.lu@intel.com>

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

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

11 years agogcc/fortran/
janus [Tue, 29 Dec 2009 19:29:54 +0000 (19:29 +0000)]
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.

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

11 years ago * gnat.dg/test_raise_from_pure.adb: XFAIL for the ARM.
ebotcazou [Tue, 29 Dec 2009 16:12:03 +0000 (16:12 +0000)]
* gnat.dg/test_raise_from_pure.adb: XFAIL for the ARM.
* gnat.dg/warn5.adb: Expect warning on the ARM.

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

11 years ago2009-12-29 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Tue, 29 Dec 2009 12:24:36 +0000 (12:24 +0000)]
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.

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

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

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

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

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

11 years ago 2009-10-06 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
davek [Tue, 29 Dec 2009 04:13:09 +0000 (04:13 +0000)]
  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.

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

11 years ago PR c++/42447
jason [Tue, 29 Dec 2009 03:33:24 +0000 (03:33 +0000)]
PR c++/42447
* pt.c (iterative_hash_template_arg): Don't rely on TYPE_CANONICAL
for ARRAY_TYPE.

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

11 years ago2009-12-28 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Tue, 29 Dec 2009 00:29:12 +0000 (00:29 +0000)]
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.

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

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

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

11 years agogcc/fortran/
janus [Mon, 28 Dec 2009 23:13:03 +0000 (23:13 +0000)]
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.

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

11 years ago * src/powerpc/ffi_darwin.c (ffi_prep_args): Copy abi and nargs to
dje [Mon, 28 Dec 2009 18:19:18 +0000 (18:19 +0000)]
    * 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.

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

11 years agoCorrect pathname.
hjl [Mon, 28 Dec 2009 16:57:01 +0000 (16:57 +0000)]
Correct pathname.

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

11 years agoMention PR middle-end/41344.
hjl [Mon, 28 Dec 2009 16:44:34 +0000 (16:44 +0000)]
Mention PR middle-end/41344.

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

11 years agoHandle GIMPLE_COND in diagnose_sb_2.
hjl [Mon, 28 Dec 2009 16:41:33 +0000 (16:41 +0000)]
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.

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

11 years ago* MAINTAINERS: Change my email address.
cgf [Mon, 28 Dec 2009 04:50:44 +0000 (04:50 +0000)]
* MAINTAINERS: Change my email address.

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

11 years ago2009-12-27 Martin Jambor <mjambor@suse.cz>
jamborm [Mon, 28 Dec 2009 01:41:07 +0000 (01:41 +0000)]
2009-12-27  Martin Jambor  <mjambor@suse.cz>

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

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

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

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

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

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

11 years ago2009-12-27 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
domob [Sun, 27 Dec 2009 09:30:57 +0000 (09:30 +0000)]
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.

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

11 years agoDaily bump.
gccadmin [Sun, 27 Dec 2009 00:17:00 +0000 (00:17 +0000)]
Daily bump.

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

11 years ago2009-12-26 Andreas Tobler <a.tobler@schweiz.org>
andreast [Sat, 26 Dec 2009 18:49:55 +0000 (18:49 +0000)]
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.

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

11 years ago* src/powerpc/ffi.c (ffi_prep_args_SYSV): Advance intarg_count
schwab [Sat, 26 Dec 2009 12:40:27 +0000 (12:40 +0000)]
* 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.

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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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