OSDN Git Service

pf3gnuchains/gcc-fork.git
10 years ago * doc/xml/manual/profile_mode.xml (Profile Diagnostics): Correct
ro@138bc75d-0d04-0410-961f-82ee72b054a4 [Fri, 26 Mar 2010 16:33:41 +0000 (16:33 +0000)]
* doc/xml/manual/profile_mode.xml (Profile Diagnostics): Correct
cols.
* doc/xml/manual/using.xml (C++ 1998 Library Headers): Add missing
c5 colspec.
(C++ 1998 Library Headers for C Library Facilities): Likewise.
(C++ 200x Library Headers): Likewise.

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

10 years ago PR debug/43516
jakub [Fri, 26 Mar 2010 16:18:51 +0000 (16:18 +0000)]
PR debug/43516
* flags.h (final_insns_dump_p): New extern.
* final.c (final_insns_dump_p): New variable.
(rest_of_clean_state): Set it before -fdump-final-insns=
dumping, clear afterwards.
* print-rtl.c (print_rtx): If final_insns_dump_p don't dump
MEM_ALIAS_SET on MEMs.

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

10 years ago2010-03-26 Martin Jambor <mjambor@suse.cz>
jamborm [Fri, 26 Mar 2010 13:21:34 +0000 (13:21 +0000)]
2010-03-26  Martin Jambor  <mjambor@suse.cz>

* gcc/testsuite/gcc.dg/tree-ssa/loadpre1.c: Deleted trailing
whitespace, renamed main to foo.
* gcc/testsuite/gcc.dg/tree-ssa/loadpre14.c: Likewise.
* gcc/testsuite/gcc.dg/tree-ssa/loadpre15.c: Likewise.
* gcc/testsuite/gcc.dg/tree-ssa/loadpre16.c: Likewise.
* gcc/testsuite/gcc.dg/tree-ssa/loadpre17.c: Likewise.
* gcc/testsuite/gcc.dg/tree-ssa/loadpre19.c: Likewise.
* gcc/testsuite/gcc.dg/tree-ssa/loadpre20.c: Likewise.
* gcc/testsuite/gcc.dg/tree-ssa/loadpre3.c: Likewise.
* gcc/testsuite/gcc.dg/tree-ssa/loadpre5.c: Likewise.
* gcc/testsuite/gcc.dg/tree-ssa/ssa-pre-1.c: Likewise.
* gcc/testsuite/gcc.dg/tree-ssa/ssa-pre-4.c: Likewise.
* gcc/testsuite/gcc.dg/tree-ssa/ssa-pre-6.c: Likewise.

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

10 years agoRemove svn:executable.
hjl [Fri, 26 Mar 2010 13:07:14 +0000 (13:07 +0000)]
Remove svn:executable.

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

10 years agoFix for PR c++/43327
dodji [Fri, 26 Mar 2010 09:20:58 +0000 (09:20 +0000)]
Fix for PR c++/43327

gcc/cp/ChangeLog:
PR c++/43327
* pt.c (add_to_template_args): Support NULL ARGS;
(most_specialized_class): call coerce_template_parms on
template arguments passed to get_class_bindings. Use
add_to_template_args.
(unify): Handle VAR_DECLs.

gcc/testsuite/ChangeLog:
PR c++/43327
* g++.dg/other/crash-10.C: New test.
* g++.dg/other/crash-11.C: New test.

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

10 years agoFix compilation.
dodji [Fri, 26 Mar 2010 08:26:04 +0000 (08:26 +0000)]
Fix compilation.

* cp-tree.h (get_template_parms_at_level): Change unsigned parm
into int.
* pt.c (get_template_parms_at_level): Adjust.

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

10 years ago * configure.ac: Fix sparc GOTDATA_OP bug check.
davem [Fri, 26 Mar 2010 05:40:32 +0000 (05:40 +0000)]
* configure.ac: Fix sparc GOTDATA_OP bug check.
* configure: Rebuild.

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

10 years ago2010-03-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Fri, 26 Mar 2010 03:26:26 +0000 (03:26 +0000)]
2010-03-25  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/43517
* gfortran.dg/read_eof_7.f90: New test.

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

10 years ago2010-03-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Fri, 26 Mar 2010 03:23:34 +0000 (03:23 +0000)]
2010-03-25  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/43517
* io/read.c (read_x): Return if seen EOR condition.

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

10 years ago2010-03-25 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Fri, 26 Mar 2010 02:19:10 +0000 (02:19 +0000)]
2010-03-25  Paolo Carlini  <paolo.carlini@oracle.com>

* include/bits/unordered_map.h (operator==, operator!=): Add per N3068.
* include/bits/unordered_set.h (operator==, operator!=): Likewise.
* include/debug/unordered_map (operator==, operator!=): Likewise.
* include/debug/unordered_set: Likewise.
* include/profile/unordered_map: Likewise.
* include/profile/unordered_set: Likewise.
* testsuite/23_containers/unordered_map/operators/1.cc: New.
* testsuite/23_containers/unordered_multimap/operators/1.cc: Likewise.
* testsuite/23_containers/unordered_multimap/operators/2.cc: Likewise.
* testsuite/23_containers/unordered_set/operators/1.cc: Likewise.
* testsuite/23_containers/unordered_multiset/operators/1.cc: Likewise.

2010-03-25  John Lakos  <jlakos@bloomberg.net>
    Pablo Halpern  <phalpern@halpernwightsoftware.com>
    Paolo Carlini  <paolo.carlini@oracle.com>

* include/bits/hashtable_policy.h (struct _Equality_base): Add.
* include/bits/hashtable.h (_Hashtable<>): Derive from the latter.

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

10 years agoDaily bump.
gccadmin [Fri, 26 Mar 2010 00:16:47 +0000 (00:16 +0000)]
Daily bump.

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

10 years ago * config/rs6000/rs6000.md (cmptf_internal2): Correct comparison.
amodra [Thu, 25 Mar 2010 23:01:41 +0000 (23:01 +0000)]
* config/rs6000/rs6000.md (cmptf_internal2): Correct comparison.

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

10 years ago2010-03-25 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
janis [Thu, 25 Mar 2010 22:25:05 +0000 (22:25 +0000)]
2010-03-25  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>

