OSDN Git Service

pf3gnuchains/gcc-fork.git
15 years ago2009-01-20 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 20 Jan 2009 19:30:51 +0000 (19:30 +0000)]
2009-01-20  Benjamin Kosnik  <bkoz@redhat.com>
            Rainer Emrich  <r.emrich@de.tecosim.com>

PR libstdc++/38919
* crossconfig.m4: Use GLIBCXX_CHECK_MATH_SUPPORT and
GLIBCXX_CHECK_STDLIB_SUPPORT for mingw crosses.
* configure: Regenerate.

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

15 years ago PR target/30687
sje [Tue, 20 Jan 2009 19:14:06 +0000 (19:14 +0000)]
PR target/30687
* doc/extend.texi (syscall_linkage): New.
(version_id): Modify.

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

15 years ago2009-01-20 Tobias Burnus <burnus@net-b.de>
burnus [Tue, 20 Jan 2009 18:46:30 +0000 (18:46 +0000)]
2009-01-20  Tobias Burnus  <burnus@net-b.de>

        * invoke.texi (RANGE): RANGE also takes INTEGER arguments.

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

15 years ago2009-01-20 Andrew Pinski <andrew_pinski@playstation.sony.com>
rguenth [Tue, 20 Jan 2009 17:10:40 +0000 (17:10 +0000)]
2009-01-20  Andrew Pinski  <andrew_pinski@playstation.sony.com>
Richard Guenther  <rguenther@suse.de>

PR tree-optimization/38747
PR tree-optimization/38748
* tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Disable the VCE
conversion if the base address is an indirect reference and the
aliasing sets could cause issues.

* gcc.dg/tree-ssa/struct-aliasing-1.c: New test.
* gcc.dg/tree-ssa/struct-aliasing-2.c: Likewise.
* gcc.c-torture/execute/struct-aliasing-1.c: Likewise.

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

15 years ago2009-01-20 Sebastian Pop <sebastian.pop@amd.com>
spop [Tue, 20 Jan 2009 15:01:14 +0000 (15:01 +0000)]
2009-01-20  Sebastian Pop  <sebastian.pop@amd.com>

* common.opt (fgraphite, fgraphite-identity): Add comment for
explaining why these options are not documented.

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

15 years ago2009-01-20 Sebastian Pop <sebastian.pop@amd.com>
spop [Tue, 20 Jan 2009 14:58:53 +0000 (14:58 +0000)]
2009-01-20  Sebastian Pop  <sebastian.pop@amd.com>

* graphite.c (stmt_simple_for_scop_p): Also handle cases when
gimple_call_lhs is NULL.

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

15 years ago2009-01-20 Kees Cook <kees@ubuntu.com>
hjl [Tue, 20 Jan 2009 14:40:30 +0000 (14:40 +0000)]
2009-01-20  Kees Cook  <kees@ubuntu.com>
    H.J. Lu  <hongjiu.lu@intel.com>

PR target/38902
* gcc.dg/pr38902.c: New.

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

15 years agogcc:
bonzini [Tue, 20 Jan 2009 13:24:25 +0000 (13:24 +0000)]
gcc:
2008-01-20  Paolo Bonzini  <bonzini@gnu.org>

PR target/38868
* emit-rtl.c (adjust_address_1): Make sure memref is never
overwritten.

gcc/testsuite:
2008-01-20  Paolo Bonzini  <bonzini@gnu.org>

PR target/38868
* gfortran.dg/pr38868.f: New testcase.

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

15 years ago * libgcov.c (__gcov_execl, __gcov_execlp, __gcov_execle): Remove
bje [Tue, 20 Jan 2009 09:49:58 +0000 (09:49 +0000)]
* libgcov.c (__gcov_execl, __gcov_execlp, __gcov_execle): Remove
const qualifier from arg parameter. Remove unnecessary cast to
char *.
* gcov-io.h (__gcov_execl, __gcov_execlp, __gcov_execle): Remove
const qualifier from arg 2.

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

15 years ago2009-01-20 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 20 Jan 2009 09:21:41 +0000 (09:21 +0000)]
2009-01-20  Richard Guenther  <rguenther@suse.de>

* gcc.c-torture/execute/pr36227.c: Move ...
* gcc.dg/torture/pr36227.c: ... here.  Require stdint_types.

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

15 years ago2009-01-19 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
janis [Tue, 20 Jan 2009 00:59:24 +0000 (00:59 +0000)]
2009-01-19  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>

gcc/
        * config/darwin.h: Add static-libgfortran to LINK_SPEC.
gcc/testsuite/
        * lib/gfortran.exp: Add -B options for targets that use
libgfortran.a%s in their specs.
libgomp/
        * testsuite/lib/libgomp.exp: Add -B option for targets that
use libgfortran.a%s in their specs.

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

15 years agoDaily bump.
gccadmin [Tue, 20 Jan 2009 00:17:11 +0000 (00:17 +0000)]
Daily bump.

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

15 years ago PR c++/23287
jason [Mon, 19 Jan 2009 22:50:43 +0000 (22:50 +0000)]
    PR c++/23287
        * parser.c (cp_parser_unqualified_id): In a template,
        accept ~identifier.
        * typeck.c (lookup_destructor): Handle IDENTIFIER_NODE.

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

15 years ago2009-01-19 Mikael Morin <mikael.morin@tele2.fr>
mikael [Mon, 19 Jan 2009 22:19:34 +0000 (22:19 +0000)]
2009-01-19  Mikael Morin  <mikael.morin@tele2.fr>

