OSDN Git Service

pf3gnuchains/gcc-fork.git
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

10 years ago PR 43305
matz [Fri, 19 Mar 2010 12:37:28 +0000 (12:37 +0000)]
PR 43305
* builtins.c (expand_builtin_interclass_mathfn,
expand_builtin_signbit): Use maybe_emit_unop_insn, emit libcalls
if that fails.

testsuite/
* gcc.dg/pr43305.c: New testcase.

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

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

* include/bits/random.tcc: Minor formatting changes.

2010-03-19  Paolo Carlini  <paolo.carlini@oracle.com>

* include/bits/stl_algo.h (shuffle): Fix typo in signature.
* include/bits/algorithmfwd.h: Adjust.
* testsuite/25_algorithms/shuffle/requirements/
explicit_instantiation/2.cc: Likewise.
* testsuite/25_algorithms/shuffle/requirements/
explicit_instantiation/pod.cc: Likewise.

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

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

* include/bits/stl_algo.h (shuffle): Add, per D3056.
(random_shuffle): Fix signature in C++0x mode.
(lower_bound, __lg): Move...
* include/bits/stl_algobase.h: ... here.
* include/bits/algorithmfwd.h: Adjust.
* include/parallel/algorithmfwd.h: Likewise.
* include/parallel/algo.h: Likewise.
* include/bits/hashtable_policy.h (__lower_bound): Remove,
adjust callers.
* include/tr1/hashtable_policy.h (__lower_bound): Likewise.
* include/bits/random.tcc (__detail::__transform): Add,
adjust std::transform callers; don't include <algorithm>.
* testsuite/25_algorithms/shuffle/1.cc: Add.
* testsuite/25_algorithms/shuffle/requirements/
explicit_instantiation/2.cc: Likewise.
* testsuite/25_algorithms/shuffle/requirements/
explicit_instantiation/pod.cc: Likewise.

* include/bits/random.h: Add comments.

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

10 years ago PR ada/42554
mrs [Fri, 19 Mar 2010 10:19:52 +0000 (10:19 +0000)]
PR ada/42554
* configure.ac: Only pass -c to ranlib for darwin9 and earlier.
* configure: Regenerate.

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

10 years ago2010-03-19 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 19 Mar 2010 10:18:25 +0000 (10:18 +0000)]
2010-03-19  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/43415
* tree-ssa-pre.c (phi_translate): Split out worker to ...
(phi_translate_1): ... this.
(phi_translate): Move all caching here.  Cache all NARY
and REFERENCE translations.

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

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

10 years agoUpdate dates.
mrs [Fri, 19 Mar 2010 09:22:38 +0000 (09:22 +0000)]
Update dates.

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

10 years agoCanonicalize filenames.
mrs [Fri, 19 Mar 2010 09:19:45 +0000 (09:19 +0000)]
Canonicalize filenames.

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

10 years ago PR ada/43106
ebotcazou [Fri, 19 Mar 2010 07:18:47 +0000 (07:18 +0000)]
PR ada/43106
* gnat.dg/case_optimization2.adb: New test.
* gnat.dg/case_optimization_pkg2.ad[sb]: New helper.

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

10 years ago * config/sparc/sparc.c: Include dwarf2out.h.
davem [Fri, 19 Mar 2010 05:34:12 +0000 (05:34 +0000)]
* config/sparc/sparc.c: Include dwarf2out.h.
(emit_pic_helper): Delete.
(pic_helper_symbol_name): Delete.
(pic_helper_emitted_p): Delete.
(pic_helper_needed): New.
(USE_HIDDEN_LINKONCE): Define to '1' if HAVE_GAS_HIDDEN else '0'.
(get_pc_thunk_name): New.
(load_pic_register): Remove 'delay_pic_helper' arg.  Use
get_thunk_pc_name and ggc_strdup to generate PIC thunk symbol.
Set pic_helper_needed to true.  Don't call emit_pic_helper.
(sparc_expand_prologue): Update load_pic_register call.
(sparc_output_mi_thunk): Likewise.
(sparc_file_end): Emit a hidden comdat symbol for the PIC
thunk if possible.  Output CFI information as needed.

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

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

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