PR objc/35165
PR testsuite/43512
* objc-obj-c++-shared: New directory.
* objc-obj-c++-shared/Object1-implementation.h: New file.
* objc-obj-c++-shared/Object1.h: New file.
* objc-obj-c++-shared/Protocol1.h: New file.
* objc-obj-c++-shared/next-abi.h: New file.
* objc-obj-c++-shared/next-mapping.h: New file.
* objc/execute/next_mapping.h: Delete.
* objc.dg/special/special.exp: For all targets run the tests with
-fgnu-runtime, for darwin targets also run the tests with
-fnext-runtime.
* objc.dg/dg.exp: Ditto.
* obj-c++.dg/dg.exp: Ditto.
* objc/execute/forward-1.m: Use shared wrapper headers (Object1.h,
Protocol1.h) and next-mapping.h as required.  Amend testcase to
include use of updated NeXT interface.
* objc/execute/formal_protocol-5.m: Ditto.
* objc/execute/protocol-isEqual-2.m: Ditto.
* objc/execute/protocol-isEqual-4.m: Ditto.
* objc/execute/class-11.m: Use shared wrapper headers (Object1.h,
Protocol1.h) and next-mapping.h as required.
* objc/execute/object_is_class.m: Ditto.
* objc/execute/enumeration-1.m: Ditto.
* objc/execute/class-13.m: Ditto.
* objc/execute/formal_protocol-2.m: Ditto.
* objc/execute/formal_protocol-4.m: Ditto.
* objc/execute/class-1.m: Ditto.
* objc/execute/bycopy-1.m: Ditto.
* objc/execute/formal_protocol-6.m: Ditto.
* objc/execute/bycopy-3.m: Ditto.
* objc/execute/class-3.m: Ditto.
* objc/execute/bf-11.m: Ditto.
* objc/execute/class-5.m: Ditto.
* objc/execute/bf-13.m: Ditto.
* objc/execute/class-7.m: Ditto.
* objc/execute/bf-15.m: Ditto.
* objc/execute/class-9.m: Ditto.
* objc/execute/bf-17.m: Ditto.
* objc/execute/bf-19.m: Ditto.
* objc/execute/IMP.m: Ditto.
* objc/execute/exceptions/catchall-1.m: Ditto.
* objc/execute/exceptions/trivial.m: Ditto.
* objc/execute/exceptions/finally-1.m: Ditto.
* objc/execute/exceptions/local-variables-1.m: Ditto.
* objc/execute/exceptions/foward-1.m: Ditto.
* objc/execute/bf-2.m: Ditto.
* objc/execute/string1.m: Ditto.
* objc/execute/bf-4.m: Ditto.
* objc/execute/informal_protocol.m: Ditto.
* objc/execute/string3.m: Ditto.
* objc/execute/bf-6.m: Ditto.
* objc/execute/bf-8.m: Ditto.
* objc/execute/class-tests-1.h: Ditto.
* objc/execute/protocol-isEqual-1.m: Ditto.
* objc/execute/protocol-isEqual-3.m: Ditto.
* objc/execute/_cmd.m: Ditto.
* objc/execute/function-message-1.m: Ditto.
* objc/execute/bf-20.m: Ditto.
* objc/execute/bf-common.h: Ditto.
* objc/execute/np-2.m: Ditto.
* objc/execute/class-10.m: Ditto.
* objc/execute/class-12.m: Ditto.
* objc/execute/enumeration-2.m: Ditto.
* objc/execute/class-14.m: Ditto.
* objc/execute/encode-1.m: Ditto.
* objc/execute/formal_protocol-1.m: Ditto.
* objc/execute/formal_protocol-3.m: Ditto.
* objc/execute/accessing_ivars.m: Ditto.
* objc/execute/bycopy-2.m: Ditto.
* objc/execute/class-2.m: Ditto.
* objc/execute/bf-10.m: Ditto.
* objc/execute/formal_protocol-7.m: Ditto.
* objc/execute/root_methods.m: Ditto.
* objc/execute/class-4.m: Ditto.
* objc/execute/bf-12.m: Ditto.
* objc/execute/class-6.m: Ditto.
* objc/execute/bf-14.m: Ditto.
* objc/execute/nested-func-1.m: Ditto.
* objc/execute/class-8.m: Ditto.
* objc/execute/private.m: Ditto.
* objc/execute/bf-16.m: Ditto.
* objc/execute/bf-18.m: Ditto.
* objc/execute/load-3.m: Ditto.
* objc/execute/compatibility_alias.m: Ditto.
* objc/execute/bf-1.m: Ditto.
* objc/execute/no_clash.m: Ditto.
* objc/execute/bf-3.m: Ditto.
* objc/execute/string2.m: Ditto.
* objc/execute/bf-5.m: Ditto.
* objc/execute/string4.m: Ditto.
* objc/execute/bf-7.m: Ditto.
* objc/execute/object_is_meta_class.m: Ditto.
* objc/execute/bf-9.m: Ditto.
* objc/execute/bf-21.m: Ditto.
* objc/execute/cascading-1.m: Ditto.
* objc/execute/trivial.m: Ditto.
* objc/execute/np-1.m: Ditto.
* objc/compile/trivial.m: Ditto.
* objc/execute/class_self-2.m: Include <stdlib.h>.
* objc/execute/forward-1.x: Do not XFAIL for 32bit powerpc-darwin.
* objc.dg/desig-init-1.m: Use shared wrapper headers (Object1.h,
Protocol1.h) and next-mapping.h as required. XFAIL run if NeXT
and 64bit. Use new NeXT interface as required.
* objc.dg/special/unclaimed-category-1.m: Ditto.
* objc.dg/special/unclaimed-category-1.h: Ditto.
* objc.dg/special/unclaimed-category-1a.m: Ditto.
* objc.dg/func-ptr-1.m: Ditto.
* objc.dg/stret-1.m: Ditto.
* objc.dg/encode-2.m: Ditto.
* objc.dg/category-1.m: Ditto.
* objc.dg/encode-3.m: Ditto.
* objc.dg/call-super-3.m: Ditto.
* objc.dg/method-3.m: Ditto.
* objc.dg/func-ptr-2.m: Ditto.
* objc.dg/lookup-1.m: Ditto.
* objc.dg/encode-4.m: Ditto.
* objc.dg/fix-and-continue-1.m: Ditto.
* objc.dg/proto-lossage-3.m: Ditto.
* objc.dg/method-13.m: Ditto.
* objc.dg/proto-qual-1.m: Ditto.
* objc.dg/zero-link-3.m: Ditto.
* objc.dg/bitfield-1.m: Ditto.
* objc.dg/va-meth-1.m: Ditto.
* objc.dg/super-class-3.m: Ditto.
* objc.dg/call-super-1.m: Ditto.
* objc.dg/type-size-2.m: Ditto.
* objc.dg/method-10.m: Ditto.
* objc.dg/defs.m: Ditto.
* objc.dg/const-str-3.m: Ditto.
* objc.dg/try-catch-6.m: Use shared wrapper headers (Object1.h,
Protocol1.h) and next-mapping.h as required. Use new NeXT
interface as required.
* objc.dg/super-class-4.m: Ditto.
* objc.dg/comp-types-8.m: Ditto.
* objc.dg/call-super-2.m: Ditto.
* objc.dg/objc-fast-4.m: Ditto.
* objc.dg/method-6.m: Ditto.
* objc.dg/const-str-3.m: Ditto.
* objc.dg/const-str-7.m: Ditto.
* objc.dg/method-15.m: Ditto.
* objc.dg/method-19.m: Ditto.
* objc.dg/sync-1.m: Ditto.
* objc.dg/layout-1.m: Ditto.
* objc.dg/bitfield-3.m: Ditto.
* objc.dg/try-catch-3.m: Ditto.
* objc.dg/try-catch-7.m: Ditto.
* objc.dg/comp-types-10.m: Ditto.
* objc.dg/selector-2.: Ditto.
* objc.dg/method-7.m: Ditto.
* objc.dg/typedef-alias-1.m: Ditto.
* objc.dg/proto-lossage-2.m: Ditto.
* objc.dg/comp-types-11.m: Ditto.
* objc.dg/sizeof-1.m: Ditto.
* objc.dg/method-17.m: Ditto.
* objc.dg/bitfield-5.m: Ditto.
* objc.dg/try-catch-1.m: Ditto.
* objc.dg/encode-5.m: Ditto.
* objc.dg/fix-and-continue-2.m: Ditto.
* objc.dg/method-9.m: Ditto.
* objc.dg/isa-field-1.m: Ditto.
* objc.dg/local-decl-2.m: Ditto.
* objc.dg/objc-gc-4.m: Ditto.
* objc.dg/type-stream-1.m: Skip for NeXT runtime.
* objc.dg/gnu-runtime-3.m: Ditto.
* objc.dg/encode-7.m: Ditto.
* objc.dg/encode-8.m: Ditto.
* objc.dg/selector-3.m: Ditto.
* objc.dg/gnu-runtime-1.m: Ditto.
* objc.dg/const-str-12.m: Ditto.
* objc.dg/gnu-runtime-2.m: Ditto.
* objc.dg/no-extra-load.m: Skip for gnu-runtime.
* objc.dg/selector-1.m: Ditto.
* objc.dg/stubify-2.m: Ditto.
* objc.dg/zero-link-1.m: Ditto.
* objc.dg/stret-2.m: Ditto.
* objc.dg/zero-link-2.m: Ditto.
* objc.dg/next-runtime-1.m: Ditto.
* objc.dg/symtab-1.m: Ditto.
* objc.dg/stubify-1.m: Ditto.
* objc.dg/bitfield-2.m: Ditto.
* objc.dg/try-catch-10.m: Apply to both runtimes.
* objc.dg/const-str-1.m: Ditto.
* objc.dg/image-info.m: Ditto.
* objc.dg/encode-9.m: Ditto.
* objc.dg/pragma-1.m: Apply test to all targets.
* objc.dg/const-str-4.m: Ditto.
* objc.dg/const-str-8.m: Ditto.
* objc.dg/super-class-2.m: Ditto.
* objc.dg/try-catch-5.m: Ditto.
* objc.dg/const-str-10.m: Use shared wrapper headers (Object1.h,
Protocol1.h) and next-mapping.h as required. Use new NeXT
interface as required.  Skip for gnu-runtime.  Test for .quad
at m64.
* objc.dg/const-str-11.m: Ditto.
* objc.dg/const-str-9.m: Ditto.
* objc.dg/method-4.m: Skip for 64Bit NeXT.
* objc.dg/encode-1.m: Remove redundant -lobjc.
* objc.dg/try-catch-9.m: Tidy space.
* obj-c++.dg/method-19.mm: Use shared wrapper headers (Object1.h,
Protocol1.h) and next-mapping.h as required. XFAIL run if NeXT
and 64bit. Use new NeXT interface as required.
* obj-c++.dg/template-4.mm: Ditto.
* obj-c++.dg/defs.mm: Ditto.
* obj-c++.dg/basic.mm: Ditto.
* obj-c++.dg/encode-4.mm: Ditto.
* obj-c++.dg/method-17.mm: Ditto.
* obj-c++.dg/proto-lossage-3.mm: Ditto.
* obj-c++.dg/cxx-class-1.mm: Ditto.
* obj-c++.dg/method-10.mm: Ditto.
* obj-c++.dg/va-meth-1.mm: Ditto.
* obj-c++.dg/encode-5.mm: Ditto.
* obj-c++.dg/lookup-2.mm: Ditto.
* obj-c++.dg/template-3.mm: Ditto.
* obj-c++.dg/proto-qual-1.mm: Ditto.
* obj-c++.dg/qual-types-1.m: Ditto.
* obj-c++.dg/cxx-scope-1.mm: Ditto.
* obj-c++.dg/template-1.mm: Ditto.
* obj-c++.dg/encode-6.mm: Ditto.
* obj-c++.dg/bitfield-2.mm:  Use shared wrapper headers (Object1.h,
Protocol1.h) and next-mapping.h as required. Use new NeXT
interface as required.
* obj-c++.dg/except-1.mm: Ditto.
* obj-c++.dg/const-str-7.mm: Ditto.
* obj-c++.dg/ivar-list-semi.mm: Ditto.
* obj-c++.dg/cxx-scope-2.mm: Ditto.
* obj-c++.dg/selector-2.mm: Ditto.
* obj-c++.dg/isa-field-1.mm: Ditto.
* obj-c++.dg/try-catch-1.mm: Ditto.
* obj-c++.dg/local-decl-1.mm: Ditto.
* obj-c++.dg/try-catch-9.mm: Ditto.
* obj-c++.dg/no-extra-load.mm: Ditto.
* obj-c++.dg/selector-5.mm: Ditto.
* obj-c++.dg/method-12.mm: Ditto.
* obj-c++.dg/try-catch-11.mm: Ditto.
* obj-c++.dg/comp-types-11.mm: Ditto.
* obj-c++.dg/bitfield-3.mm: Ditto.
* obj-c++.dg/method-6.mm: Ditto.
* obj-c++.dg/super-class-2.mm: Ditto.
* obj-c++.dg/method-21.mm: Ditto.
* obj-c++.dg/const-str-8.mm: Ditto.
* obj-c++.dg/try-catch-7.mm: Ditto.
* obj-c++.dg/method-15.mm: Ditto.
* obj-c++.dg/layout-1.mm: Ditto.
* obj-c++.dg/cxx-ivars-1.mm: Ditto.
* obj-c++.dg/const-str-3.mm: Ditto.
* obj-c++.dg/try-catch-2.mm: Ditto.
* obj-c++.dg/objc-gc-3.mm: Ditto.
* obj-c++.dg/fix-and-continue-2.mm: Ditto.
* obj-c++.dg/bitfield-1.mm: Ditto.
* obj-c++.dg/selector-6.mm: Ditto.
* obj-c++.dg/method-13.mm: Ditto.
* obj-c++.dg/comp-types-12.mm: Ditto.
* obj-c++.dg/bitfield-4.mm: Ditto.
* obj-c++.dg/try-catch-8.mm: Ditto.
* obj-c++.dg/method-2.mm: Ditto.
* obj-c++.dg/cxx-ivars-2.mm: Ditto.
* obj-c++.dg/typedef-alias-1.mm: Ditto.
* obj-c++.dg/const-str-4.mm: Ditto.
* obj-c++.dg/proto-lossage-2.mm: Ditto.
* obj-c++.dg/try-catch-3.mm: Ditto.
* obj-c++.dg/comp-types-9.mm: Ditto.
* obj-c++.dg/gnu-runtime-2.mm: Skip if NeXT runtime.
* obj-c++.dg/gnu-runtime-3.mm: Ditto.
* obj-c++.dg/gnu-runtime-1.mm: Ditto.
* objc.dg/zero-link-2.m: Skip if gnu runtime. Use shared wrapper
headers (Object1.h, Protocol1.h) and next-mapping.h as required.
Use new NeXT interface as required.
* obj-c++.dg/const-str-10.mm: Ditto.
* obj-c++.dg/const-str-11.mm: Ditto.
* obj-c++.dg/const-str-9.mm: Ditto.
* obj-c++.dg/method-11.mm: Ditto.
* obj-c++.dg/cxx-ivars-3.mm: Skip if gnu runtime. Use shared wrapper
headers (Object1.h, Protocol1.h) and next-mapping.h as required.
Use new NeXT interface as required. XFAIL run if NeXT and 64bit.
* obj-c++.dg/encode-8.mm: Remove redundant -lobjc.
* obj-c++.dg/const-str-1.mm: Run for NeXT as well as gnu.

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