PR fortran/38859
* simplify.c (simplify_bound): Don't use array specification
if variable or component has subsequent references.

2009-01-19  Mikael Morin  <mikael.morin@tele2.fr>

PR fortran/38859
* gfortran.dg/bound_5.f90: New test.

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

15 years ago2009-01-19 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Mon, 19 Jan 2009 17:17:14 +0000 (17:17 +0000)]
2009-01-19  Vladimir Makarov  <vmakarov@redhat.com>

PR c/38869
* rtl.h (reinit_regs): New prototype.
* regclass.c: Include ira.h.
(reinit_regs): New.
* Makefile.in (regclass.o): Add ira.h.
* config/i386/i386.c (ix86_maybe_switch_abi): Use reinit_regs.

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

15 years agoDaily bump.
gccadmin [Mon, 19 Jan 2009 00:17:01 +0000 (00:17 +0000)]
Daily bump.

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

15 years agoCorrect my most recent entry.
bje [Sun, 18 Jan 2009 21:41:52 +0000 (21:41 +0000)]
Correct my most recent entry.

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

15 years ago * configure.ac (funcs, vars, checkfuncs): Don't munge on Cygwin,
davek [Sun, 18 Jan 2009 21:36:20 +0000 (21:36 +0000)]
* configure.ac (funcs, vars, checkfuncs):  Don't munge on Cygwin,
as it no longer shares libiberty object files.
* configure:  Regenerated.

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

15 years agogcc/
hjl [Sun, 18 Jan 2009 16:26:26 +0000 (16:26 +0000)]
gcc/

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

PR target/38736
* c-common.c (handle_aligned_attribute): Use
ATTRIBUTE_ALIGNED_VALUE instead of BIGGEST_ALIGNMENT for
default alignment value.

* c-cppbuiltin.c (c_cpp_builtins): Define __BIGGEST_ALIGNMENT__.

* defaults.h (ATTRIBUTE_ALIGNED_VALUE): New.
* config/i386/i386.h (ATTRIBUTE_ALIGNED_VALUE): Likewise.

* doc/extend.texi: Update __attribute__ ((aligned)).  Document
__BIGGEST_ALIGNMENT__.

* doc/tm.texi: Document ATTRIBUTE_ALIGNED_VALUE.

gcc/testsuite/

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

PR target/38736
* g++.dg/compat/abi/pr38736_main.C: New.
* g++.dg/compat/abi/pr38736_x.C: Likewise.
* g++.dg/compat/abi/pr38736_y.C: Likewise.
* g++.dg/other/macro-1.C: Likewise.
* gcc.dg/macro-1.c: Likewise.
* gcc.dg/compat/pr38736_main.c: Likewise.
* gcc.dg/compat/pr38736_x.c: Likewise.
* gcc.dg/compat/pr38736_y.c: Likewise.

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

15 years ago2009-01-18 Richard Guenther <rguenther@suse.de>
rguenth [Sun, 18 Jan 2009 15:51:12 +0000 (15:51 +0000)]
2009-01-18  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/38819
* tree-flow.h (operation_could_trap_helper_p): Declare.
* tree-eh.c (operation_could_trap_helper_p): Export.
* tree-ssa-sccvn.h (vn_nary_may_trap): Declare.
* tree-ssa-sccvn.c (vn_nary_may_trap): New function.
* tree-ssa-pre.c (insert_into_preds_of_block): Check if we
are about to insert a possibly trapping instruction and fail
in this case.

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

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

15 years agodoc/install.texi (Configuration): Remove obsolete paragraph
schwab [Sun, 18 Jan 2009 15:47:15 +0000 (15:47 +0000)]
doc/install.texi (Configuration): Remove obsolete paragraph
about use of --with-gnu-ld with --with-gnu-as.

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

15 years ago * include/std/thread (__thread_data_base::__run): Make non-const.
redi [Sun, 18 Jan 2009 12:38:10 +0000 (12:38 +0000)]
* include/std/thread (__thread_data_base::__run): Make non-const.
* testsuite/30_threads/thread/cons/5.cc: New.

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

15 years ago * Makefile.in (bitmap.o-warn): Remove goal.
bje [Sun, 18 Jan 2009 11:30:29 +0000 (11:30 +0000)]
* Makefile.in (bitmap.o-warn): Remove goal.

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

15 years ago * doc/extend.texi, doc/gimple.texi, doc/invoke.texi,
kazu [Sun, 18 Jan 2009 09:11:10 +0000 (09:11 +0000)]
* doc/extend.texi, doc/gimple.texi, doc/invoke.texi,
doc/md.texi, doc/sourcebuild.texi, doc/tm.texi: Fix typos.
Follow spelling conventions.

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

15 years ago * bitmap.c (bitmap_obstack_alloc_stat): Adjust cast to eliminate
bje [Sun, 18 Jan 2009 08:51:56 +0000 (08:51 +0000)]
* bitmap.c (bitmap_obstack_alloc_stat): Adjust cast to eliminate
C++ warning about implicit conversion from void * to struct
bitmap_head_def *.
(bitmap_obstack_free): Likewise for bitmap_element *.

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

15 years agoDaily bump.
gccadmin [Sun, 18 Jan 2009 00:16:46 +0000 (00:16 +0000)]
Daily bump.

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

15 years ago * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
bje [Sat, 17 Jan 2009 23:41:31 +0000 (23:41 +0000)]
* config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.

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