10 years ago2010-03-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
mrs [Thu, 18 Mar 2010 22:56:38 +0000 (22:56 +0000)]
2010-03-11  Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
    Jack Howarth <howarth@bromo.med.uc.edu>

PR target/36399
* gcc/config/i386/i386.h: Fix ABI on darwin x86-32.
* gcc/testsuite/gcc.target/i386/push-1.c: Don't xfail
  scan-assembler-not "movups" on darwin.

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

10 years ago2010-03-18 Paul Thomas <pault@gcc.gnu.org>
pault [Thu, 18 Mar 2010 21:23:35 +0000 (21:23 +0000)]
2010-03-18  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/43039
        * trans-expr.c (conv_parent_component_references): Ensure that
'dt' has a backend_decl.

        PR fortran/43043
        * trans-expr.c (gfc_conv_structure): Ensure that the derived
type has a backend_decl.

        PR fortran/43044
        * resolve.c (resolve_global_procedure): Check that the 'cl'
structure is not NULL.

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

10 years ago * tree.h: Declare make_decl_rtl_for_debug.
aldyh [Thu, 18 Mar 2010 20:41:40 +0000 (20:41 +0000)]
* tree.h: Declare make_decl_rtl_for_debug.
* varasm.c (make_decl_rtl_for_debug): New.
* dwarf2out.c (rtl_for_decl_location): Call it.
* cfgexpand.c (expand_debug_expr): Call it.

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

10 years ago PR bootstrap/43399
jakub [Thu, 18 Mar 2010 20:18:53 +0000 (20:18 +0000)]
PR bootstrap/43399
* var-tracking.c (adjust_mems) <case POST_MODIFY>: Allow BLKmode
mem_mode.

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

10 years ago PR bootstrap/43403
jakub [Thu, 18 Mar 2010 20:17:32 +0000 (20:17 +0000)]
PR bootstrap/43403
* var-tracking.c (vt_init_cfa_base): Do nothing if
cfa_base_rtx would be hard_frame_pointer_rtx or non-fixed
register.

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

10 years ago PR debug/42873
jakub [Thu, 18 Mar 2010 20:16:48 +0000 (20:16 +0000)]
PR debug/42873
* var-tracking.c (canonicalize_vars_star): New.
(dataflow_post_merge_adjust): Use it.

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

10 years ago PR debug/43058
jakub [Thu, 18 Mar 2010 20:15:05 +0000 (20:15 +0000)]
PR debug/43058
* var-tracking.c (non_suitable_const): New function.
(add_uses): For DEBUG_INSNs with constants, don't record any
value, instead just the constant value itself.
(compute_bb_dataflow) <case MO_VAL_LOC>: If PAT_VAR_LOCATION_LOC
is not VAR_LOC_UNKNOWN_P, set var to the constant.
(emit_notes_in_bb): Likewise.
(emit_note_insn_var_location): For onepart variables if
cur_loc is a VOIDmode constant, use DECL_MODE.

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

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

10 years ago2010-03-18 Martin Jambor <mjambor@suse.cz>
jamborm [Thu, 18 Mar 2010 20:07:13 +0000 (20:07 +0000)]
2010-03-18  Martin Jambor  <mjambor@suse.cz>

PR middle-end/42450
* cgraph.h (cgraph_redirect_edge_call_stmt_to_callee): Declare.
* cgraphunit.c (cgraph_materialize_all_clones): Update calls in
all non-clones.  Moved call redirection...
(cgraph_redirect_edge_call_stmt_to_callee): ...to this new
function.
(cgraph_materialize_all_clones): Dispose of all
combined_args_to_skip bitmaps.
(verify_cgraph_node): Do not check for edges pointing to wrong
nodes in inline clones.
* tree-inline.c (copy_bb): Call
cgraph_redirect_edge_call_stmt_to_callee.
* ipa.c (cgraph_remove_unreachable_nodes): Call
cgraph_node_remove_callees even when there are used clones.

