OSDN Git Service

pf3gnuchains/gcc-fork.git
9 years agoMark ChangeLog
gccadmin [Fri, 25 Mar 2011 16:53:49 +0000 (16:53 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171475 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoMark ChangeLog
gccadmin [Fri, 25 Mar 2011 16:53:43 +0000 (16:53 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171474 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoMark ChangeLog
gccadmin [Fri, 25 Mar 2011 16:53:38 +0000 (16:53 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171473 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoMark ChangeLog
gccadmin [Fri, 25 Mar 2011 16:53:32 +0000 (16:53 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171472 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoMark ChangeLog
gccadmin [Fri, 25 Mar 2011 16:53:26 +0000 (16:53 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171471 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoMark ChangeLog
gccadmin [Fri, 25 Mar 2011 16:53:20 +0000 (16:53 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171470 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoMark ChangeLog
gccadmin [Fri, 25 Mar 2011 16:53:14 +0000 (16:53 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171469 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoMark ChangeLog
gccadmin [Fri, 25 Mar 2011 16:53:08 +0000 (16:53 +0000)]
Mark ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171467 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Fri, 25 Mar 2011 00:18:25 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171433 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * gcc.pot: Regenerate.
jsm28 [Thu, 24 Mar 2011 16:47:51 +0000 (16:47 +0000)]
* gcc.pot: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171410 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * cpplib.pot: Regenerate.
jsm28 [Thu, 24 Mar 2011 16:47:04 +0000 (16:47 +0000)]
* cpplib.pot: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171409 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate.
ro [Thu, 24 Mar 2011 09:28:37 +0000 (09:28 +0000)]
* config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate.
* config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
* config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
* config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
* config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171383 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Thu, 24 Mar 2011 00:18:15 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171375 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Regenerated.
jakub [Wed, 23 Mar 2011 12:20:48 +0000 (12:20 +0000)]
* config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Regenerated.

* config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171349 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Wed, 23 Mar 2011 00:19:20 +0000 (00:19 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171336 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * config/abi/pre/gnu.ver (GLIBCXX_3.4.15): Export _ZNSsC2EOSs
jakub [Tue, 22 Mar 2011 15:06:58 +0000 (15:06 +0000)]
* config/abi/pre/gnu.ver (GLIBCXX_3.4.15): Export _ZNSsC2EOSs
and _ZNSbIwSt11char_traitsIwESaIwEEC2EOS2_.
* config/abi/post/solaris2.8/baseline_symbols.txt: Regenerated.
* config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
* config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
* config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
Likewise.
* config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
* config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
* config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
* config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
* testsuite/21_strings/basic_string/cons/char/moveable2.cc: New test.
* testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc: New
test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171292 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Tue, 22 Mar 2011 00:18:27 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171277 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
jakub [Mon, 21 Mar 2011 19:12:01 +0000 (19:12 +0000)]
* config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
* config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
Likewise.
* config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
* config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
* config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
* config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171262 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * testsuite/util/testsuite_abi.cc (check_version): Set incompatible
jakub [Mon, 21 Mar 2011 19:11:27 +0000 (19:11 +0000)]
* testsuite/util/testsuite_abi.cc (check_version): Set incompatible
even when adding symbols to CXXABI_1.3, GLIBCXX_LDBL_3.4 and
CXXABI_LDBL_1.3 versions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171261 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * config/abi/pre/gnu.ver: Remove typeinfo name exports for C++0x types.
jakub [Mon, 21 Mar 2011 19:10:57 +0000 (19:10 +0000)]
* config/abi/pre/gnu.ver: Remove typeinfo name exports for C++0x types.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171260 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * config/abi/pre/gnu.ver (CXXABI_1.3): Don't export _ZT[IS][PK]*[no].
jakub [Mon, 21 Mar 2011 19:10:24 +0000 (19:10 +0000)]
* config/abi/pre/gnu.ver (CXXABI_1.3): Don't export _ZT[IS][PK]*[no].
(CXXABI_1.3.5): Export _ZTI[PK]*[no].

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171259 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoFix previous Changelog entry.
ramana [Mon, 21 Mar 2011 17:06:02 +0000 (17:06 +0000)]
Fix previous Changelog entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171249 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2011-03-21 Andreas Tobler <andreast@fgznet.ch>
andreast [Mon, 21 Mar 2011 15:06:42 +0000 (15:06 +0000)]
2011-03-21  Andreas Tobler  <andreast@fgznet.ch>

* config/rs6000/t-freebsd: Remove duplication from file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171240 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * config.guess: Detect AIX 7.1.
dje [Mon, 21 Mar 2011 15:02:29 +0000 (15:02 +0000)]
    * config.guess: Detect AIX 7.1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171239 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail on
ro [Mon, 21 Mar 2011 13:40:15 +0000 (13:40 +0000)]
* testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail on
sparc*-sun-solaris2.10 && lp64.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171232 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR bootstrap/48135
ro [Mon, 21 Mar 2011 12:13:26 +0000 (12:13 +0000)]
PR bootstrap/48135
* doc/install.texi (Prerequisites): Move jar etc. up.
Explain support library version requirements.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171222 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR bootstrap/48135
ro [Mon, 21 Mar 2011 12:10:30 +0000 (12:10 +0000)]
PR bootstrap/48135
* doc/install.texi (Prerequisites): Move Perl to build
requirements.  Always necessary on Solaris 2 with Sun ld.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171219 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * doc/install.texi (Specific, alpha*-dec-osf5.1): Update for
ro [Mon, 21 Mar 2011 12:04:52 +0000 (12:04 +0000)]
* doc/install.texi (Specific, alpha*-dec-osf5.1): Update for
binutils 2.21.
(Specific, i?86-*-solaris2.[89]): Likewise.
(Specific, i?86-*-solaris2.10): Likewise.
(Specific, mips-sgi-irix6): Likewise.
(Specific, *-*-solaris2*): Remove Sun Studio download URL.
Update for binutils 2.21.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171217 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago Backport from mainline:
ro [Mon, 21 Mar 2011 10:09:10 +0000 (10:09 +0000)]
Backport from mainline:
2011-03-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

* gcc.dg/vect/slp-multitypes-2.c: Replace dg-do run with
dg-xfail-run-if.
Only xfail with gas.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171213 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR target/48213
jakub [Mon, 21 Mar 2011 09:27:28 +0000 (09:27 +0000)]
PR target/48213
* config/s390/s390.c (s390_delegitimize_address): Don't call
lowpart_subreg if orig_x has BLKmode.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171212 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Mon, 21 Mar 2011 00:18:33 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171201 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * c-decl.c (diagnose_mismatched_decls): Give an error for
jsm28 [Sun, 20 Mar 2011 01:55:25 +0000 (01:55 +0000)]
* c-decl.c (diagnose_mismatched_decls): Give an error for
redefining a typedef with variably modified type.

testsuite:
* gcc.dg/c1x-typedef-1.c: Expect errors for redefinitions of
variably modified typedefs.
* gcc.dg/c1x-typedef-2.c: Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171192 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * c-decl.c (grokfield): Don't allow typedefs for structures or
jsm28 [Sun, 20 Mar 2011 00:23:51 +0000 (00:23 +0000)]
* c-decl.c (grokfield): Don't allow typedefs for structures or
unions with no tag by default.
* doc/extend.texi (Unnamed Fields): Update.

testsuite:
* gcc.dg/c1x-anon-struct-1.c: Don't test use of typedefs.
* gcc.dg/c1x-anon-struct-3.c: New test.
* gcc.dg/anon-struct-11.c: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171191 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Sun, 20 Mar 2011 00:17:44 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171189 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Sat, 19 Mar 2011 00:17:56 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171176 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoPR bootstrap/45381
rth [Fri, 18 Mar 2011 20:19:45 +0000 (20:19 +0000)]
PR bootstrap/45381
* lex.c [ALTIVEC] (search_line_fast): Require gcc version 4.5.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171164 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR debug/48176
jakub [Fri, 18 Mar 2011 16:22:01 +0000 (16:22 +0000)]
PR debug/48176
* dwarf2out.c (dwarf2out_finish): Call output_aranges even when
arange_table_in_use is 0, but either text_section_used or
cold_text_section_used is true.  Don't call it if
!info_section_emitted.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171151 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2011-03-18 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 18 Mar 2011 14:34:52 +0000 (14:34 +0000)]
2011-03-18  Richard Guenther  <rguenther@suse.de>

* doc/install.texi (--enable-gold): Remove.
(--with-plugin-ld): Document.
* doc/invoke.texi (-fuse-linker-plugin): Clarify.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171144 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR middle-end/47405
ro [Fri, 18 Mar 2011 14:13:32 +0000 (14:13 +0000)]
PR middle-end/47405
* gcc.dg/torture/20090618-1.c: Skip on mips-sgi-irix*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171141 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoAdd Save to -mavx and -mfma.
hjl [Fri, 18 Mar 2011 12:42:24 +0000 (12:42 +0000)]
Add Save to -mavx and -mfma.

2011-03-18  H.J. Lu  <hongjiu.lu@intel.com>

Backport from mainline
2011-03-17  H.J. Lu  <hongjiu.lu@intel.com>

PR target/48171
* config/i386/i386.opt: Add Save to -mavx and -mfma.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171135 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR bootstrap/48161
jakub [Fri, 18 Mar 2011 09:04:31 +0000 (09:04 +0000)]
PR bootstrap/48161
* expr.c (expand_expr_addr_expr_1): Use simplify_gen_binary
instead of gen_rtx_PLUS if EXPAND_SUM or EXPAND_INITIALIZER.

* gcc.c-torture/compile/pr48161.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171127 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Fri, 18 Mar 2011 00:18:40 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171122 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * gcc.pot: Regenerate.
jsm28 [Thu, 17 Mar 2011 19:58:11 +0000 (19:58 +0000)]
* gcc.pot: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171110 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoPR debug/47510
dodji [Thu, 17 Mar 2011 16:41:05 +0000 (16:41 +0000)]
PR debug/47510

gcc/

PR debug/47510
* dwarf2out.c (strip_naming_typedef): Factorize out of ...
(lookup_type_die_strip_naming_typedef): ... here.
(get_context_die): Use it.
(gen_typedef_die): Add a DW_AT_{,MIPS_}linkage_name attribute to
the anonymous struct named by the naming typedef.

gcc/testsuite/

PR debug/47510
* g++.dg/debug/dwarf2/typedef6.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171105 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR fortran/47571
ro [Thu, 17 Mar 2011 13:29:01 +0000 (13:29 +0000)]
PR fortran/47571
* intrinsics/system_clock.c [__alpha__ && __osf__]
(HAVE_CLOCK_GETTIME): Undef.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171095 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2011-03-17 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 17 Mar 2011 13:22:26 +0000 (13:22 +0000)]
2011-03-17  Richard Guenther  <rguenther@suse.de>

PR middle-end/48165
* tree-object-size.c (compute_object_offset): Properly return
the offset operand of MEM_REFs as sizetype.

* g++.dg/torture/pr48165.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171093 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoRevert "PR debug/47510"
dodji [Thu, 17 Mar 2011 10:32:15 +0000 (10:32 +0000)]
Revert "PR debug/47510"

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171087 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Thu, 17 Mar 2011 00:18:00 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171081 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoPR debug/47510
dodji [Wed, 16 Mar 2011 21:11:17 +0000 (21:11 +0000)]
PR debug/47510

gcc/

PR debug/47510
* dwarf2out.c (strip_naming_typedef): Factorize out of ...
(lookup_type_die_strip_naming_typedef): ... here.
(get_context_die): Use it.
(gen_typedef_die): Add a DW_AT_{,MIPS_}linkage_name attribute to
the anonymous struct named by the naming typedef.

gcc/testsuite/

PR debug/47510
* g++.dg/debug/dwarf2/typedef6.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171074 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR c++/48132
jason [Wed, 16 Mar 2011 20:03:12 +0000 (20:03 +0000)]
PR c++/48132
* decl.c (check_array_designated_initializer): Allow integer index.
(reshape_init_array_1): Set index on the elements.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171065 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR c++/48113
jason [Wed, 16 Mar 2011 20:03:01 +0000 (20:03 +0000)]
PR c++/48113
* typeck.c (convert_for_initialization): Use
perform_implicit_conversion_flags.
* call.c (standard_conversion): If LOOKUP_PREFER_RVALUE, set
rvaluedness_matches_p on ck_rvalue.
(convert_like_real) [ck_rvalue]: And restore it here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171064 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR c++/48115
jason [Wed, 16 Mar 2011 20:02:04 +0000 (20:02 +0000)]
PR c++/48115
* call.c (convert_arg_to_ellipsis): Handle incomplete type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171063 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2011-03-16 Jack Howarth <howarth@bromo.med.uc.edu>
mrs [Wed, 16 Mar 2011 18:27:36 +0000 (18:27 +0000)]
2011-03-16  Jack Howarth  <howarth@bromo.med.uc.edu>

PR lto/48086
* configure.ac: Re-enable LTO on *-apple-darwin9.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171059 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2011-03-16 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 16 Mar 2011 16:59:24 +0000 (16:59 +0000)]
2011-03-16  Benjamin Kosnik  <bkoz@redhat.com>

        * src/Makefile.am: Add functional.cc, shared_ptr.cc.
        * src/Makefile.in: Regenerate.
        * libsupc++/Makefile.am: Add nested_exception.cc.
        * libsupc++/Makefile.in: Regenerate.
        * src/system_error.cc: Add ctor and dtor definitions for error_category.
        * src/functional.cc: New. Add dtor definition for bad_function_call.
        * src/stdexcept.cc: Add dtor definitions for domain_error,
        invalid_argument, length_error, out_of_range, range_error,
        overflow_error, underflow_error.
        * src/future.cc: Add dtor definition for __future_base::_Result_base.
        * src/shared_ptr.cc: New. Add dtor definition for bad_weak_ptr.
        * include/std/system_error: Adjust.
        * include/std/stdexcept: Same.
        * include/std/future: Same.
        * include/std/functional: Same.
        * include/bits/shared_ptr_base.h: Same.
        * libsupc++/nested_exception.cc: New. Add dtor for nested_exception.
        * libsupc++/nested_exception.h: Adjust.
        * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
        * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
        * config/abi/pre/gnu.ver: Add new exports.

* src/future.cc: Guard definitions.
        * libsupc++/nested_exception.cc: Same.

        * config/abi/pre/gnu.ver: Make nested_exception exports super clear.
        Move bad_function_call exports from CXXABI_1.3.5 to GLIBCXX_3.4.15.
Add base destructors for stdexcept classes.

* testsuite/19_diagnostics/stdexcept.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171051 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Wed, 16 Mar 2011 00:18:11 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171025 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2011-03-15 Doug Kwan <dougkwan@google.com>
dougkwan [Tue, 15 Mar 2011 23:39:02 +0000 (23:39 +0000)]
2011-03-15  Doug Kwan  <dougkwan@google.com>

        PR libstdc++/48123
        * include/Makefile.am (install-freestanding-headers): Install
        cpu_defines.h
        * include/Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171020 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoFix PR target/46788
ramana [Tue, 15 Mar 2011 19:59:25 +0000 (19:59 +0000)]
Fix PR target/46788

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171017 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago PR target/48032
amodra [Tue, 15 Mar 2011 12:57:37 +0000 (12:57 +0000)]
PR target/48032
* config/rs6000/rs6000.c (offsettable_ok_by_alignment): Do not
presume symbol_refs without a symbol_ref_decl are suitably
aligned, nor other trees we may see here.  Handle anchor symbols.
(legitimate_constant_pool_address_p): Comment.  Add mode param.
Check cmodel=medium addresses.  Adjust all calls.
(rs6000_emit_move): Don't call offsettable_ok_by_alignment on
creating cmodel=medium optimized access to locals.
* config/rs6000/constraints.md (R): Pass QImode to
legitimate_constant_pool_address_p.
* config/rs6000/predicates.md (input_operand): Pass mode to
legitimate_constant_pool_address_p.
* config/rs6000/rs6000-protos.h (legitimate_constant_pool_address_p):
Update prototype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@170990 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agogcc/testsuite/
rsandifo [Tue, 15 Mar 2011 09:38:07 +0000 (09:38 +0000)]
gcc/testsuite/
PR rtl-optimization/47166
* gcc.c-torture/execute/postmod-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@170982 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoDaily bump.
gccadmin [Tue, 15 Mar 2011 00:19:01 +0000 (00:19 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@170973 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoFix fix to PR 48053
meissner [Mon, 14 Mar 2011 23:35:11 +0000 (23:35 +0000)]
Fix fix to PR 48053

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@170969 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago gcc:
ro [Mon, 14 Mar 2011 20:36:40 +0000 (20:36 +0000)]
gcc:
* config/sol2.c (solaris_assemble_visibility): Remove obsolete
URLs.

libstdc++-v3:
* doc/xml/manual/abi.xml: Replace docs.sun.com URLs by their OTN
equivalents.
* doc/html/manual/abi.html: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@170961 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2011-03-14 Andrey Zholos <aaz@althenia.net>
paolo [Mon, 14 Mar 2011 18:17:51 +0000 (18:17 +0000)]
2011-03-14  Andrey Zholos  <aaz@althenia.net>

PR libstdc++/48114
* include/bits/random.h (geometric_distribution): Correct formula
in comment, per C++0x.
(geometric_distribution<>::param_type::param_type(double)): Fix check.
(geometric_distribution<>::param_type::_M_initialize):
Store log(1 - p).
* include/bits/random.tcc (geometric_distribution<>::operator()):
Fix computation.
(binomial_distribution<>::operator()): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@170951 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * doc/invoke.texi, doc/standards.texi: Refer to
jakub [Mon, 14 Mar 2011 14:09:46 +0000 (14:09 +0000)]
* doc/invoke.texi, doc/standards.texi: Refer to
gcc-4.6/c99status.html.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@170942 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago * DEV-PHASE: Mark "prerelease".
jakub [Mon, 14 Mar 2011 13:29:03 +0000 (13:29 +0000)]
* DEV-PHASE: Mark "prerelease".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@170938 138bc75d-0d04-0410-961f-82ee72b054a4

9 years agoGCC 4.6 branch.
jakub [Mon, 14 Mar 2011 13:05:07 +0000 (13:05 +0000)]
GCC 4.6 branch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@170935 138bc75d-0d04-0410-961f-82ee72b054a4

9 years ago2011-03-14 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 14 Mar 2011 12:20:48 +0000 (12:20 +0000)]
2011-03-14  Richard Guenther  <rguenther@suse.de>

PR middle-end/48098
* tree.c (build_vector_from_val): Adjust assert to requirements
and reality.

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

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

9 years ago PR bootstrap/48102
jakub [Mon, 14 Mar 2011 08:18:52 +0000 (08:18 +0000)]
PR bootstrap/48102
* graphite-cloog-compat.h (build_cloog_prog): Remove STATE
parameter.

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

9 years ago2011-03-14 Andreas Tobler <andreast@fgznet.ch>
andreast [Mon, 14 Mar 2011 06:06:23 +0000 (06:06 +0000)]
2011-03-14  Andreas Tobler  <andreast@fgznet.ch>

* config.host (cpu_type): Add FreeBSD PowerPC specific parts.
Adjust copyright year.

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

9 years ago2011-03-14 Andreas Tobler <andreast@fgznet.ch>
andreast [Mon, 14 Mar 2011 06:05:29 +0000 (06:05 +0000)]
2011-03-14  Andreas Tobler  <andreast@fgznet.ch>

* config/rs6000/freebsd.h: (RELOCATABLE_NEEDS_FIXUP): Define in
terms of target_flags_explicit. Adjust copyright year.

* config.gcc: Add FreeBSD PowerPC soft-float libgcc bits.
* config/rs6000/t-freebsd: New file. Add override for
LIB2FUNCS_EXTRA.

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

9 years ago2011-03-13 Jack Howarth <howarth@bromo.med.uc.edu>
mrs [Mon, 14 Mar 2011 02:47:49 +0000 (02:47 +0000)]
2011-03-13  Jack Howarth  <howarth@bromo.med.uc.edu>

    PR lto/48086
    * configure.ac: Disable LTO on darwin due to an assembler change in
    Xcode 3.2.6/4.0 that limits the total number of sections/segments to
    under 256.
    * configure: Regenerate.

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

9 years agoDaily bump.
gccadmin [Mon, 14 Mar 2011 00:17:51 +0000 (00:17 +0000)]
Daily bump.

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

9 years ago2011-03-13 Chris Demetriou <cgd@google.com>
cgd [Sun, 13 Mar 2011 07:38:22 +0000 (07:38 +0000)]
2011-03-13  Chris Demetriou  <cgd@google.com>

        * doc/invoke.texi (-fdiagnostics-show-option): Replace with...
        (-fno-diagnostics-show-option): this, to reflect current default.
        (-Werror=): Update text about -fno-diagnostics-show-option.

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

9 years agogcc/
bergner [Sun, 13 Mar 2011 04:06:41 +0000 (04:06 +0000)]
gcc/
PR target/48053
* config/rs6000/predicates.md (easy_vector_constant_add_self,
easy_vector_constant_msb): Do not handle V2DImode and V2DFmode.
* config/rs6000/rs6000.c (const_vector_elt_as_int): Add assert that
mode is not V2DImode or V2DFmode.
(vspltis_constant): Do not handle V2DImode and V2DFmode.
(rs6000_expand_vector_init): Replace copy_to_reg with copy_to_mode_reg.
* config/rs6000/rs6000.md (movdi_internal32): Allow setting VSX
registers to 0.
(movdi_internal64): Likewise.

gcc/testsuite/
PR target/48053
* gcc/testsuite/gcc.target/powerpc/pr48053-1.c: New test.
* gcc/testsuite/gcc.target/powerpc/pr48053-2.c: Likewise.

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

9 years agoDaily bump.
gccadmin [Sun, 13 Mar 2011 00:18:39 +0000 (00:18 +0000)]
Daily bump.

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

9 years ago2011-03-12 Thomas Koenig <tkoenig@gcc.gnu.org>
tkoenig [Sat, 12 Mar 2011 23:18:09 +0000 (23:18 +0000)]
2011-03-12  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR libfortran/48066
* gfortran.dg/intrinsic_ifunction_2.f90:  Correct PR number.

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

9 years ago2011-03-12 Thomas Koenig <tkoenig@gcc.gnu.org>
tkoenig [Sat, 12 Mar 2011 23:13:56 +0000 (23:13 +0000)]
2011-03-12  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR libfortran/40866
        * libgfortran/ChangeLog:  Correct PR number.
        * gcc/testsuite/ChangeLog:  Likewise.

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

9 years ago2011-03-12 Thomas Koenig <tkoenig@gcc.gnu.org>
tkoenig [Sat, 12 Mar 2011 22:39:33 +0000 (22:39 +0000)]
2011-03-12  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR libfortran/40866
* m4/ifunction.m4:  If return array is empty, return.
* m4/ifunction_logical.m4:  Likewise.
* generated/all_l16.c: Regenerated.
* generated/all_l1.c: Regenerated.
* generated/all_l2.c: Regenerated.
* generated/all_l4.c: Regenerated.
* generated/all_l8.c: Regenerated.
* generated/any_l16.c: Regenerated.
* generated/any_l1.c: Regenerated.
* generated/any_l2.c: Regenerated.
* generated/any_l4.c: Regenerated.
* generated/any_l8.c: Regenerated.
* generated/count_16_l.c: Regenerated.
* generated/count_1_l.c: Regenerated.
* generated/count_2_l.c: Regenerated.
* generated/count_4_l.c: Regenerated.
* generated/count_8_l.c: Regenerated.
* generated/maxloc1_16_i16.c: Regenerated.
* generated/maxloc1_16_i1.c: Regenerated.
* generated/maxloc1_16_i2.c: Regenerated.
* generated/maxloc1_16_i4.c: Regenerated.
* generated/maxloc1_16_i8.c: Regenerated.
* generated/maxloc1_16_r10.c: Regenerated.
* generated/maxloc1_16_r16.c: Regenerated.
* generated/maxloc1_16_r4.c: Regenerated.
* generated/maxloc1_16_r8.c: Regenerated.
* generated/maxloc1_4_i16.c: Regenerated.
* generated/maxloc1_4_i1.c: Regenerated.
* generated/maxloc1_4_i2.c: Regenerated.
* generated/maxloc1_4_i4.c: Regenerated.
* generated/maxloc1_4_i8.c: Regenerated.
* generated/maxloc1_4_r10.c: Regenerated.
* generated/maxloc1_4_r16.c: Regenerated.
* generated/maxloc1_4_r4.c: Regenerated.
* generated/maxloc1_4_r8.c: Regenerated.
* generated/maxloc1_8_i16.c: Regenerated.
* generated/maxloc1_8_i1.c: Regenerated.
* generated/maxloc1_8_i2.c: Regenerated.
* generated/maxloc1_8_i4.c: Regenerated.
* generated/maxloc1_8_i8.c: Regenerated.
* generated/maxloc1_8_r10.c: Regenerated.
* generated/maxloc1_8_r16.c: Regenerated.
* generated/maxloc1_8_r4.c: Regenerated.
* generated/maxloc1_8_r8.c: Regenerated.
* generated/maxval_i16.c: Regenerated.
* generated/maxval_i1.c: Regenerated.
* generated/maxval_i2.c: Regenerated.
* generated/maxval_i4.c: Regenerated.
* generated/maxval_i8.c: Regenerated.
* generated/maxval_r10.c: Regenerated.
* generated/maxval_r16.c: Regenerated.
* generated/maxval_r4.c: Regenerated.
* generated/maxval_r8.c: Regenerated.
* generated/minloc1_16_i16.c: Regenerated.
* generated/minloc1_16_i1.c: Regenerated.
* generated/minloc1_16_i2.c: Regenerated.
* generated/minloc1_16_i4.c: Regenerated.
* generated/minloc1_16_i8.c: Regenerated.
* generated/minloc1_16_r10.c: Regenerated.
* generated/minloc1_16_r16.c: Regenerated.
* generated/minloc1_16_r4.c: Regenerated.
* generated/minloc1_16_r8.c: Regenerated.
* generated/minloc1_4_i16.c: Regenerated.
* generated/minloc1_4_i1.c: Regenerated.
* generated/minloc1_4_i2.c: Regenerated.
* generated/minloc1_4_i4.c: Regenerated.
* generated/minloc1_4_i8.c: Regenerated.
* generated/minloc1_4_r10.c: Regenerated.
* generated/minloc1_4_r16.c: Regenerated.
* generated/minloc1_4_r4.c: Regenerated.
* generated/minloc1_4_r8.c: Regenerated.
* generated/minloc1_8_i16.c: Regenerated.
* generated/minloc1_8_i1.c: Regenerated.
* generated/minloc1_8_i2.c: Regenerated.
* generated/minloc1_8_i4.c: Regenerated.
* generated/minloc1_8_i8.c: Regenerated.
* generated/minloc1_8_r10.c: Regenerated.
* generated/minloc1_8_r16.c: Regenerated.
* generated/minloc1_8_r4.c: Regenerated.
* generated/minloc1_8_r8.c: Regenerated.
* generated/minval_i16.c: Regenerated.
* generated/minval_i1.c: Regenerated.
* generated/minval_i2.c: Regenerated.
* generated/minval_i4.c: Regenerated.
* generated/minval_i8.c: Regenerated.
* generated/minval_r10.c: Regenerated.
* generated/minval_r16.c: Regenerated.
* generated/minval_r4.c: Regenerated.
* generated/minval_r8.c: Regenerated.
* generated/product_c10.c: Regenerated.
* generated/product_c16.c: Regenerated.
* generated/product_c4.c: Regenerated.
* generated/product_c8.c: Regenerated.
* generated/product_i16.c: Regenerated.
* generated/product_i1.c: Regenerated.
* generated/product_i2.c: Regenerated.
* generated/product_i4.c: Regenerated.
* generated/product_i8.c: Regenerated.
* generated/product_r10.c: Regenerated.
* generated/product_r16.c: Regenerated.
* generated/product_r4.c: Regenerated.
* generated/product_r8.c: Regenerated.
* generated/sum_c10.c: Regenerated.
* generated/sum_c16.c: Regenerated.
* generated/sum_c4.c: Regenerated.
* generated/sum_c8.c: Regenerated.
* generated/sum_i16.c: Regenerated.
* generated/sum_i1.c: Regenerated.
* generated/sum_i2.c: Regenerated.
* generated/sum_i4.c: Regenerated.
* generated/sum_i8.c: Regenerated.
* generated/sum_r10.c: Regenerated.
* generated/sum_r16.c: Regenerated.
* generated/sum_r4.c: Regenerated.
* generated/sum_r8.c: Regenerated.

2011-03-12  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR libfortran/40866
* gfortran.dg/intrinsic_ifunction_2.f90:  New test case.

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

9 years agoFix PR47127: call cloog_state_malloc and cloog_state_free only once.
spop [Sat, 12 Mar 2011 22:05:38 +0000 (22:05 +0000)]
Fix PR47127: call cloog_state_malloc and cloog_state_free only once.

2011-03-12  Sebastian Pop  <sebastian.pop@amd.com>

PR tree-optimization/47127
* graphite-clast-to-gimple.c (build_cloog_prog): Removed state
parameter.
(set_cloog_options): Same.
(scop_to_clast): Same.
(print_clast_stmt): Do not call cloog_state_malloc and
cloog_state_free.
(print_generated_program): Same.
(gloog): Same.
* graphite-clast-to-gimple.h (cloog_state): Declared.
(scop_to_clast): Adjust declaration.
* graphite.c (cloog_state): Defined here.
(graphite_initialize): Call cloog_state_malloc.
(graphite_finalize): Call cloog_state_free.

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

9 years ago2011-03-12 Janus Weil <janus@gcc.gnu.org>
janus [Sat, 12 Mar 2011 16:58:33 +0000 (16:58 +0000)]
2011-03-12  Janus Weil  <janus@gcc.gnu.org>

PR fortran/48059
* trans-expr.c (gfc_apply_interface_mapping_to_expr): Replace base type
for polymorphic arguments.

2011-03-12  Janus Weil  <janus@gcc.gnu.org>

PR fortran/48059
* gfortran.dg/class_41.f03: New.

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

9 years ago PR fortran/48054
fxcoudert [Sat, 12 Mar 2011 10:33:54 +0000 (10:33 +0000)]
PR fortran/48054
* intrinsic.texi: Clarify doc of logarithm functions.

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

9 years ago PR fortran/47552
fxcoudert [Sat, 12 Mar 2011 10:28:01 +0000 (10:28 +0000)]
    PR fortran/47552
        * trans-intrinsic.c (gfc_conv_intrinsic_ctime): Fix type of
        the string length variable.

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

9 years agoPR c++/46824
dodji [Sat, 12 Mar 2011 07:28:20 +0000 (07:28 +0000)]
PR c++/46824

gcc/cp/

* call.c (add_builtin_candidate)<case INDIRECT_REF>: The type
of the argument of the indirection operator should not be
dependent.  Fix the comment.

gcc/testsuite/

* g++.dg/conversion/cast3.C: New test.

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

9 years ago PR c++/47125
jason [Sat, 12 Mar 2011 06:48:57 +0000 (06:48 +0000)]
PR c++/47125
* pt.c (tsubst) [TYPENAME_TYPE]: Only give errors if tf_error.

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

9 years ago2011-03-11 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sat, 12 Mar 2011 00:49:51 +0000 (00:49 +0000)]
2011-03-11  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/48047
* io/write_float.def (write_float): Change MIN_FIELD_WIDTH to 48.

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

9 years agoDaily bump.
gccadmin [Sat, 12 Mar 2011 00:18:58 +0000 (00:18 +0000)]
Daily bump.

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

9 years ago PR c++/47144
jason [Fri, 11 Mar 2011 22:47:59 +0000 (22:47 +0000)]
PR c++/47144
* parser.c (cp_parser_template_type_arg): Set
type_definition_forbidden_message.

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

9 years ago * attribs.c (lookup_attribute_spec): Take const_tree.
jason [Fri, 11 Mar 2011 22:38:58 +0000 (22:38 +0000)]
* attribs.c (lookup_attribute_spec): Take const_tree.
* tree.h: Adjust.
* c-family/c-common.c (attribute_takes_identifier_p): Add missing const.

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

9 years ago PR c++/46803
jason [Fri, 11 Mar 2011 21:36:02 +0000 (21:36 +0000)]
PR c++/46803
* c-common.c (attribute_takes_identifier_p): Assume that an
unknown attribute takes an identifier.

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

9 years ago * config/sparc/sparc.c (sparc_option_override): Use
jsm28 [Fri, 11 Mar 2011 16:51:29 +0000 (16:51 +0000)]
* config/sparc/sparc.c (sparc_option_override): Use
PROCESSOR_NIAGARA2 not PROCESSOR_NIAGARA for "niagara2".

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

9 years ago PR c++/47808
jason [Fri, 11 Mar 2011 16:49:41 +0000 (16:49 +0000)]
PR c++/47808
* decl.c (compute_array_index_type): Discard folding
if it didn't produce a constant.

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

9 years ago2011-03-11 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 11 Mar 2011 16:36:16 +0000 (16:36 +0000)]
2011-03-11  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/48067
* tree-ssa-math-opts.c (convert_mult_to_fma): Verify the
multiplication result will be only used once on the target
stmt.

* gcc.dg/pr48067.c: New testcase.

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

9 years ago2011-03-11 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 11 Mar 2011 16:07:07 +0000 (16:07 +0000)]
2011-03-11  Richard Guenther  <rguenther@suse.de>

* doc/invoke.texi (max-inline-insns-single): Adjust default value.

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

9 years ago2011-03-11 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 11 Mar 2011 15:59:42 +0000 (15:59 +0000)]
2011-03-11  Richard Guenther  <rguenther@suse.de>

PR lto/48073
* tree.c (find_decls_types_r): Do not walk types only reachable
from IDENTIFIER_NODEs.

* g++.dg/lto/20110311-1_0.C: New testcase.

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

9 years ago PR c++/48035
jakub [Fri, 11 Mar 2011 15:43:37 +0000 (15:43 +0000)]
PR c++/48035
* init.c (build_zero_init_1): Extracted from build_zero_init.
Add FIELD_SIZE argument, if non-NULL and field bit_position
as not smaller than that, don't add that field's initializer.
Pass DECL_SIZE as last argument to build_zero_init_1
for DECL_FIELD_IS_BASE fields.
(build_zero_init): Use build_zero_init_1.

* g++.dg/inherit/virtual8.C: New test.

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

9 years ago PR middle-end/48044
jakub [Fri, 11 Mar 2011 14:47:26 +0000 (14:47 +0000)]
PR middle-end/48044
* ipa.c (cgraph_remove_unreachable_nodes): Enqueue
all vnode->force_output nodes as needed.

* gcc.dg/torture/pr48044.c: New test.

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

9 years ago PR c++/48069
jason [Fri, 11 Mar 2011 14:44:49 +0000 (14:44 +0000)]
PR c++/48069
* tree.c (type_hash_eq): Use COMPLETE_TYPE_P, not
COMPLETE_OR_UNBOUND_ARRAY_TYPE_P.

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

9 years ago2011-03-11 Janus Weil <janus@gcc.gnu.org>
janus [Fri, 11 Mar 2011 14:13:49 +0000 (14:13 +0000)]
2011-03-11  Janus Weil  <janus@gcc.gnu.org>

PR fortran/47768
* module.c (ab_attribute,attr_bits): Add AB_PROC_POINTER_COMP.
(mio_symbol_attribute): Handle attribute 'proc_pointer_comp'.

2011-03-11  Janus Weil  <janus@gcc.gnu.org>

PR fortran/47768
* gfortran.dg/proc_ptr_comp_31.f90: New.

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

9 years ago2011-03-11 Martin Jambor <mjambor@suse.cz>
jamborm [Fri, 11 Mar 2011 13:27:26 +0000 (13:27 +0000)]
2011-03-11  Martin Jambor  <mjambor@suse.cz>

* cgraphunit.c (verify_cgraph_node): Call cgraph_get_node instead of
cgraph_node.

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

9 years ago2011-03-11 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 11 Mar 2011 10:45:54 +0000 (10:45 +0000)]
2011-03-11  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/47278
* gcc.dg/torture/pr47278-1.c: New testcase.
* gcc.dg/torture/pr47278-2.c: Likewise.

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