10 years agoFix candidate for PR c++/43206
dodji [Thu, 25 Mar 2010 22:08:33 +0000 (22:08 +0000)]
Fix candidate for PR c++/43206

gcc/cp/ChangeLog:
PR c++/43206
* cp-tree.h (get_template_parms_at_level): Declare ...
* pt.c (get_template_parms_at_level): ... new function.
* typeck.c (get_template_parms_of_dependent_type): If a template
type parm's DECL_CONTEXT isn't yet set, get its siblings from
current_template_parms. Use get_template_parms_at_level. Remove
useless test.
(incompatible_dependent_types_p): If we get empty parms from just one
of the template type parms we are comparing then the template parms are
incompatible.

gcc/testsuite/ChangeLog:
PR c++/43206
* g++.dg/template/typedef30.C: New test case.

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

10 years ago * doc/tm.texi (Sections): Document TLS_COMMON_ASM_OP,
ro@138bc75d-0d04-0410-961f-82ee72b054a4 [Thu, 25 Mar 2010 18:42:05 +0000 (18:42 +0000)]
* doc/tm.texi (Sections): Document TLS_COMMON_ASM_OP,
TLS_SECTION_ASM_FLAG.

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

10 years ago PR bootstrap/43511
jakub [Thu, 25 Mar 2010 12:19:32 +0000 (12:19 +0000)]
PR bootstrap/43511
* config/i386/i386.c (ix86_code_end): Set DECL_WEAK if TARGET_MACHO.
Clear first_function_block_is_cold.

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

10 years ago PR c/43385
jakub [Thu, 25 Mar 2010 08:16:18 +0000 (08:16 +0000)]
PR c/43385
* gimplify.c (gimple_boolify): Only recurse on __builtin_expect
argument if the argument is truth_value_p.