* testsuite/g++.dg/torture/pr42450.C: New test.

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

10 years agoMake GCC_4.5.0 inherit GCC_4.4.0.
hjl [Thu, 18 Mar 2010 19:42:19 +0000 (19:42 +0000)]
Make GCC_4.5.0 inherit GCC_4.4.0.

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

* config/i386/libgcc-glibc.ver: Make GCC_4.5.0 inherit GCC_4.4.0.

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

10 years agoExport __extendxftf2 to GCC_4.5.0 for 32bit libgcc.
hjl [Thu, 18 Mar 2010 18:12:31 +0000 (18:12 +0000)]
Export __extendxftf2 to GCC_4.5.0 for 32bit libgcc.

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

PR target/43383
* config/i386/libgcc-glibc.ver: Add __extendxftf2 to GCC_4.5.0
for 32bit.

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

10 years ago PR middle-end/43419
matz [Thu, 18 Mar 2010 16:07:53 +0000 (16:07 +0000)]
PR middle-end/43419
* builtins.c (expand_builtin_pow): Don't transform pow(x, 0.5)
into sqrt(x) if we need to preserve signed zeros.

testsuite/
* gcc.dg/pr43419.c: New testcase.

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

10 years agoRemove the REG_EQUAL note if we don't know its invariant status.
hjl [Thu, 18 Mar 2010 13:10:49 +0000 (13:10 +0000)]
Remove the REG_EQUAL note if we don't know its invariant status.

gcc/

2010-03-18  Steven Bosscher  <steven@gcc.gnu.org>
    Eric Botcazou  <ebotcazou@adacore.com>

PR rtl-optimization/43360
* loop-invariant.c (move_invariant_reg): Remove the REG_EQUAL
note if we don't know its invariant status.

gcc/testsuite/

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

PR rtl-optimization/43360
* gcc.dg/torture/pr43360.c: New.

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

10 years ago PR tree-optimization/43402
matz [Thu, 18 Mar 2010 12:20:50 +0000 (12:20 +0000)]
PR tree-optimization/43402
* tree-cfgcleanup.c (cleanup_control_expr_graph): Don't follow
PHI chains of ssa names registered for update.

testsuite/
* gcc.dg/pr43402.c: New testcase.

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

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

PR c++/43418
* parser.c (cp_parser_for_init_statement): Use NULL_TREE, not
false, in the cp_parser_expression_statement call.

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

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

* io/transfer.c (read_sf_internal): Remove stray function declaration
used during debigging.

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

10 years agogcc/
bergner [Thu, 18 Mar 2010 03:10:04 +0000 (03:10 +0000)]
gcc/
PR target/42427
* config/rs6000/rs6000.c (rs6000_split_multireg_move): Add support for
non-offsettable and pre_modify update addressing.
* config/rs6000/dfp.md (*movdd_hardfloat32): Make the "0", "1"
and "2" alternatives "#".
(*movdd_softfloat32): Make all alternatives "#";
* config/rs6000/rs6000.md (DIFD): New define_mode_iterator.
(*movdf_hardfloat32): Make the "0", "1" and "2" alternatives "#".
(*movdf_softfloat32): Make all alternatives "#";
(movdi): Use the new DIFD mode iterator to create a common splitter
for movdi, movdf and movdd patterns.

gcc/testsuite/
PR target/42427
* gcc.dg/pr42427.c: New test.

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

10 years agogcc/
pzhao [Thu, 18 Mar 2010 03:01:09 +0000 (03:01 +0000)]
gcc/
2010-03-18  Shujing Zhao  <pearly.zhao@oracle.com>

        * common.opt (dumpdir): Remove redundant tab.

gcc/fortran
2010-03-18  Shujing Zhao  <pearly.zhao@oracle.com>

        * lang.opt (-ffixed-line-length-, ffree-line-length-): Remove
        redundant tab.

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