15 years ago * MAINTAINERS: Remove Robert Millan from Write After Approval.
gerald [Sat, 17 Jan 2009 22:36:37 +0000 (22:36 +0000)]
* MAINTAINERS: Remove Robert Millan from Write After Approval.

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

15 years ago * MAINTAINERS: Make whitespace consistent.
gerald [Sat, 17 Jan 2009 22:13:55 +0000 (22:13 +0000)]
* MAINTAINERS: Make whitespace consistent.

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

15 years ago PR bootstrap/38862
davek [Sat, 17 Jan 2009 21:06:17 +0000 (21:06 +0000)]
PR bootstrap/38862
* Makefile.in (BACKENDLIBS):  Reorder to match dependencies.

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

15 years ago2009-01-17 Sebastian Pop <sebastian.pop@amd.com>
spop [Sat, 17 Jan 2009 15:13:12 +0000 (15:13 +0000)]
2009-01-17  Sebastian Pop  <sebastian.pop@amd.com>
    Tobias Grosser  <tobi.grosser@amd.com>

* graphite.c (graphite_trans_scop_block): Do not block single
nested loops.

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

15 years ago2009-01-17 Richard Guenther <rguenther@suse.de>
rguenth [Sat, 17 Jan 2009 14:53:57 +0000 (14:53 +0000)]
2009-01-17  Richard Guenther  <rguenther@suse.de>

* gcc_release (JAVA_DIRS): Remove fastjar.

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

15 years ago2009-01-17 Paul Thomas <pault@gcc.gnu.org>
pault [Sat, 17 Jan 2009 11:58:48 +0000 (11:58 +0000)]
2009-01-17  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/38657
* module.c (write_common_0): Add argument 'this_module' and
check that non-use associated common blocks are written first.
(write_common): Call write_common_0 twice, once with true and
then with false.

2009-01-17  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/38657
* gfortran.dg/module_commons_3.f90: Reapply.

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

15 years ago2009-01-17 Paul Thomas <pault@gcc.gnu.org>
pault [Sat, 17 Jan 2009 11:32:02 +0000 (11:32 +0000)]
2009-01-17  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/34955
* trans-intrinsic.c (gfc_conv_intrinsic_array_transfer): Has
been absorbed into gfc_conv_intrinsic_transfer. All
references to it in trans-intrinsic.c have been changed
accordingly.  PR fixed by using a temporary for scalar
character transfer, when the source is shorter than the
destination.

2009-01-17  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/34955
* gfortran.dg/transfer_intrinsic_1.f90: New test.
* gfortran.dg/transfer_intrinsic_2.f90: New test.

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

15 years ago2009-01-17 Paul Thomas <pault@gcc.gnu.org>
pault [Sat, 17 Jan 2009 09:43:57 +0000 (09:43 +0000)]
2009-01-17  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/38657
* module.c (write_common_0): Revert patch of 2009-01-10.

2009-01-17  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/38657
* gfortran.dg/module_commons_3.f90: Remove

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

15 years ago2009-01-16 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Sat, 17 Jan 2009 02:03:25 +0000 (02:03 +0000)]
2009-01-16  Benjamin Kosnik  <bkoz@redhat.com>

* src/Makefile.am (sources): Add math_stubs_float.cc.
* src/Makefile.in: Regenerate.
* src/math_stubs_float.cc: New, from libmath/stubs.c.

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

15 years ago2009-01-16 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sat, 17 Jan 2009 01:31:44 +0000 (01:31 +0000)]
2009-01-16  H.J. Lu  <hongjiu.lu@intel.com>

* gcc.dg/tree-ssa/foldaddr-1.c: Add the missing '}'.

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

15 years agoDaily bump.
gccadmin [Sat, 17 Jan 2009 00:17:01 +0000 (00:17 +0000)]
Daily bump.

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

15 years ago PR c++/38877
jason [Fri, 16 Jan 2009 22:40:25 +0000 (22:40 +0000)]
    PR c++/38877
        * tree.c (lvalue_p_1): Allow non-fields in COMPONENT_REF.
        * init.c (build_new): Don't call describable_type unless we
        have an auto.

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

15 years ago * gcc-interface/Makefile.in: Fix multilib handling for
jakub [Fri, 16 Jan 2009 22:38:12 +0000 (22:38 +0000)]
* gcc-interface/Makefile.in: Fix multilib handling for
powerpc64-linux.

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

15 years ago PR c++/38877
jason [Fri, 16 Jan 2009 22:36:32 +0000 (22:36 +0000)]
    PR c++/38877
        * tree.c (lvalue_p_1): Allow non-fields in COMPONENT_REF.
        * init.c (build_new): Don't call describable_type unless we
        have an auto.

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

15 years ago PR c++/29470
jason [Fri, 16 Jan 2009 22:36:11 +0000 (22:36 +0000)]
    PR c++/29470
        * pt.c (tsubst_decl) [USING_DECL]: Propagate access flags.

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

15 years ago* ebitmap.h (ebitmap_iter_init): Initialize all fields.
aoliva [Fri, 16 Jan 2009 20:44:25 +0000 (20:44 +0000)]
* ebitmap.h (ebitmap_iter_init): Initialize all fields.
* ipa-struct-reorg.c (gen_struct_type): Replace known-true
test with assertion.

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

15 years ago2009-01-16 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 16 Jan 2009 19:18:18 +0000 (19:18 +0000)]
2009-01-16  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/38835
PR middle-end/36227
* fold-const.c (fold_binary): Remove PTR + INT -> (INT)(PTR p+ INT)
and INT + PTR -> (INT)(PTR p+ INT) folding.
* tree-ssa-address.c (create_mem_ref): Properly use POINTER_PLUS_EXPR.