* gcc.c-torture/execute/pr43385.c: New test.

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

10 years agoDaily bump.
gccadmin [Thu, 25 Mar 2010 00:16:46 +0000 (00:16 +0000)]
Daily bump.

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

10 years agofixincludes:
jsm28 [Wed, 24 Mar 2010 23:20:15 +0000 (23:20 +0000)]
fixincludes:
* inclhack.def (glibc_strncpy): New fix.
* fixincl.x: Regenerate.
* tests/base/bits/string2.h: Update.

gcc/testsuite:
* gcc.dg/strncpy-fix-1.c: New test.

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

10 years ago2010-03-24 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
janis [Wed, 24 Mar 2010 22:52:47 +0000 (22:52 +0000)]
2010-03-24  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>

PR testsuite/41609
* lib/objc-torture.exp (objc-set-runtime-options): New.
* objc/execute/execute.exp: Check runtime options on each pass.
* objc/execute/exceptions/exceptions.exp: Ditto.
* objc/compile/compile.exp: Ditto.

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

10 years ago2010-03-24 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
janis [Wed, 24 Mar 2010 22:51:08 +0000 (22:51 +0000)]
2010-03-24  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>

PR testsuite/42348
* lib/target-supports.exp: Add support for ObjC/ObjC++ tools in
standard tests.
(check_effective_target_objc2): New proc.
(check_effective_target_next_runtime): New proc.
* lib/objc.exp: Determine which runtime is in force and support it.
* lib/obj-c++.exp: Ditto.

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

10 years agoUpdate copyright year
meissner [Wed, 24 Mar 2010 22:14:08 +0000 (22:14 +0000)]
Update copyright year

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

10 years agoFix 43484, swap registers if one is R0 for multiword moves
meissner [Wed, 24 Mar 2010 20:59:24 +0000 (20:59 +0000)]
Fix 43484, swap registers if one is R0 for multiword moves

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

10 years ago PR debug/43293
jakub [Wed, 24 Mar 2010 20:44:48 +0000 (20:44 +0000)]
PR debug/43293
* target.h (struct gcc_target): Add code_end hook.
* target-def.h (TARGET_ASM_CODE_END): Define to hook_void_void
if not yet defined.
(TARGET_ASM_OUT): Add TARGET_ASM_CODE_END.
* toplev.c (compile_file): Call targetm.asm_out.code_end
hook before unwind info/debug info output.
* config/i386/winnt.c (i386_pe_file_end): Don't call ix86_file_end.
* config/i386/linux.h (NEED_INDICATE_EXEC_STACK): Don't define.
(TARGET_ASM_FILE_END): Define to file_end_indicate_exec_stack.
* config/i386/linux64.h (NEED_INDICATE_EXEC_STACK): Don't define.
(TARGET_ASM_FILE_END): Define to file_end_indicate_exec_stack.
* config/i386/i386.c (ix86_file_end): Renamed to...
(ix86_code_end): ... this.  Make static.  Don't call
file_end_indicate_exec_stack.  Emit unwind info using
final_start_function/final_end_function.
(darwin_x86_file_end): Remove.
(TARGET_ASM_CODE_END): Define.
* config/i386/i386.h (TARGET_ASM_FILE_END,
NEED_INDICATE_EXEC_STACK): Don't define.
* config/i386/darwin.h (darwin_x86_file_end): Remove prototype.
(TARGET_ASM_FILE_END): Define to darwin_file_end.
* config/i386/i386-protos.h (ix86_file_end): Remove prototype.
* doc/tm.texi (TARGET_ASM_CODE_END): Document.

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

10 years ago PR target/43498
jakub [Wed, 24 Mar 2010 20:31:09 +0000 (20:31 +0000)]
PR target/43498
* config/i386/i386.c (x86_output_mi_thunk): Call final_start_function
at the beginning and final_end_function at the end.
* config/s390/s390.c (s390_output_mi_thunk): Likewise.

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

10 years ago * configure.ac (i[34567]86-*-*): Handle Solaris 2/x86 TLS support
ro@138bc75d-0d04-0410-961f-82ee72b054a4 [Wed, 24 Mar 2010 18:49:49 +0000 (18:49 +0000)]
* configure.ac (i[34567]86-*-*): Handle Solaris 2/x86 TLS support
and Sun as TLS syntax.
(TLS_SECTION_ASM_FLAG) [on_solaris && !gas_flag]: Define.
* configure: Regenerate.
* config.in: Regenerate.
* varasm.c (TLS_SECTION_ASM_FLAG): Define default.
(default_elf_asm_named_section): Use it.
* config/i386/i386.c (output_pic_addr_const): Lowercase @DTPOFF.
(i386_output_dwarf_dtprel): Likewise.
(output_addr_const_extra): Likewise.
(output_pic_addr_const): Lowercase @GOTTPOFF.
(output_addr_const_extra): Likewise.
(output_pic_addr_const): Lowercase @GOTNTPOFF.
(output_addr_const_extra): Likewise.
(output_pic_addr_const): Lowercase @INDNTPOFF.
(output_addr_const_extra): Likewise.
(output_pic_addr_const): Lowercase @NTPOFF.
(output_addr_const_extra): Likewise.
(output_pic_addr_const): Lowercase @TPOFF.
(output_addr_const_extra): Likewise.
* config/i386/i386.md (*tls_global_dynamic_32_gnu): Lowercase
@TLSGD.
(*tls_global_dynamic_64): Likewise.
(*tls_local_dynamic_base_32_gnu): Lowercase @TLSLDM.
(*tls_local_dynamic_base_64): Lowercase @TLSLD.

* defaults.h (TLS_COMMON_ASM_OP): Provide default.
(ASM_OUTPUT_TLS_COMMON): Use it.
* config/i386/sol2-gas.h (TLS_COMMON_ASM_OP): Undef.

PR target/38118
* config.gcc (sparc*-*-solaris2*) [$gas=yes]: Add usegas.h to
tm_file.
* config/sparc/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): Move ...
* config/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): ... here.
* config/i386/sol2-10.h (ASM_OUTPUT_ALIGNED_COMMON): Redefine.
* config/i386/sol2.h (TARGET_SUN_TLS): Redefine.

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

10 years ago * config/i386/i386.c (override_options): Don't accept
ro@138bc75d-0d04-0410-961f-82ee72b054a4 [Wed, 24 Mar 2010 18:31:07 +0000 (18:31 +0000)]
* config/i386/i386.c (override_options): Don't accept
-mtls-dialect=sun any longer.
* config/i386/i386.h (TARGET_SUN_TLS): Define as 0.
* config/i386/i386.md (*tls_global_dynamic_32_sun): Remove.
(*tls_local_dynamic_base_32_sun): Likewise.
* config/i386/sol2.h (TARGET_SUN_TLS): Redefine.

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

10 years ago PR debug/43508
jakub [Wed, 24 Mar 2010 16:51:02 +0000 (16:51 +0000)]
PR debug/43508
* dwarf2out.c (mem_loc_descriptor): Don't ICE on
VEC_{MERGE,SELECT,CONCAT,DUPLICATE}.

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

10 years ago PR debug/43479
jakub [Wed, 24 Mar 2010 16:50:11 +0000 (16:50 +0000)]
PR debug/43479
* ira.c (adjust_cleared_regs): New function.
(update_equiv_regs): Adjust cleared_regs in DEBUG_INSNs.

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

10 years ago PR c++/43502
jason [Wed, 24 Mar 2010 16:49:06 +0000 (16:49 +0000)]
PR c++/43502
* parser.c (make_declarator): Initialize id_loc.
(cp_parser_lambda_declarator_opt): And set it.

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

10 years ago2010-03-24 Martin Jambor <mjambor@suse.cz>
jamborm [Wed, 24 Mar 2010 16:26:52 +0000 (16:26 +0000)]
2010-03-24  Martin Jambor  <mjambor@suse.cz>