10 years ago2010-03-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Thu, 18 Mar 2010 02:43:10 +0000 (02:43 +0000)]
2010-03-17  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/43265
*gfortran.dg/read_empty_file.f: New test.
*gfortran.dg/read_eof_all.f90: New test.
*gfortran.dg/namelist_27.f90: Eliminate infinite loop posibility.
*gfortran.dg/namelist_28.f90: Eliminate infinite loop posibility.

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

10 years ago2010-03-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Thu, 18 Mar 2010 02:38:17 +0000 (02:38 +0000)]
2010-03-17  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/43265
* io/io.h: Delete prototype for read_sf, making it static.
* io/read.c (read_x): Modify to call hit_eof if PAD="no".
* io/transfer.c (read_sf_internal): New static function extracted from
read_sf for use on internal units only. Handle empty string case.
(read_sf): New factoring of this function, make it static.  Add special
conditions for EOF based on ADVANCE="no", PAD="no", and whether any
bytes have been previously read from the record.
(read_block_form): Modify to call read_sf or read_sf_internal.
(next_record_r): Add a done flag similar to next_record_w. Call hit_eof
if internal array unit next record returns finished, meaning an EOF was
found and not done, ie not the last record expected.  For external
units call hit_eof if item_count is 1 or there are no pending spaces.
(next_record): Update call to next_record_r.

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

10 years agoUpdate my mail address.
ramana [Thu, 18 Mar 2010 00:47:13 +0000 (00:47 +0000)]
Update my mail address.

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

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

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

10 years agoRemove emails of people no longer with AMD.
spop [Wed, 17 Mar 2010 20:26:26 +0000 (20:26 +0000)]
Remove emails of people no longer with AMD.

2010-03-17  Sebastian Pop  <sebastian.pop@amd.com>

* MAINTAINERS (dwarak.rajagopal@amd.com): Removed.
(ghassan.shobaki@amd.com): Removed.

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

10 years ago2010-03-17 Martin Jambor <mjambor@suse.cz>
jamborm [Wed, 17 Mar 2010 12:02:35 +0000 (12:02 +0000)]
2010-03-17  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/43347
* tree-sra.c (create_access_replacement): Set TREE_NO_WARNING when the
original base is DECL_ARTIFICIAL or DECL_IGNORED_P.

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

10 years ago* gcc.dg/pr43300.c: Add -w.
matz [Wed, 17 Mar 2010 11:17:26 +0000 (11:17 +0000)]
* gcc.dg/pr43300.c: Add -w.

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

10 years ago2010-03-17 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 17 Mar 2010 10:31:09 +0000 (10:31 +0000)]
2010-03-17  Richard Guenther  <rguenther@suse.de>

* gcc.dg/pr43379.c: Add -w.

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

10 years ago2010-03-17 Tobias Burnus <burnus@net-b.de>
burnus [Wed, 17 Mar 2010 09:53:40 +0000 (09:53 +0000)]
2010-03-17  Tobias Burnus  <burnus@net-b.de>

        PR fortran/43331
        * trans-array.c (gfc_conv_array_index_offset,gfc_conv_array_ref,
        gfc_conv_ss_startstride): Remove no-longer-needed cp_was_assumed
        check.
        * decl.c (gfc_match_derived_decl): Don't mark assumed-size Cray
        pointees as having explizit size.
        * expr.c (gfc_check_assign): Remove now unreachable Cray pointee
        check.
        * trans-types.c (gfc_is_nodesc_array): Add cp_was_assumed to
        * assert.
        (gfc_sym_type): Don't mark Cray pointees as restricted pointers.
        * resolve.c (resolve_symbol): Handle cp_was_assumed.
        * trans-decl.c (gfc_trans_deferred_vars): Ditto.
        (gfc_finish_var_decl): Don't mark Cray pointees as restricted
        pointers.

2010-03-17  Tobias Burnus  <burnus@net-b.de>

        PR fortran/43331
        * gfortran.dg/cray_pointers_1.f90: Update dg-error message.

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