java/
* builtins.c (build_addr_sum): Use POINTER_PLUS_EXPR.

* gcc.c-torture/execute/pr36227.c: New testcase.
* gcc.dg/tree-ssa/foldaddr-1.c: XFAIL.
* g++.dg/init/const7.C: Likewise.

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

15 years ago PR target/38554
nemet [Fri, 16 Jan 2009 18:56:47 +0000 (18:56 +0000)]
PR target/38554
* expmed.c (expand_shift): With SHIFT_COUNT_TRUNCATED, don't lift
the subreg from a lowpart subreg if it is also casting the value.

testsuite/
PR target/38554
* gcc.c-torture/compile/pr38554.c: New test.

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

15 years ago PR c++/38579
jason [Fri, 16 Jan 2009 18:35:28 +0000 (18:35 +0000)]
    PR c++/38579
        * search.c (protected_accessible_p): N doesn't vary.

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

15 years ago2009-01-16 Sebastian Pop <sebastian.pop@amd.com>
spop [Fri, 16 Jan 2009 15:20:16 +0000 (15:20 +0000)]
2009-01-16  Sebastian Pop  <sebastian.pop@amd.com>
    Tobias Grosser  <tobi.grosser@amd.com>

* graphite.c (compare_prefix_loops): New.
(build_scop_canonical_schedules): Rewritten.
(graphite_transform_loops): Move build_scop_canonical_schedules
after build_scop_iteration_domain.

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

15 years ago2009-01-16 Sebastian Pop <sebastian.pop@amd.com>
spop [Fri, 16 Jan 2009 15:18:28 +0000 (15:18 +0000)]
2009-01-16  Sebastian Pop  <sebastian.pop@amd.com>
    Tobias Grosser  <tobi.grosser@amd.com>

* graphite.c (add_conditions_to_domain): Add the loops to
the dimension of the iteration domain.  Do copy the domain
only when it exists.
(build_scop_conditions_1): Do not call add_conditions_to_domain.
(add_conditions_to_constraints): New.
(can_generate_code_stmt, can_generate_code): Removed.
(gloog): Do not call can_generate_code.
(graphite_transform_loops): Call add_conditions_to_constraints
after building the iteration domain.

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

15 years ago PR tree-optimization/38789
jakub [Fri, 16 Jan 2009 15:01:24 +0000 (15:01 +0000)]
PR tree-optimization/38789
* tree-ssa-threadedge.c
(record_temporary_equivalences_from_stmts_at_dest): Ignore calls to
__builtin_constant_p.

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

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

15 years ago2009-01-16 Kenneth Zadeck <zadeck@naturalbridge.com>
zadeck [Fri, 16 Jan 2009 13:41:11 +0000 (13:41 +0000)]
2009-01-16  Kenneth Zadeck <zadeck@naturalbridge.com>

* dce.c (delete_unmarked_insns): Reversed the order that insns are
examined before deleting them.

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

15 years ago * function.c (aggregate_value_p): Correctly extract the function
rearnsha [Fri, 16 Jan 2009 13:20:32 +0000 (13:20 +0000)]
* function.c (aggregate_value_p): Correctly extract the function
type from CALL_EXPR_FN lookup.

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

15 years ago2009-01-16 Janus Weil <janus@gcc.gnu.org>
janus [Fri, 16 Jan 2009 12:03:51 +0000 (12:03 +0000)]
2009-01-16  Janus Weil  <janus@gcc.gnu.org>

PR fortran/38152
* expr.c (gfc_check_pointer_assign): Allow use-associated procedure
pointers as lvalue.
* trans-decl.c (get_proc_pointer_decl,gfc_create_module_variable):
Enable procedure pointers as module variables.

2009-01-16  Janus Weil  <janus@gcc.gnu.org>

PR fortran/38152
* gfortran.dg/proc_ptr_13.f90: New.

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

15 years ago * config/picochip/picochip.c (picochip_override_options): Revert
hariharans [Fri, 16 Jan 2009 09:56:23 +0000 (09:56 +0000)]
    * config/picochip/picochip.c (picochip_override_options): Revert
          CFI asm flag disable commited previously.

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

15 years ago * Makefile.def (configure-opcodes): Depend on configure-libiberty.
amodra [Fri, 16 Jan 2009 08:07:23 +0000 (08:07 +0000)]
* Makefile.def (configure-opcodes): Depend on configure-libiberty.
(all-opcodes): Depend on all-libiberty.
* Makefile.in: Regenerate.

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

15 years ago PR c++/38850
jason [Fri, 16 Jan 2009 05:04:26 +0000 (05:04 +0000)]
    PR c++/38850
        * pt.c (tsubst_copy_and_build): Tell finish_call_expr to
        accept hidden friends.

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

15 years ago * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
bje [Fri, 16 Jan 2009 04:00:48 +0000 (04:00 +0000)]
* config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
to tmake_file.

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

15 years ago2009-01-15 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 16 Jan 2009 02:55:11 +0000 (02:55 +0000)]
2009-01-15  Benjamin Kosnik  <bkoz@redhat.com>

* src/Makefile.am (sources): Add math_stubs_long_double.cc.
* src/Makefile.in: Regenerate.
* src/math_stubs_long_double.cc: New, from libmath/stubs.c.

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

15 years agoDaily bump.
gccadmin [Fri, 16 Jan 2009 00:17:14 +0000 (00:17 +0000)]
Daily bump.

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