* gcc.dg/ipa/ipa-1.c: Delete trailing spaces, put the call to f into
a loop.
* gcc.dg/ipa/ipa-2.c: Likewise.
* gcc.dg/ipa/ipa-3.c: Likewise.
* gcc.dg/ipa/ipa-4.c: Likewise.
* gcc.dg/ipa/ipa-5.c: Likewise.
* gcc.dg/ipa/ipa-7.c: Likewise.
* gcc.dg/ipa/ipa-6.c: Delete trailing spaces, put the call to foo into
a loop.
* gcc.dg/ipa/ipacost-2.c: Delete trailing spaces, put the call to
i_can_not_be_propagated_fully2 into a loop.
* gcc.dg/ipa/ipa-8.c: New test.
* g++.dg/ipa/iinline-1.C: Put the call to docalling into a loop.

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

10 years ago PR java/43504
mrs [Wed, 24 Mar 2010 16:07:51 +0000 (16:07 +0000)]
PR java/43504
Revert fix for PR target/33120.

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

10 years ago PR debug/19192
jakub [Wed, 24 Mar 2010 13:41:30 +0000 (13:41 +0000)]
PR debug/19192
PR debug/43479
* cfgexpand.c (gimple_assign_rhs_to_tree): Also set TREE_BLOCK
from gimple_block.
* expr.c (expand_expr_real): Restore previous
curr_insn_source_location and curr_insn_block after
expand_expr_real_1 call.
(expand_expr_real_1) <case SSA_NAME>: Call expand_expr_real
instead of expand_expr_real_1.

* gcc.dg/guality/pr43479.c: New test.
* gcc.dg/debug/dwarf2/inline2.c (third): Make a a global var
and add volatile keyword.

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

10 years ago * g++.dg/warn/Wstrict-aliasing-float-ref-int-obj.C: Enhance portability.
mrs [Wed, 24 Mar 2010 03:04:16 +0000 (03:04 +0000)]
* g++.dg/warn/Wstrict-aliasing-float-ref-int-obj.C: Enhance portability.

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

10 years ago * g++.dg/ext/altivec-17.C: Adjust error message.
jason [Wed, 24 Mar 2010 02:49:55 +0000 (02:49 +0000)]
* g++.dg/ext/altivec-17.C: Adjust error message.

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

10 years agoDaily bump.
gccadmin [Wed, 24 Mar 2010 00:16:57 +0000 (00:16 +0000)]
Daily bump.

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

10 years ago Make lambda conversion op and op() non-static.
jason [Tue, 23 Mar 2010 22:29:53 +0000 (22:29 +0000)]
Make lambda conversion op and op() non-static.
* semantics.c (maybe_add_lambda_conv_op): Make non-static.
Also add the thunk function returned by the conversion op.
Mark the conversion deleted if the op() is variadic.
* decl2.c (mark_used): Give helpful message about deleted conversion.
* parser.c (cp_parser_lambda_declarator_opt): Don't make op() static.
* semantics.c (finish_this_expr): Adjust.
* mangle.c (write_closure_type_name): Adjust.
* decl.c (grok_op_properties): Don't allow it.
* call.c (build_user_type_conversion_1): No static conversion ops.
(build_op_call): Or op().

* decl2.c (change_return_type): Fix 'this' quals.

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

10 years ago PR target/33120
mrs [Tue, 23 Mar 2010 20:02:57 +0000 (20:02 +0000)]
PR target/33120
* config/darwin.h (ASM_OUTPUT_ALIGNED_BSS): Add.
* config/darwin.c (darwin_output_aligned_bss): Add.
* config/darwin-protos.h: Add darwin_output_aligned_bss.

testsuite:
* g++.dg/ext/instantiate2.C: Update for .zerofill as it doesn't
follow the usual conventions for symbol definitions.
* gcc.target/i386/darwin-zerofill.c: Add.

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

10 years ago2010-03-23 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Tue, 23 Mar 2010 19:18:42 +0000 (19:18 +0000)]
2010-03-23  Vladimir Makarov  <vmakarov@redhat.com>

PR rtl-optimization/43413
* ira-color.c (setup_allocno_available_regs_num): Count prohibited
hard regs too.

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

10 years ago * configure.ac (tic6x-*-*): New case.
jsm28 [Tue, 23 Mar 2010 16:04:30 +0000 (16:04 +0000)]
* configure.ac (tic6x-*-*): New case.
* configure: Regenerate.

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

10 years ago * symcat.h (CONCAT5, CONCAT6, XCONCAT5, XCONCAT6): Define.
jsm28 [Tue, 23 Mar 2010 15:58:01 +0000 (15:58 +0000)]
* symcat.h (CONCAT5, CONCAT6, XCONCAT5, XCONCAT6): Define.

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

10 years ago2010-03-23 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Tue, 23 Mar 2010 15:20:29 +0000 (15:20 +0000)]
2010-03-23  Paolo Carlini  <paolo.carlini@oracle.com>

* testsuite/util/testsuite_tr1.h (NType, TType, SLType, PODType): Add.
* testsuite/20_util/is_trivial/value.cc: Adjust.
* testsuite/20_util/is_standard_layout/value.cc: Likewise.
* testsuite/20_util/is_pod/value.cc: Likewise.

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

10 years ago2010-03-23 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Tue, 23 Mar 2010 15:03:50 +0000 (15:03 +0000)]
2010-03-23  Paolo Carlini  <paolo.carlini@oracle.com>

* testsuite/20_util/is_trivial/value.cc: New.
* testsuite/20_util/is_standard_layout/value.cc: Likewise.
* testsuite/20_util/is_pod/value.cc: Extend.

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

10 years ago2010-03-23 Kai Tietz <kai.tietz@onevision.com>
ktietz [Tue, 23 Mar 2010 14:48:08 +0000 (14:48 +0000)]
2010-03-23  Kai Tietz  <kai.tietz@onevision.com>

        * mh-mingw: Revert accidentally checking r156315.

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

10 years ago2010-03-23 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Tue, 23 Mar 2010 14:32:35 +0000 (14:32 +0000)]
2010-03-23  Paolo Carlini  <paolo.carlini@oracle.com>

* include/bits/stl_algobase.h (lower_bound(_ForwardIterator,
_ForwardIterator, const _Tp&, _Compare)): Move...
* include/bits/stl_algo.h: ... here.

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

10 years ago * config.sub: Update to version 2010-03-22.
jsm28 [Tue, 23 Mar 2010 14:26:40 +0000 (14:26 +0000)]
* config.sub: Update to version 2010-03-22.
* config.guess: Update to version 2009-12-30.

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

10 years agoFix stdlib.h for mingw.
hjl [Tue, 23 Mar 2010 13:24:37 +0000 (13:24 +0000)]
Fix stdlib.h for mingw.

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

PR target/40722
* mkfixinc.sh: Fix stdlib.h for mingw.

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

10 years agoFix long lines
ebotcazou [Tue, 23 Mar 2010 12:13:00 +0000 (12:13 +0000)]
Fix long lines

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

10 years agoFixed incorrect formatting of previous ChangeLog entry. Obvious.
davek [Tue, 23 Mar 2010 05:39:39 +0000 (05:39 +0000)]
Fixed incorrect formatting of previous ChangeLog entry.  Obvious.

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

10 years ago PR libobjc/30445
davek [Tue, 23 Mar 2010 05:05:35 +0000 (05:05 +0000)]
PR libobjc/30445
* configure.ac (extra_ldflags_libobjc): Define appropriately for
Cygwin and MinGW hosts.
* Makefile.am (libobjc_s.a): Remove dead pre-libtool target.
(libobjc.dll): Likewise.
* configure: Regenerate.

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