10 years ago PR rtl-optimization/42216
bernds [Wed, 17 Mar 2010 09:25:35 +0000 (09:25 +0000)]
PR rtl-optimization/42216
* regrename.c (create_new_chain): New function, broken out from...
(scan_rtx_reg): ... here.  Call it.  Handle the case where we are
appending a use to an empty chain.
(build_def_use): Remove previous changes that convert OP_INOUT to
OP_OUT operands; instead detect the case where an OP_INOUT operand
uses a previously untracked register and create an empty chain for
it.

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

10 years agoRewrite unfinished sentence in documentation.
rwild [Wed, 17 Mar 2010 06:18:19 +0000 (06:18 +0000)]
Rewrite unfinished sentence in documentation.

gcc/:
* doc/extend.texi (Function Attributes): Rewrite unfinished
sentence in ms_abi documentation.

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

10 years ago * config/rs6000/linux64.opt (mprofile-kernel): Use profile_kernel var.
amodra [Wed, 17 Mar 2010 04:44:37 +0000 (04:44 +0000)]
* config/rs6000/linux64.opt (mprofile-kernel): Use profile_kernel var.
* config/rs6000/linux64.h (TARGET_PROFILE_KERNEL): Define.
(SUBSUBTARGET_OVERRIDE_OPTIONS): Don't use SET_PROFILE_KERNEL.
* config/rs6000/rs6000.c (SET_PROFILE_KERNEL): Don't define.

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

10 years ago2010-03-17 Jonathan Wakely <jwakely.gcc@gmail.com>
redi [Wed, 17 Mar 2010 00:36:05 +0000 (00:36 +0000)]
2010-03-17  Jonathan Wakely  <jwakely.gcc@gmail.com>

* doc/xml/manual/debug_mode.xml: Correct debug headers.

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

10 years ago * gcc.dg/graphite/block-3.c: Add dg-timeout-factor.
uros [Wed, 17 Mar 2010 00:30:23 +0000 (00:30 +0000)]
* gcc.dg/graphite/block-3.c: Add dg-timeout-factor.

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

10 years ago2010-03-17 Jonathan Wakely <jwakely.gcc@gmail.com>
redi [Wed, 17 Mar 2010 00:22:56 +0000 (00:22 +0000)]
2010-03-17  Jonathan Wakely  <jwakely.gcc@gmail.com>

PR libstdc++/43397
* include/std/functional (_Mem_fn): Use perfect forwarding.
* testsuite/20_util/function/43397.cc: New.

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

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

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

10 years agoUpdate email address.
amodra [Wed, 17 Mar 2010 00:02:21 +0000 (00:02 +0000)]
Update email address.

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

10 years ago PR middle-end/43365
rth [Tue, 16 Mar 2010 23:02:35 +0000 (23:02 +0000)]
    PR middle-end/43365
        * tree-eh.c (replace_goto_queue): Also replace in the eh_seq.
        (lower_try_finally): Save and restore eh_seq around the expansion
        of the try-finally.

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

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

PR libstdc++/43394
* include/parallel/compatibility.h: Add __k8 and __core2 among the
i386 targets supporting atomic operations.

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

10 years ago2010-03-16 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Tue, 16 Mar 2010 22:34:53 +0000 (22:34 +0000)]
2010-03-16  Paolo Carlini  <paolo.carlini@oracle.com>

* include/backward/hash_map: Use consistently the _BACKWARD_*
prefix for the include guard.
* include/backward/hash_fun.h: Likewise.
* include/backward/hashtable.h: Likewise.
* include/backward/auto_ptr.h: Likewise.
* include/backward/strstream: Likewise.
* include/backward/binders.h: Likewise.
* include/backward/hash_set: Likewise.

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

10 years ago * graphite-sese-to-poly.c (split_reduction_stmt): Skip debug
aldyh [Tue, 16 Mar 2010 20:04:04 +0000 (20:04 +0000)]
    * graphite-sese-to-poly.c (split_reduction_stmt): Skip debug
        statements before splitting block.

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