15 years ago2009-01-15 Sebastian Pop <sebastian.pop@amd.com>
spop [Thu, 15 Jan 2009 23:23:48 +0000 (23:23 +0000)]
2009-01-15  Sebastian Pop  <sebastian.pop@amd.com>
    Tobias Grosser  <tobi.grosser@amd.com>
    Jan Sjodin  <jan.sjodin@amd.com>

* graphite.c (scan_tree_for_params): On substractions negate
all the coefficients of the term.
(clast_to_gcc_expression_red): New.  Handle reduction expressions
of more than two operands.
(clast_to_gcc_expression): Call clast_to_gcc_expression_red.
(get_vdef_before_scop): Handle also the case of default definitions.

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

15 years ago2009-01-15 Andrew Pinski <andrew_pinski@playstation.sony.com>
pinskia [Thu, 15 Jan 2009 22:10:24 +0000 (22:10 +0000)]
2009-01-15  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR C++/29388
        * decl.c (grokdeclarator): Check for a non namespace/class context.

2009-01-15  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR C++/29388
        * g++.dg/template/error37.C: New testcase.

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

15 years agogcc/
rsandifo [Thu, 15 Jan 2009 21:22:32 +0000 (21:22 +0000)]
gcc/
* caller-save.c (add_used_regs_1, add_used_regs): New functions.
(insert_one_insn): Use them instead of REG_DEAD and REG_INC notes.
Also use them when walking CALL_INSN_FUNCTION_USAGE.

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

15 years ago2009-01-15 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 15 Jan 2009 20:02:11 +0000 (20:02 +0000)]
2009-01-15  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/32666
* config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update.

2009-01-15  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/32666
* Makefile.am (hosted_source): Remove libmath directory.
* Makefile.in: Regenerate.
* linkage.m4 (GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT): Remove.
(AC_REPLACE_MATHFUNCS): Remove.
(GLIBCXX_CHECK_MATH_SUPPORT): Remove copysign, copysignl checks as done
in GLIBCXX_CHECK_C99_TR1.
* acinclude.m4: Remove libmath, need_math.
* crossconfig.m4: Remove use of HAVE_COPYSIGN, HAVE_COPYSIGNL,
HAVE_COPYSIGNF, GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT, need_libmath.
* configure.ac: Same.
* configure: Regenerate.
* fragment.am: Fix comment.
* config.h.in: Regenerate.
* src/Makefile.in: Regenerate.
* src/Makefile.am: Remove libmath references.
* doc/Makefile.in: Regenerate.
* po/Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
* libsupc++/Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.

* src/compatibility.cc: Also export long double versions of "C" math
library if hppa-linux.
* config/abi/pre/gnu.ver: Remove unused __signbit exports.
* doc/xml/manual/appendix_contributing.xml: Remove libmath reference.

* libmath: Remove.
* libmath/signbit.c: Same.
* libmath/stubs.c: Same.
* libmath/Makefile.in: Same.
* libmath/copysignf.c: Same.
* libmath/mathconf.h: Same.
* libmath/signbitf.c: Same.
* libmath/Makefile.am: Same.
* libmath/signbitl.c: Same.

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

15 years ago PR c++/36334
jason [Thu, 15 Jan 2009 18:14:32 +0000 (18:14 +0000)]
    PR c++/36334
        PR c++/37646
        * tree.c (lvalue_p_1): Handle BASELINK.  A COMPONENT_REF to
        a function isn't necessarily an lvalue. Take tree, not const_tree.
        (lvalue_p, real_lvalue_p): Take tree, not const_tree.
        * typeck.c (lvalue_or_else): Likewise.
        * cp-tree.h: Adjust prototypes.

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

15 years ago PR c++/38357
sje [Thu, 15 Jan 2009 18:09:04 +0000 (18:09 +0000)]
PR c++/38357
* g++.dg/template/crash87.C: New test.

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

15 years ago PR c++/38357
sje [Thu, 15 Jan 2009 18:07:46 +0000 (18:07 +0000)]
PR c++/38357
* pt.c (tsubst): Check for NULL args.

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

15 years agogcc/
hjl [Thu, 15 Jan 2009 15:44:41 +0000 (15:44 +0000)]
gcc/

2009-01-15  H.J. Lu  <hongjiu.lu@intel.com>
    Joey Ye  <joey.ye@intel.com>

PR middle-end/37843
* cfgexpand.c (expand_stack_alignment): Don't update stack
boundary nor check incoming stack boundary here.
(gimple_expand_cfg): Update stack boundary and check incoming
stack boundary here.

gcc/testsuite/

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

PR middle-end/37843
* gcc.target/i386/pr37843-3.c: Replace _Decimal128 with __m128.

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

15 years ago2009-01-15 Kenneth Zadeck <zadeck@naturalbridge.com>
zadeck [Thu, 15 Jan 2009 15:27:20 +0000 (15:27 +0000)]
2009-01-15  Kenneth Zadeck <zadeck@naturalbridge.com>

* dce.c (find_call_stack_args, delete_unmarked_insns): Fixed
comments.

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

15 years ago2009-01-15 Chris Fairles <cfairles@gcc.gnu.org>
paolo [Thu, 15 Jan 2009 14:01:04 +0000 (14:01 +0000)]
2009-01-15  Chris Fairles  <cfairles@gcc.gnu.org>
    Paolo Carlini  <paolo.carlini@oracle.com>