10 years agoPR target/43348
wilson [Tue, 23 Mar 2010 01:22:28 +0000 (01:22 +0000)]
PR target/43348
* ia64.md (call_nogp, call_value_nogp, sibcall_nogp, call_gp,
call_value_gp,sibcall_gp): Use 's' constraint not 'i'.

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

10 years agoDaily bump.
gccadmin [Tue, 23 Mar 2010 00:16:49 +0000 (00:16 +0000)]
Daily bump.

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

10 years agoAdd -mfma to ix86_target_string.
hjl [Mon, 22 Mar 2010 23:17:09 +0000 (23:17 +0000)]
Add -mfma to ix86_target_string.

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

* config/i386/i386.c (ix86_target_string): Fix a typo in
comments.  Add -mfma.

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

10 years ago PR target/23071
mrs [Mon, 22 Mar 2010 23:13:10 +0000 (23:13 +0000)]
PR target/23071
* config/rs6000/rs6000.c (darwin_rs6000_special_round_type_align):
Don't overly align based upon packed packed fields.

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

10 years ago PR c++/43333
jason [Mon, 22 Mar 2010 20:38:57 +0000 (20:38 +0000)]
PR c++/43333
* tree.c (pod_type_p): Use old meaning in C++98 mode.

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

10 years ago PR c++/43281
jason [Mon, 22 Mar 2010 20:38:46 +0000 (20:38 +0000)]
PR c++/43281
* pt.c (contains_auto_r): New fn.
(do_auto_deduction): Use it.
(tsubst): Don't look at TREE_TYPE of a TEMPLATE_TYPE_PARM.

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

10 years ago * c-pretty-print.c (pp_c_specifier_qualifier_list) [VECTOR_TYPE]:
jason [Mon, 22 Mar 2010 20:38:35 +0000 (20:38 +0000)]
* c-pretty-print.c (pp_c_specifier_qualifier_list) [VECTOR_TYPE]:
Use () rather than [], and move before the element type.
* cp-demangle.c (d_print_mod): Use () rather than [] for vectors.

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

10 years ago * doc/configfiles.texi (Configuration Files): Removed
ro@138bc75d-0d04-0410-961f-82ee72b054a4 [Mon, 22 Mar 2010 20:33:33 +0000 (20:33 +0000)]
* doc/configfiles.texi (Configuration Files): Removed
fixinc/Makefile*, intl/Makefile.*.
* doc/makefile.texi: Fixed markup.
Abstract from version control system used.
(Makefile): Removed obsolete gcc/java/parse.y example.
* doc/sourcebuild.texi: Likewise.
(Top Level): Added config, gnattools, libdecnumber, libgcc,
libgomp, libssp.
Removed fastjar.
(Miscellaneous Docs): Clarify location.
Added COPYING3, COPYING3.LIB.
(Front End Directory): Moved Make-lang.in entry to new
subsubsection.

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

10 years ago gcc:
ro@138bc75d-0d04-0410-961f-82ee72b054a4 [Mon, 22 Mar 2010 20:12:34 +0000 (20:12 +0000)]
gcc:
PR target/38085
* config/i386/i386.c (x86_function_profiler)
[!NO_PROFILE_COUNTERS]: Fix typo.
* config/i386/gmon-sol2.c (_mcleanup) [__x86_64__]: Use call
instead of callq.

libgcc:
PR target/38085
* config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
MULTILIB_CFLAGS.
($(T)gcrt1.o): Likewise.
($(T)crt1.o): Likewise.
($(T)crti.o): Likewise.
($(T)crtn.o): Likewise.

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

10 years ago2010-03-22 Janis Johnson <janis187@us.ibm.com>
janis [Mon, 22 Mar 2010 18:05:36 +0000 (18:05 +0000)]
2010-03-22  Janis Johnson  <janis187@us.ibm.com>
    Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>

* doc/sourcebuild.texi (Test Directives): Split into six
subsections, with most of the current text in new subsections
Directives, Selectors, and Final Actions.
(Directives): Split list of test directives into multiple
subsubsections.
(Selectors): Describe use and syntax of selectors.
(Effective-Target Keywords): Describe all existing keywords.
(Add Options): Describe features for dg-add-options.
(Require Support): Describe variants of dg-require-support.
(Final Actions): Describe commands to use in dg-final.

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

10 years agocontrib/
jkratoch [Mon, 22 Mar 2010 17:36:49 +0000 (17:36 +0000)]
contrib/
Fix *.log tests output containing "===".
* dg-extract-results.sh (/\===/): Rename to ...
(/^\t\t=== .* ===$/): ... this pattern.

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

10 years ago2010-03-22 Johannes Singler <singler@kit.edu>
singler [Mon, 22 Mar 2010 17:06:50 +0000 (17:06 +0000)]
2010-03-22  Johannes Singler  <singler@kit.edu>

        * include/parallel/numeric (inner_product, partial_sum):
        Precede subsequent call with _GLIBCXX_STD_P:: to avoid ambiguity
        between __gnu_parallel:: and std::
        * include/parallel/algobase.h (equal): Likewise.
        * include/parallel/algo.h (find_first_of, search_n, merge, nth_element,
        partial_sort, max_element, min_element): Likewise.
        * include/parallel/partial_sum.h (__parallel_partial_sum_linear):
        Qualify accumulate call with __gnu_parallel::.

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

10 years ago PR middle-end/43475
matz [Mon, 22 Mar 2010 16:28:51 +0000 (16:28 +0000)]
PR middle-end/43475
* recog.c (validate_replace_rtx_group): Replace also in
REG_EQUAL and REG_EQUIV notes.

testsuite/
* gfortran.dg/pr43475.f90: New testcase.

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

10 years ago PR libgomp/42942
jakub [Mon, 22 Mar 2010 15:16:52 +0000 (15:16 +0000)]
PR libgomp/42942
* env.c (parse_unsigned_long): Add ALLOW_ZERO argument.
(initialize_env): Adjust callers.
(omp_set_max_active_levels): Set gomp_max_active_levels_var even
when the argument is 0.

* testsuite/libgomp.c/pr42942.c: New test.

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

10 years ago2010-03-22 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Mon, 22 Mar 2010 13:55:11 +0000 (13:55 +0000)]
2010-03-22  Paolo Carlini  <paolo.carlini@oracle.com>

* include/parallel/base.h (_PseudoSequence): Do not forward declare.
(_VoidFunctor): Remove, unused.
(__median_of_three_iterators): Take __comp by value.
(_PseudoSequenceIterator<>::operator++(int)): Do not const qualify
the return type.
(_PseudoSequenceIterator<>::operator!=): Fix return type to bool.

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

10 years ago2010-03-22 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 22 Mar 2010 12:39:04 +0000 (12:39 +0000)]
2010-03-22  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/43390
* tree-vect-stmts.c (get_vectype_for_scalar_type): Make
sure vector extracts are type correct.

* gfortran.fortran-torture/execute/pr43390.f90: New testcase.

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

10 years ago2010-03-22 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 22 Mar 2010 12:38:02 +0000 (12:38 +0000)]
2010-03-22  Richard Guenther  <rguenther@suse.de>

PR middle-end/40106
* builtins.c (expand_builtin_pow): Expand pow (x, 1.5) as
x * sqrt (x) even when optimizing for size if the target
has native support for sqrt.

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

10 years ago2010-03-22 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Mon, 22 Mar 2010 12:18:46 +0000 (12:18 +0000)]
2010-03-22  Paolo Carlini  <paolo.carlini@oracle.com>

* include/parallel/base.h (_Less): Use std::less.
(_Plus): Likewise use std::plus.
(_Multiplies): Likewise use std::multiplies.
* include/parallel/numeric: Adjust.

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

10 years ago * varasm.c (make_decl_rtl_for_debug): Also clear
jakub [Mon, 22 Mar 2010 10:30:27 +0000 (10:30 +0000)]
* varasm.c (make_decl_rtl_for_debug): Also clear
flag_mudflap for the duration of make_decl_rtl call.

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