10 years ago2010-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
janis [Tue, 16 Mar 2010 17:17:33 +0000 (17:17 +0000)]
2010-03-16  Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>

* doc/sourcebuild.texi (Testsuites): Fix markup.
Use pathnames relative to gcc/testsuite.
(Test Directives): Move description of how timeout is determined.
(Ada Tests): Favor gnat.exp over ada/acats/tests/gcc.
(C Tests): Correct gcc.misc-tests directory.
Framework tests now live in gcc.test-framework.

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

10 years ago * MAINTAINERS: Remove Dan Hipschman, William Maddox and Chris
dnovillo [Tue, 16 Mar 2010 16:57:44 +0000 (16:57 +0000)]
* MAINTAINERS: Remove Dan Hipschman, William Maddox and Chris
Matthews.

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

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

* include/bits/random.h (operator==(const uniform_int_distribution<>&,
const uniform_int_distribution<>&), operator==(const
uniform_real_distribution<>&, const uniform_real_distribution<>&),
operator==(const lognormal_distribution<>&,
const lognormal_distribution<>&), operator==(const
chi_squared_distribution<>&, const chi_squared_distribution<>&),
operator==(const cauchy_distribution<>&, const cauchy_distribution<>&),
operator==(const fisher_distribution<>&, const fisher_distribution<>&),
operator==(const student_t_distribution<>&,
const student_t_distribution<>&), operator==(const
bernoulli_distribution<>&, const bernoulli_distribution<>&),
operator==(const binomial_distribution<>&, const
binomial_distribution<>&), operator==(const geometric_distribution<>&,
const geometric_distribution<>&), operator==(const
negative_binomial_distribution<>&, const
negative_binomial_distribution<>&), operator==(const
poisson_distribution<>&, const poisson_distribution<>&),
operator==(const exponential_distribution<>&,
const exponential_distribution<>&), operator==(const
gamma_distribution<>&, const gamma_distribution<>&), operator==(const
weibull_distribution<>&, const weibull_distribution<>&),
operator==(const extreme_value_distribution<>&,
const extreme_value_distribution<>&), operator==(const
discrete_distribution<>&, const discrete_distribution<>&),
operator==(const piecewise_constant_distribution<>&,
const piecewise_constant_distribution<>&), operator==(const
piecewise_linear_distribution<>&, const
piecewise_linear_distribution<>&)): Add, likewise for operator!=.
(operator!=(const independent_bits_engine<>&, const
independent_bits_engine<>&), operator!=(const
subtract_with_carry_engine<>&, const subtract_with_carry_engine<>&),
operator!=(const discard_block_engine<>&, const
discard_block_engine<>&), operator!=(const mersenne_twister_engine<>&,
const mersenne_twister_engine<>&), operator!=(const
linear_congruential_engine<>&, const linear_congruential_engine<>&),
operator!=(const shuffle_order_engine<>&, const
shuffle_order_engine<>&): Add.
* include/bits/random.tcc (operator==(const normal_distribution<>&,
const normal_distribution<>&)): Add.
* testsuite/26_numerics/random/uniform_real_distribution/operators/
inequal.cc: New.
* testsuite/26_numerics/random/uniform_real_distribution/operators/
equal.cc: Likewise.
* testsuite/26_numerics/random/piecewise_constant_distribution/
operators/inequal.cc: Likewise.
* testsuite/26_numerics/random/piecewise_constant_distribution/
operators/equal.cc: Likewise.
* testsuite/26_numerics/random/chi_squared_distribution/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/chi_squared_distribution/operators/
equal.cc: Likewise.
* testsuite/26_numerics/random/normal_distribution/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/normal_distribution/operators/
equal.cc: Likewise.
* testsuite/26_numerics/random/uniform_int_distribution/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/uniform_int_distribution/operators/
equal.cc: Likewise.
* testsuite/26_numerics/random/poisson_distribution/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/poisson_distribution/operators/
equal.cc: Likewise.
* testsuite/26_numerics/random/bernoulli_distribution/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/bernoulli_distribution/operators/
equal.cc: Likewise.
* testsuite/26_numerics/random/discrete_distribution/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/discrete_distribution/operators/
equal.cc: Likewise.
* testsuite/26_numerics/random/weibull_distribution/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/weibull_distribution/operators/
equal.cc: Likewise.
* testsuite/26_numerics/random/independent_bits_engine/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/subtract_with_carry_engine/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/discard_block_engine/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/cauchy_distribution/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/cauchy_distribution/operators/
equal.cc: Likewise.
* testsuite/26_numerics/random/negative_binomial_distribution/
operators/inequal.cc: Likewise.
* testsuite/26_numerics/random/negative_binomial_distribution/
operators/equal.cc: Likewise.
* testsuite/26_numerics/random/gamma_distribution/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/gamma_distribution/operators/
equal.cc: Likewise.
* testsuite/26_numerics/random/mersenne_twister_engine/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/fisher_f_distribution/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/fisher_f_distribution/operators/
equal.cc: Likewise.
* testsuite/26_numerics/random/exponential_distribution/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/exponential_distribution/operators/
equal.cc: Likewise.
* testsuite/26_numerics/random/binomial_distribution/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/binomial_distribution/operators/
equal.cc: Likewise.
* testsuite/26_numerics/random/lognormal_distribution/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/lognormal_distribution/operators/
equal.cc: Likewise.
* testsuite/26_numerics/random/extreme_value_distribution/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/extreme_value_distribution/operators/
equal.cc: Likewise.
* testsuite/26_numerics/random/piecewise_linear_distribution/
operators/inequal.cc: Likewise.
* testsuite/26_numerics/random/piecewise_linear_distribution/
operators/equal.cc: Likewise.
* testsuite/26_numerics/random/student_t_distribution/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/student_t_distribution/operators/
equal.cc: Likewise.
* testsuite/26_numerics/random/linear_congruential_engine/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/shuffle_order_engine/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/geometric_distribution/operators/
inequal.cc: Likewise.
* testsuite/26_numerics/random/geometric_distribution/operators/
equal.cc: Likewise.

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

10 years ago * MAINTAINERS (Write After Approval): Remove Jim Blandy, Daniel
jsm28 [Tue, 16 Mar 2010 15:43:25 +0000 (15:43 +0000)]
* MAINTAINERS (Write After Approval): Remove Jim Blandy, Daniel
Gutson, Jeffrey D. Oldham and Mark Shinwell.

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

10 years ago * ada/acats/run_all.sh: Log start and end times.
ro@138bc75d-0d04-0410-961f-82ee72b054a4 [Tue, 16 Mar 2010 14:46:43 +0000 (14:46 +0000)]
* ada/acats/run_all.sh: Log start and end times.

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

10 years ago * gnat.dg/socket1.adb: Disable on *-*-solaris2*.
ro@138bc75d-0d04-0410-961f-82ee72b054a4 [Tue, 16 Mar 2010 14:43:43 +0000 (14:43 +0000)]
* gnat.dg/socket1.adb: Disable on *-*-solaris2*.

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

10 years agoDelete temporary output files.
hjl [Tue, 16 Mar 2010 14:06:40 +0000 (14:06 +0000)]
Delete temporary output files.

2010-03-16  Dmitry Gorbachev  <d.g.gorbachev@gmail.com>

PR lto/43336
* lto-plugin.c (cleanup_handler): Delete temporary output files.

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

10 years ago * MAINTAINERS: Update my email address.
jsm28 [Tue, 16 Mar 2010 14:00:48 +0000 (14:00 +0000)]
* MAINTAINERS: Update my email address.

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

10 years ago * MAINTAINERS: Update my email address.
drow [Tue, 16 Mar 2010 13:45:56 +0000 (13:45 +0000)]
* MAINTAINERS: Update my email address.

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

10 years agoAdd missing ChangeLog entries.
hjl [Tue, 16 Mar 2010 12:58:10 +0000 (12:58 +0000)]
Add missing ChangeLog entries.

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