* acinclude.m4 ([GLIBCXX_ENABLE_CLOCK_GETTIME],
[GLIBCXX_CHECK_NANOSLEEP]): Remove.
([GLIBCXX_ENABLE_LIBSTDCXX_TIME]): Add.
* configure.ac: Adjust.
* doc/xml/manual/configure.xml: Update.
* testsuite/lib/libstdc++.exp (check_v3_target_sched_yield): Add.
* testsuite/lib/dg-options.exp (dg-require-sched-yield): Add.
* testsuite/30_threads/thread/this_thread/2.cc: Use the latter.
* configure: Regenerate.
* config.h.in: Likewise.

* src/thread.cc (thread::thread(), thread::~thread, thread::get_id,
thread::joinable, thread::swap, this_thread::get_id,
this_thread::yield): Define inline...
* include/std/thread: ... here.
* config/abi/pre/gnu.ver: Adjust.

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

15 years ago* configure.ac (ia64*-*-*vms*): Add case with no gdb or ld support.
nickc [Thu, 15 Jan 2009 13:14:16 +0000 (13:14 +0000)]
* configure.ac (ia64*-*-*vms*): Add case with no gdb or ld support.
* configure: Regenerate.

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

15 years agogcc/cp/ChangeLog:
dodji [Thu, 15 Jan 2009 13:01:36 +0000 (13:01 +0000)]
gcc/cp/ChangeLog:
2009-01-13  Dodji Seketeli  <dodji@redhat.com>

PR c++/38636
* name-lookup.c (pushtag): Don't create members to types that are not
being created.

gcc/testsuite/ChangeLog:
2009-01-13  Dodji Seketeli  <dodji@redhat.com>

PR c++/38636
* g++.dg/parse/crash50.C: New test.

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

15 years ago PR rtl-optimization/38245
jakub [Thu, 15 Jan 2009 08:07:38 +0000 (08:07 +0000)]
PR rtl-optimization/38245
* calls.c (expand_call): Add stack arguments to
CALL_INSN_FUNCTION_USAGE even for pure calls (when
ACCUMULATE_OUTGOING_ARGS) and even for args partially passed
in regs and partially in memory or BLKmode arguments.
(emit_library_call_value_1): Add stack arguments to
CALL_INSN_FUNCTION_USAGE even for pure calls (when
ACCUMULATE_OUTGOING_ARGS).
* dce.c: Include tm_p.h.
(find_call_stack_args): New function.
(deletable_insn_p): Call it for CALL_P insns.  Add ARG_STORES
argument.
(mark_insn): Call find_call_stack_args for CALL_Ps.
(prescan_insns_for_dce): Walk insns backwards in bb rather than
forwards.  Allocate and free arg_stores bitmap if needed, pass it
down to deletable_insn_p, don't mark stores set in arg_stores
bitmap, clear the bitmap at the beginning of each bb.
* Makefile.in (dce.o): Depend on $(TM_P_H).

* gcc.dg/pr38245-3.c: New test.
* gcc.dg/pr38245-3.h: New file.
* gcc.dg/pr38245-4.c: New file.
* gcc.dg/pr38364.c: New test.

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

15 years agoFix PR22599
meissner [Wed, 14 Jan 2009 22:40:34 +0000 (22:40 +0000)]
Fix PR22599

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

15 years ago2009-01-14 Steven G. Kargl <kargl@gcc.gnu.org>
kargl [Wed, 14 Jan 2009 21:22:53 +0000 (21:22 +0000)]
2009-01-14  Steven G. Kargl  <kargl@gcc.gnu.org>

        * ChangeLog-2007: Clean out svn merge droppings.

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

15 years ago2009-01-14 Sebastian Pop <sebastian.pop@amd.com>
spop [Wed, 14 Jan 2009 21:11:05 +0000 (21:11 +0000)]
2009-01-14  Sebastian Pop  <sebastian.pop@amd.com>

PR middle-end/38431
* graphite.c (get_vdef_before_scop, scop_adjust_vphi): New.
(scop_adjust_phis_for_liveouts): Call scop_adjust_vphi.
(gloog): Do not call cleanup_tree_cfg.
(graphite_transform_loops): Call cleanup_tree_cfg after all
scops have been code generated.

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

15 years ago * gcc.target/mips/mips.exp (mips_option_tests(-mips16)): Make the
nemet [Wed, 14 Jan 2009 19:46:38 +0000 (19:46 +0000)]
* gcc.target/mips/mips.exp (mips_option_tests(-mips16)): Make the
sequence PC-relative.

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

15 years ago * gcc.target/arm/long-calls-1.c: Tolerate the lack of sibling
froydnj [Wed, 14 Jan 2009 19:37:02 +0000 (19:37 +0000)]
* gcc.target/arm/long-calls-1.c: Tolerate the lack of sibling
calls and/or PLT markers.
* gcc.target/arm/long-calls-2.c: Tolerate the lack of sibling
calls and/or PLT markers.
* gcc.target/arm/long-calls-3.c: Tolerate the lack of sibling
calls and/or PLT markers.
* gcc.target/arm/long-calls-4.c: Tolerate the lack of sibling
calls and/or PLT markers.

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

15 years agoFix non-UTF-8 sequence in ChangeLog-2006 and left-over
jakub [Wed, 14 Jan 2009 18:57:55 +0000 (18:57 +0000)]
Fix non-UTF-8 sequence in ChangeLog-2006 and left-over
conflict marker in testsuite/ChangeLog-2008.

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