10 years ago PR debug/43443
jakub [Mon, 22 Mar 2010 10:26:33 +0000 (10:26 +0000)]
PR debug/43443
* var-tracking.c (add_cselib_value_chains): Remove ASM_OPERANDS
locs from preserved VALUEs.

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

10 years ago2010-03-21 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Mon, 22 Mar 2010 02:39:02 +0000 (02:39 +0000)]
2010-03-21  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/43409
* io/io.h: Fix type of size in st_parameter_inquire structure.

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

10 years ago PR middle-end/42718
danglin [Mon, 22 Mar 2010 01:00:30 +0000 (01:00 +0000)]
PR middle-end/42718
* pa.md (movmemsi): Set align to one if zero.
(movmemdi): Likewise.

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

10 years agoDaily bump.
gccadmin [Mon, 22 Mar 2010 00:16:51 +0000 (00:16 +0000)]
Daily bump.

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

10 years ago PR target/42321
rearnsha [Sun, 21 Mar 2010 20:27:00 +0000 (20:27 +0000)]
PR target/42321
* arm.c (arm_output_epilogue): Correctly match VFP pop instructions
with their corresponding prologue pushes.

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

10 years ago PR target/42811
davek [Sun, 21 Mar 2010 19:41:37 +0000 (19:41 +0000)]
PR target/42811
* libjava/configure.ac (DLLTOOL): Call AC_CHECK_TOOL.
(libgcj_sublib_core_extra_deps): New host-dependent configure var.
(LIBGCJ_SUBLIB_CORE_EXTRA_DEPS): AC_SUBST it.
* libjava/configure.host (libgcj_sublib_core_extra_deps): Define
appropriately on Cygwin and MinGW.
(libgcj_sublib_core_extra_deps): Add libgcj-noncore-dummy import
stub library on Cygwin and MinGW.
* libjava/Makefile.am (LIBJAVA_CORE_EXTRA): Import AC_SUBST'd
LIBGCJ_SUBLIB_CORE_EXTRA_DEPS if building sublibs, else define empty.
(libgcj_la_DEPENDENCIES): Use it.
(DLL_VERSION): New makefile macro.
(libgcj-noncore-dummy.dll.a): New build rule for dummy import stub
library.
(libgcj_noncore_la_LIBADD): Trim superfluous convenience libs.
(AM_MAKEFLAGS): Add DLLTOOL recursive propagation.
* libjava/libgcj-noncore-dummy.def: New file.
* libjava/Makefile.in: Regenerate.
* libjava/include/Makefile.in: Likewise.
* libjava/testsuite/Makefile.in: Likewise.
* libjava/configure: Likewise.
* libjava/gcj/Makefile.in: Likewise.

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

10 years ago PR target/42811 (prerequisite)
davek [Sun, 21 Mar 2010 19:36:49 +0000 (19:36 +0000)]
PR target/42811 (prerequisite)
* jvmti.cc (_Jv_GetJVMTIEnv): Avoid use of uninitialised memory.

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

10 years ago PR target/42811 (prerequisite)
davek [Sun, 21 Mar 2010 19:34:19 +0000 (19:34 +0000)]
PR target/42811 (prerequisite)
* include/private/gc_priv.h (struct roots) [CYGWIN32]: Don't
declare r_next member on Cygwin as on other windows hosts.
(LOG_RT_SIZE) [CYGWIN32]: Don't define likewise.
(RT_SIZE) [CYGWIN32]: Likewise.
(struct _GC_arrays) [CYGWIN32]: Do declare _heap_bases[] member
likewise.
(GC_heap_bases) [CYGWIN32]: Do define likewise.
(struct _SYSTEM_INFO) [CYGWIN32]: Do forward-declare likewise.
(GC_sysinfo) [CYGWIN32]: Do declare extern likewise.
(GC_n_heap_bases) [CYGWIN32]: Likewise.
(GC_is_tmp_root) [CYGWIN32]: Do prototype likewise.
* include/private/gcconfig.h (GC_win32_get_mem) [CYGWIN32]: Likewise.
(GET_MEM) [CYGWIN32]: Do define likewise.
* boehm-gc/ptr_chck.c (GC_is_visible) [CYGWIN32]: Do handle dynamic
registration likewise.
* boehm-gc/os_dep.c (GC_setpagesize) [CYGWIN32]: Do define likewise.
(GC_no_win32_dlls) [CYGWIN32]: Define as constant false, unlike
other windows hosts.
(GC_sysinfo) [CYGWIN32]: Define as on other windows hosts.
(GC_n_heap_bases) [CYGWIN32]: Likewise.
(GLOBAL_ALLOC_TEST) [CYGWIN32]: Likewise.
(GC_win32_get_mem) [CYGWIN32]: Likewise, but wrapping GC_unix_get_mem
rather than GlobalAlloc/VirtualAlloc.
(GC_win32_free_heap) [CYGWIN32]: Likewise, but wrapping free instead
of GlobalFree (even though the function body is optimised away).
* boehm-gc/mark_rts.c (add_roots_to_index) [CYGWIN32]: Define as on
other windows hosts.
(GC_add_roots_inner) [CYGWIN32]: Avoid overlapping or adjacent
intervals likewise.
(GC_clear_roots) [CYGWIN32]: Clear GC_root_index[] likewise.
(GC_rebuild_root_index) [CYGWIN32]: Define as on other windows hosts.
(GC_remove_tmp_roots) [CYGWIN32]: Call it likewise.
(GC_remove_roots) [CYGWIN32]: Don't define, as on other windows hosts.
(GC_is_tmp_root) [CYGWIN32]: Define, as on other windows hosts.
(GC_cond_register_dynamic_libraries) [CYGWIN32]: Handle temporary
roots and dynamic registration likewise.
* boehm-gc/dyn_load.c (GC_has_static_roots) [CYGWIN32]: Define as on
other windows hosts.
(GC_register_has_static_roots_callback) [CYGWIN32]: Likewise.
(GC_cond_add_roots) [CYGWIN32]: Likewise.
(GC_register_main_static_data) [CYGWIN32]: Define to always return
false, as on MSWINCE
(HAVE_REGISTER_MAIN_STATIC_DATA) [CYGWIN32]: Define as on other
windows hosts.
(GC_warn_fb) [CYGWIN32]: Likewise.
(GC_disallow_ignore_fb) [CYGWIN32]: Likewise.
(GC_ignore_fb_mb) [CYGWIN32]: Likewise.
(GC_ignore_fb) [CYGWIN32]: Likewise.
(is_frame_buffer) [CYGWIN32]: Likewise.
(GC_dump_meminfo) [CYGWIN32]: Likewise.
(GC_wnt) [CYGWIN32]: Define to constant true.
(GC_register_dynamic_libraries) [CYGWIN32]: Define as on other
windows hosts.

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

10 years ago * gcc.target/powerpc/ppc-sdata-1.c: Require nonpic.
ghazi [Sun, 21 Mar 2010 19:25:00 +0000 (19:25 +0000)]
* gcc.target/powerpc/ppc-sdata-1.c: Require nonpic.
* gcc.target/powerpc/ppc-sdata-2.c: Likewise.

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

10 years agoDaily bump.
gccadmin [Sun, 21 Mar 2010 00:16:48 +0000 (00:16 +0000)]
Daily bump.

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

10 years agogcc/cp/
simartin [Sat, 20 Mar 2010 18:01:18 +0000 (18:01 +0000)]
gcc/cp/

2010-03-20  Simon Martin  <simartin@users.sourceforge.net>

PR c++/43081:
* decl2.c (grokfield): Handle invalid initializers for member
functions.

gcc/testsuite/

2010-03-20  Simon Martin  <simartin@users.sourceforge.net>
    Michael Matz  <matz@suse.de>

PR c++/43081
* g++.dg/parse/crash56.C: New test.

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