15 years ago * lib/target-supports.exp (check_effective_target_powerpc_spe_nocache):
froydnj [Wed, 14 Jan 2009 17:58:13 +0000 (17:58 +0000)]
* lib/target-supports.exp (check_effective_target_powerpc_spe_nocache):
New function.
* gcc.target/powerpc/20030218-1.c: Skip if not powerpc_spe_nocache
and use consistent CFLAGS.
* gcc.target/powerpc/20030505.c: Likewise.
* gcc.target/powerpc/20081204-1.c: Likewise.
* gcc.target/powerpc/ppc-spe.c: Likewise.
* gcc.target/powerpc/spe1.c: Likewise.
* g++.dg/ext/spe1.C: Likewise.
* g++.dg/other/opaque-1.C: Likewise.
* g++.dg/other/opaque-2.C: Likewise.
* g++.dg/other/opaque-3.C: Likewise.

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

15 years ago * gcc.dg/vect/vect-105.c: Prevent compiler from hoisting abort
froydnj [Wed, 14 Jan 2009 17:54:07 +0000 (17:54 +0000)]
* gcc.dg/vect/vect-105.c: Prevent compiler from hoisting abort
out of loop.

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

15 years ago2009-01-14 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Wed, 14 Jan 2009 17:33:48 +0000 (17:33 +0000)]
2009-01-14  Vladimir Makarov  <vmakarov@redhat.com>

* testsuite/g++.dg/torture/pr38811.C: New file.

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

15 years ago2009-01-14 Basile Starynkevitch <basile@starynkevitch.net>
bstarynk [Wed, 14 Jan 2009 17:08:47 +0000 (17:08 +0000)]
2009-01-14  Basile Starynkevitch  <basile@starynkevitch.net>
* doc/gty.texi (Invoking the garbage collector): Added new node
and section documenting ggc_collect.

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

15 years ago2009-01-14 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 14 Jan 2009 16:45:22 +0000 (16:45 +0000)]
2009-01-14  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/38826
PR middle-end/38477
* tree-ssa-structalias.c (emit_alias_warning): Emit the pointer
initialization notes only if we actually emitted a warning.
(intra_create_variable_infos): Add constraints for a result decl
that is passed by hidden reference.
(build_pred_graph): Mark all related variables non-direct on
address-taking.

* gcc.dg/Wstrict-aliasing-bogus-pta-1.c: New testcase.

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

15 years ago2009-01-13 Sebastian Pop <sebastian.pop@amd.com>
spop [Wed, 14 Jan 2009 15:29:39 +0000 (15:29 +0000)]
2009-01-13  Sebastian Pop  <sebastian.pop@amd.com>

* gcc.dg/graphite/pr38786.c: Fix commit problem.

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

15 years agooops - omitted from previous delta
nickc [Wed, 14 Jan 2009 13:04:25 +0000 (13:04 +0000)]
oops - omitted from previous delta

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

15 years ago PR c++/37862
nickc [Wed, 14 Jan 2009 13:00:21 +0000 (13:00 +0000)]
    PR c++/37862
        * parser.c: Pass cp_id_kind computed in
        cp_parser_postfix_dot_deref_expression to
        cp_parser_primary_expression.

        * g++.cp/parse/pr37862.C: New test.

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

15 years ago2009-01-12 Ramana Radhakrishnan <ramana.r@gmail.com>
ramana [Wed, 14 Jan 2009 12:49:05 +0000 (12:49 +0000)]
2009-01-12  Ramana Radhakrishnan  <ramana.r@gmail.com>

* MAINTAINERS (Write After Approval): Add myself.

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

15 years ago * ira-conflicts.c: Include addresses.h for the definition of
nickc [Wed, 14 Jan 2009 11:28:01 +0000 (11:28 +0000)]
    * ira-conflicts.c: Include addresses.h for the definition of
        base_reg_class.
        (ira_build_conflicts): Use base_reg_class instead of
        BASE_REG_CLASS.
        * Makefile.in: Add a dependency of ira-conflicts.o on
        addresses.h.

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

15 years ago2009-01-13 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Wed, 14 Jan 2009 03:35:35 +0000 (03:35 +0000)]
2009-01-13  Vladimir Makarov  <vmakarov@redhat.com>

PR target/38811
* Makefile.in (ira-lives.o): Add except.h.

* ira-lives.c: Include except.h.
(process_bb_node_lives): Process can_throw_internal.

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

15 years ago2009-01-14 Julian Brown <julian@codesourcery.com>
jsm28 [Wed, 14 Jan 2009 01:44:39 +0000 (01:44 +0000)]
2009-01-14  Julian Brown  <julian@codesourcery.com>

* gcc.target/arm/eabi1.c (__eabi_uread4, __eabi_uwrite4)
(__eabi_uread8, __eabi_uwrite8): Change spellings of declarations
to...
(__aeabi_uread4, __aeabi_uwrite4, __aeabi_uread8, __aeabi_uwrite8):
These.

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

15 years agoDaily bump.
gccadmin [Wed, 14 Jan 2009 00:17:02 +0000 (00:17 +0000)]
Daily bump.

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

15 years ago PR rtl-optimization/38774
jakub [Tue, 13 Jan 2009 22:36:06 +0000 (22:36 +0000)]
PR rtl-optimization/38774
* combine.c (simplify_set): When undoing cc_use change, don't do
PUT_CODE on the newly created comparison, but instead put back the
old comparison.

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

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

15 years ago * doc/invoke.texi (ARM Options): Update lists of -mcpu and -march
jsm28 [Tue, 13 Jan 2009 21:18:50 +0000 (21:18 +0000)]
* doc/invoke.texi (ARM Options): Update lists of -mcpu and -march
values.  Remove duplicate arm8 entry.

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

15 years ago PR c++/38795
jakub [Tue, 13 Jan 2009 18:11:50 +0000 (18:11 +0000)]
PR c++/38795
* tree.c (cp_walk_subtrees): Handle REINTERPRET_CAST_EXPR,
STATIC_CAST_EXPR, CONST_CAST_EXPR and DYNAMIC_CAST_EXPR the same
as CAST_EXPR.

* g++.dg/cpp0x/pr38795.C: New test.

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

15 years ago * gcc.target/powerpc/altivec-consts.c: Run if vmx_hw, compile
froydnj [Tue, 13 Jan 2009 17:52:32 +0000 (17:52 +0000)]
* gcc.target/powerpc/altivec-consts.c: Run if vmx_hw, compile
otherwise.  Do not check for AltiVec at runtime.
* gcc.target/powerpc/altivec-varargs-1.c: Likewise.
* gcc.target/powerpc/altivec-vec-merge.c: Likewise.
* gcc.target/powerpc/altivec-1.c: Likewise.
* gcc.target/powerpc/altivec-3.c: Likewise.
* gcc.target/powerpc/altivec-10.c: Likewise.
* gcc.target/powerpc/altivec-12.c: Likewise.
* gcc.target/powerpc/altivec-24.c: Likewise.
* gcc.target/powerpc/altivec-cell-2.c: Likewise.
* gcc.target/powerpc/altivec-cell-3.c: Likewise.
* gcc.target/powerpc/altivec-cell-4.c: Likewise.
* gcc.target/powerpc/pr35907.c: Likewise.
* gcc.target/powerpc/altivec-cell-8.c: Run if cell_hw, compile
otherwise.  Do not check for Cell at runtime.
* gcc.target/powerpc/altivec_check.h: Delete.

* g++.dg/ext/altivec-2.C: Do not check for AltiVec at runtime.
* g++.dg/ext/altivec-3.C: Run if vmx_hw, compile otherwise.  Do
not check for AltiVec at runtime.
* g++.dg/ext/altivec-cell-2.C: Likewise.
* g++.dg/ext/altivec-cell-3.C: Likewise.
* g++.dg/ext/altivec-cell-4.C: Likewise.
* g++.dg/eh/simd-2.C: Only use -maltivec if vmx_hw.
* g++.dg/eh/check-vect.h (sig_ill_handler): Remove AltiVec runtime
check.
* g++.dg/ext/altivec_check.h: Delete.

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

15 years ago * gcc.target/powerpc/altivec-macros.c: Require a powerpc_altivec_ok
froydnj [Tue, 13 Jan 2009 17:50:39 +0000 (17:50 +0000)]
* gcc.target/powerpc/altivec-macros.c: Require a powerpc_altivec_ok
effective target.  Adjust line numbers accordingly.

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

15 years ago2009-01-13 Mark Mitchell <mark@codesourcery.com>
jsm28 [Tue, 13 Jan 2009 16:48:26 +0000 (16:48 +0000)]
2009-01-13  Mark Mitchell  <mark@codesourcery.com>

* gcc.target/i386/sse-10.c: Pass -mno-omit-leaf-frame-pointer.

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

15 years ago2009-01-13 Sebastian Pop <sebastian.pop@amd.com>
spop [Tue, 13 Jan 2009 15:33:13 +0000 (15:33 +0000)]
2009-01-13  Sebastian Pop  <sebastian.pop@amd.com>

PR tree-optimization/38786
* gcc.dg/graphite/pr38786.c: New.
* graphite.c (expand_scalar_variables_ssa_name): New, outlined from
the SSA_NAME case of expand_scalar_variables_expr.
Set the type of an expression to the type of its assign statement.
(expand_scalar_variables_expr): Also gather the scalar computation
used to index the memory access.  Do not pass loop_p.
Fix comment.  Stop recursion on tcc_constant or tcc_declaration.
(expand_scalar_variables_stmt): Pass to expand_scalar_variables_expr
the gimple_stmt_iterator where it inserts new code.  Do not pass loop_p.
(copy_bb_and_scalar_dependences): Do not pass loop_p.
(translate_clast): Update call to copy_bb_and_scalar_dependences.

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

15 years ago2009-01-13 Sebastian Pop <sebastian.pop@amd.com>
spop [Tue, 13 Jan 2009 15:27:09 +0000 (15:27 +0000)]
2009-01-13  Sebastian Pop  <sebastian.pop@amd.com>

* graphite.h (debug_value): Removed.
* graphite.c (debug_value): Removed.

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

15 years ago * arm.c (output_move_double): Don't synthesize thumb-2 ldrd/strd with
rearnsha [Tue, 13 Jan 2009 14:31:56 +0000 (14:31 +0000)]
* arm.c (output_move_double): Don't synthesize thumb-2 ldrd/strd with
two 32-bit instructions.

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

15 years ago * arm.c (struct processors): Pass for speed down into cost helper
rearnsha [Tue, 13 Jan 2009 14:09:50 +0000 (14:09 +0000)]
* arm.c (struct processors): Pass for speed down into cost helper
functions.
(const_ok_for_op): Handle COMPARE and inequality nodes.
(arm_rtx_costs_1): Rewrite.
(arm_size_rtx_costs): Update prototype.
(arm_rtx_costs): Pass speed down to helper functions.
(arm_slowmul_rtx_costs): Rework cost calculations.
(arm_fastmul_rtx_costs, arm_xscale_rtx_costs): Likewise.
(arm_9e_rtx_costs): Likewise.

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