10 years ago2010-03-20 Andrew Pinski <pinskia@gmail.com>
pinskia [Sat, 20 Mar 2010 17:45:37 +0000 (17:45 +0000)]
2010-03-20  Andrew Pinski  <pinskia@gmail.com>

        PR target/43156
        * config/spu/spu.c (spu_expand_prologue): Don't emit NOTE_INSN_DELETED
        at the begining or end.
        (spu_expand_epilogue): Likewise.

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

10 years ago2010-03-20 Paul Thomas <pault@gcc.gnu.org>
pault [Sat, 20 Mar 2010 16:01:17 +0000 (16:01 +0000)]
2010-03-20  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/43450
* trans-decl.c (gfc_create_module_variable): With -fwhole-file
do not assert the context of derived types.

2010-03-20  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/43450
* gfortran.dg/whole_file_15.f90 : New test.

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

10 years ago2010-03-20 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sat, 20 Mar 2010 14:42:04 +0000 (14:42 +0000)]
2010-03-20  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/43409
* gfortran.dg/inquire_size.f90: New test.

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

10 years ago2010-03-20 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Sat, 20 Mar 2010 14:39:00 +0000 (14:39 +0000)]
2010-03-20  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/43409
* ioparm.def: Change inquire size variable to type pointer to
GFC_IO_INT type.

2010-03-20  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/43409
* io/unix.h: Add prototype for new function to return file size.
* io/unix.c (file_size): New function.
* io/inquire.c (inquire_via_unit): Use new function.
(inquire_via_filename): Use new function.

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

10 years ago2010-03-20 Richard Guenther <rguenther@suse.de>
rguenth [Sat, 20 Mar 2010 13:44:18 +0000 (13:44 +0000)]
2010-03-20  Richard Guenther  <rguenther@suse.de>

PR rtl-optimization/43438
* combine.c (make_extraction): Properly zero-/sign-extend an
extraction of the low part of a CONST_INT.  Also handle
CONST_DOUBLE.

* gcc.c-torture/execute/pr43438.c: New testcase.

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

10 years agoFix for PR c++/43375
dodji [Sat, 20 Mar 2010 08:55:32 +0000 (08:55 +0000)]
Fix for PR c++/43375

gcc/cp/ChangeLog:
PR c++/43375
* method.c (make_alias_for): Avoid crashing when DECL_LANG_SPECIFIC
is NULL.
* decl2.c (vague_linkage_p): Likewise.

gcc/testsuite/g++.dg/ChangeLog:
PR c++/43375
* g++.dg/abi/mangle42.C: New test.

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

10 years ago * config/i386/darwin.h (SUBTARGET32_DEFAULT_CPU): Add.
mrs [Sat, 20 Mar 2010 05:40:05 +0000 (05:40 +0000)]
* config/i386/darwin.h (SUBTARGET32_DEFAULT_CPU): Add.
* config/i386/i386.c (SUBTARGET32_DEFAULT_CPU): Add.
(override_options): Use SUBTARGET32_DEFAULT_CPU.

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

10 years agoDaily bump.
gccadmin [Sat, 20 Mar 2010 00:16:44 +0000 (00:16 +0000)]
Daily bump.

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

10 years ago2010-03-19 Andrew Pinski <andrew_pinski@caviumnetworks.com>
pinskia [Fri, 19 Mar 2010 22:52:41 +0000 (22:52 +0000)]
2010-03-19  Andrew Pinski  <andrew_pinski@caviumnetworks.com>

        PR C/43211
        * c-decl.c (grokparms): Set arg_types to NULL_TREE if there was an error.

2010-03-19  Andrew Pinski  <andrew_pinski@caviumnetworks.com>

        PR C/43211
        * gcc.dg/pr43211.c: New test.
        * gcc.dg/pr18809-1.c: Don't expect an error when calling foo.

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

10 years ago * optabs.c (avoid_expensive_constant): Fix formatting.
bernds [Fri, 19 Mar 2010 19:45:01 +0000 (19:45 +0000)]
* optabs.c (avoid_expensive_constant): Fix formatting.

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

10 years ago * gcc.target/arm/thumb-andsi.c: Correct dg-options and add
bernds [Fri, 19 Mar 2010 19:42:59 +0000 (19:42 +0000)]
* gcc.target/arm/thumb-andsi.c: Correct dg-options and add
dg-require-effective-target.

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

10 years agogcc/
bernds [Fri, 19 Mar 2010 18:41:22 +0000 (18:41 +0000)]
gcc/
PR target/40697
* optabs.c (avoid_expensive_constant): Use rtx_cost to find out
the cost of loading the constant rather than assuming
COSTS_N_INSNS (1).
* config/arm/arm.c (thumb1_rtx_costs) <case CONST_INT>: If the
outer code is AND, do the same tests as the andsi3 expander and
return COSTS_N_INSNS (1) if and is cheap.

testsuite/
PR target/40697
* gcc.target/arm/thumb-andsi.c: New test.

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

10 years agogcc/
bernds [Fri, 19 Mar 2010 18:18:54 +0000 (18:18 +0000)]
gcc/
PR rtl-optimization/42258
* ira-lives.c (check_and_make_def_conflict): Ignore conflict for a
use that may match DEF.

testsuite/
PR rtl-optimization/42258
* gcc.target/arm/thumb1-mul-moves.c: New test.

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

10 years ago PR c++/43116
matz [Fri, 19 Mar 2010 16:37:27 +0000 (16:37 +0000)]
PR c++/43116
* attribs.c (decl_attributes): When rebuilding a function pointer
type use the same qualifiers as the original pointer type.

testsuite/
* g++.dg/other/pr43116.C: New testcase.

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

10 years ago2010-03-19 Martin Jambor <mjambor@suse.cz>
jamborm [Fri, 19 Mar 2010 16:09:16 +0000 (16:09 +0000)]
2010-03-19  Martin Jambor  <mjambor@suse.cz>

* doc/gimple.texi (Logical Operators): Describe is_gimple_ip_invariant
and is_gimple_ip_invariant_address.

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

10 years agoRevert work around for PR40521
ramana [Fri, 19 Mar 2010 16:02:49 +0000 (16:02 +0000)]
Revert work around for PR40521

2010-03-19  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

        Revert
        2009-10-01  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
        * config/arm/arm.c (arm_override_options): Turn off
        flag_dwarf2_cfi_asm for AAPCS variants.

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

10 years agoFix PR target/43399
ramana [Fri, 19 Mar 2010 15:58:37 +0000 (15:58 +0000)]
Fix PR target/43399

2010-03-19  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

       PR target/43399
       * config/arm/arm.c (emit_multi_reg_push): Update comments.
       Use PRE_MODIFY instead of PRE_DEC.
       (emit_sfm): Use PRE_MODIFY instead of PRE_DEC.
       (vfp_emit_fstmd): Likewise.

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

10 years agoremove vestiges of inadvertently committed changes
korbb [Fri, 19 Mar 2010 14:50:06 +0000 (14:50 +0000)]
remove vestiges of inadvertently committed changes

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

10 years ago2010-03-19 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Fri, 19 Mar 2010 14:19:23 +0000 (14:19 +0000)]
2010-03-19  Paolo Carlini  <paolo.carlini@oracle.com>

* testsuite/17_intro/freestanding.cc: Avoid -Wall warnings.

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

10 years ago2010-03-19 Rodolfo Lima <rodolfo@rodsoft.org>
paolo [Fri, 19 Mar 2010 13:32:05 +0000 (13:32 +0000)]
2010-03-19  Rodolfo Lima  <rodolfo@rodsoft.org>

* include/bits/shared_ptr.h (shared_ptr(unique_ptr&&),
shared_ptr(auto_ptr&&)): Remove explicit specifier (as per DR 925).
* include/bits/shared_ptr_base.h: Likewise.
* testsuite/20_util/shared_ptr/creation/dr925.cc: New.

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