]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
11 years agoDaily bump.
GCC Administrator [Thu, 31 Jul 2014 00:16:24 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r213314

11 years agoBackport xmallocarray, an overflow checking version of xmalloc (CVE-2014-5044)
Janne Blomqvist [Wed, 30 Jul 2014 21:59:08 +0000 (00:59 +0300)] 
Backport xmallocarray, an overflow checking version of xmalloc (CVE-2014-5044)

2014-07-31  Janne Blomqvist  <jb@gcc.gnu.org>

Backport from mainline
CVE-2014-5044
        * libgfortran.h (xmallocarray): New prototype.
        * runtime/memory.c (xmallocarray): New function.
        (xcalloc): Check for nonzero separately instead of multiplying.
        * generated/*.c: Regenerated.
        * intrinsics/cshift0.c (cshift0): Call xmallocarray instead of
        xmalloc.
        * intrinsics/eoshift0.c (eoshift0): Likewise.
        * intrinsics/eoshift2.c (eoshift2): Likewise.
        * intrinsics/pack_generic.c (pack_internal): Likewise.
        (pack_s_internal): Likewise.
        * intrinsics/reshape_generic.c (reshape_internal): Likewise.
        * intrinsics/spread_generic.c (spread_internal): Likewise.
        (spread_internal_scalar): Likewise.
        * intrinsics/string_intrinsics_inc.c (string_trim): Likewise.
        (string_minmax): Likewise.
        * intrinsics/transpose_generic.c (transpose_internal): Likewise.
        * intrinsics/unpack_generic.c (unpack_internal): Likewise.
        * io/list_read.c (nml_touch_nodes): Don't cast xmalloc return value.
        * io/transfer.c (st_set_nml_var): Call xmallocarray instead of
        xmalloc.
        * io/unit.c (get_internal_unit): Likewise.
        (filename_from_unit): Don't cast xmalloc return value.
        * io/write.c (nml_write_obj): Likewise, formatting.
        * m4/bessel.m4 (bessel_jn_r'rtype_kind`): Call xmallocarray
        instead of xmalloc.
        (besse_yn_r'rtype_kind`): Likewise.
        * m4/cshift1.m4 (cshift1): Likewise.
        * m4/eoshift1.m4 (eoshift1): Likewise.
        * m4/eoshift3.m4 (eoshift3): Likewise.
        * m4/iforeach.m4: Likewise.
        * m4/ifunction.m4: Likewise.
        * m4/ifunction_logical.m4 (name`'rtype_qual`_'atype_code):
        Likewise.
        * m4/in_pack.m4 (internal_pack_'rtype_ccode`): Likewise.
        * m4/matmul.m4 (matmul_'rtype_code`): Likewise.
        * m4/matmull.m4 (matmul_'rtype_code`): Likewise.
        * m4/pack.m4 (pack_'rtype_code`): Likewise.
        * m4/reshape.m4 (reshape_'rtype_ccode`): Likewise.
        * m4/shape.m4 (shape_'rtype_kind`): Likewise.
        * m4/spread.m4 (spread_'rtype_code`): Likewise.
        (spread_scalar_'rtype_code`): Likewise.
        * m4/transpose.m4 (transpose_'rtype_code`): Likewise.
        * m4/unpack.m4 (unpack0_'rtype_code`): Likewise.
        (unpack1_'rtype_code`): Likewise.
        * runtime/convert_char.c (convert_char1_to_char4): Likewise.
        (convert_char4_to_char1): Simplify.
        * runtime/environ.c (init_unformatted): Call xmallocarray instead
        of xmalloc.
        * runtime/in_pack_generic.c (internal_pack): Likewise.

From-SVN: r213313

11 years agoDaily bump.
GCC Administrator [Wed, 30 Jul 2014 00:16:20 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r213228

11 years agoDaily bump.
GCC Administrator [Tue, 29 Jul 2014 00:16:28 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r213143

11 years agore PR libobjc/61920 (libobjc has undefined symbols on powerpc*-linux-gnu)
Ulrich Weigand [Mon, 28 Jul 2014 14:33:20 +0000 (14:33 +0000)] 
re PR libobjc/61920 (libobjc has undefined symbols on powerpc*-linux-gnu)

PR libobjc/61920
* encoding.c (rs6000_special_adjust_field_align_p): Use definition
that matches the 4.8 branch ABI.

From-SVN: r213128

11 years agore PR rtl-optimization/61801 (sched2 miscompiles syscall sequence with -g)
Richard Biener [Mon, 28 Jul 2014 09:02:23 +0000 (09:02 +0000)] 
re PR rtl-optimization/61801 (sched2 miscompiles syscall sequence with -g)

2014-07-28  Richard Biener  <rguenther@suse.de>

PR rtl-optimization/61801
* gcc.target/i386/pr61801.c: Fix testcase.

From-SVN: r213120

11 years agore PR rtl-optimization/61801 (sched2 miscompiles syscall sequence with -g)
Richard Biener [Mon, 28 Jul 2014 07:59:22 +0000 (07:59 +0000)] 
re PR rtl-optimization/61801 (sched2 miscompiles syscall sequence with -g)

2014-07-28  Richard Biener  <rguenther@suse.de>

PR rtl-optimization/61801
* gcc.target/i386/pr61801.c: New testcase.

From-SVN: r213113

11 years agoDaily bump.
GCC Administrator [Mon, 28 Jul 2014 00:16:52 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r213105

11 years agore PR libobjc/61920 (libobjc has undefined symbols on powerpc*-linux-gnu)
Alan Modra [Sun, 27 Jul 2014 13:19:21 +0000 (22:49 +0930)] 
re PR libobjc/61920 (libobjc has undefined symbols on powerpc*-linux-gnu)

2014-07-27  Alan Modra  <amodra@gmail.com>
            Matthias Klose  <doko@ubuntu.com>

        PR libobjc/61920

        * encoding.c: Define rs6000_special_adjust_field_align_p.

Co-Authored-By: Matthias Klose <doko@ubuntu.com>
From-SVN: r213100

11 years agoDaily bump.
GCC Administrator [Sun, 27 Jul 2014 00:16:27 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r213087

11 years agore PR target/47230 (gcc fails to bootstrap on alpha in stage2 with "relocation trunca...
Uros Bizjak [Sat, 26 Jul 2014 15:23:33 +0000 (17:23 +0200)] 
re PR target/47230 (gcc fails to bootstrap on alpha in stage2 with "relocation truncated to fit: GPREL16 against ...")

PR target/47230
* configure.ac (alpha*-*-linux*): Use mh-alpha-linux.
* configure: Regenerate.

config/ChangeLog:

PR target/47230
* mh-alpha-linux: New file.

From-SVN: r213083

11 years agoDaily bump.
GCC Administrator [Sat, 26 Jul 2014 00:16:36 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r213069

11 years agoelf.h: Define TARGET_UNWIND_TABLES_DEFAULT.
Uros Bizjak [Fri, 25 Jul 2014 07:28:47 +0000 (09:28 +0200)] 
elf.h: Define TARGET_UNWIND_TABLES_DEFAULT.

* config/alpha/elf.h: Define TARGET_UNWIND_TABLES_DEFAULT.

From-SVN: r213044

11 years agoDaily bump.
GCC Administrator [Fri, 25 Jul 2014 00:16:37 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r213032

11 years agoAArch64: emit .note.GNU-stack
Kyle McMartin [Thu, 24 Jul 2014 18:32:26 +0000 (18:32 +0000)] 
AArch64: emit .note.GNU-stack

        2014-07-24  Kyle McMartin  <kyle@redhat.com>
        * config/aarch64/aarch64-linux.h (TARGET_ASM_FILE_END): Define.

From-SVN: r213030

11 years agors6000-protos.h (rs6000_special_adjust_field_align_p): Add prototype.
Ulrich Weigand [Thu, 24 Jul 2014 17:34:24 +0000 (17:34 +0000)] 
rs6000-protos.h (rs6000_special_adjust_field_align_p): Add prototype.

gcc/

* config/rs6000/rs6000-protos.h (rs6000_special_adjust_field_align_p):
Add prototype.
* config/rs6000/rs6000.c (rs6000_special_adjust_field_align_p): New
function.  Issue -Wpsabi warning if future GCC releases will use
different field alignment rules for this type.
* config/rs6000/sysv4.h (ADJUST_FIELD_ALIGN): Call it.
* config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Likewise.
* config/rs6000/freebsd64.h (ADJUST_FIELD_ALIGN): Likewise.

gcc/testsuite/

* gcc.target/powerpc/ppc64-abi-warn-3.c: New test.

* gcc.c-torture/execute/20050316-1.x: Add -Wno-psabi.
* gcc.c-torture/execute/20050604-1.x: Add -Wno-psabi.
* gcc.c-torture/execute/20050316-3.x: New file.  Add -Wno-psabi.
* gcc.c-torture/execute/pr23135.x: Likewise.

From-SVN: r213025

11 years agors6000.c (rs6000_function_arg_boundary): Issue -Wpsabi note when encountering a type...
Ulrich Weigand [Thu, 24 Jul 2014 17:32:40 +0000 (17:32 +0000)] 
rs6000.c (rs6000_function_arg_boundary): Issue -Wpsabi note when encountering a type where future GCC releases will...

gcc/

* config/rs6000/rs6000.c (rs6000_function_arg_boundary): Issue
-Wpsabi note when encountering a type where future GCC releases
will apply different alignment requirements.

gcc/testsuite/

* gcc.target/powerpc/ppc64-abi-warn-2.c: New test.

From-SVN: r213024

11 years agors6000.c (rs6000_function_arg): If a float argument does not fit fully into floating...
Ulrich Weigand [Thu, 24 Jul 2014 17:30:52 +0000 (17:30 +0000)] 
rs6000.c (rs6000_function_arg): If a float argument does not fit fully into floating-point registers...

gcc/

* config/rs6000/rs6000.c (rs6000_function_arg): If a float argument
does not fit fully into floating-point registers, and there is still
space in the register parameter area, issue -Wpsabi note that the ABI
will change in a future GCC release.

gcc/testsuite/

* gcc.target/powerpc/ppc64-abi-warn-1.c: New test.

From-SVN: r213023

11 years agobackport: struct-layout-1.exp: Load g++-dg.exp.
Ulrich Weigand [Thu, 24 Jul 2014 17:29:11 +0000 (17:29 +0000)] 
backport: struct-layout-1.exp: Load g++-dg.exp.

gcc/testsuite/

Backport from mainline:
* g++.dg/compat/struct-layout-1.exp: Load g++-dg.exp.

From-SVN: r213022

11 years agoDaily bump.
GCC Administrator [Thu, 24 Jul 2014 00:16:29 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r212965

11 years agot-rtems-eabi: Add mthumb/march=armv7-r/mfpu=vfpv3-d16/mfloat-abi=hard...
Sebastian Huber [Wed, 23 Jul 2014 14:10:51 +0000 (14:10 +0000)] 
t-rtems-eabi: Add mthumb/march=armv7-r/mfpu=vfpv3-d16/mfloat-abi=hard...

2014-07-23  Sebastian Huber  <sebastian.huber@embedded-brains.de>

* config/arm/t-rtems-eabi: Add
mthumb/march=armv7-r/mfpu=vfpv3-d16/mfloat-abi=hard,
mthumb/march=armv7-m/mfpu=fpv4-sp-d16/mfloat-abi=hard,
mbig-endian/mthumb/march=armv7-r, and
mbig-endian/mthumb/march=armv7-r/mfpu=vfpv3-d16/mfloat-abi=hard
multilibs.

From-SVN: r212940

11 years agoDaily bump.
GCC Administrator [Wed, 23 Jul 2014 00:16:14 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r212917

11 years agoDaily bump.
GCC Administrator [Tue, 22 Jul 2014 00:16:29 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r212901

11 years agosysv4.h (LIBASAN_EARLY_SPEC): Define.
Peter Bergner [Mon, 21 Jul 2014 20:10:02 +0000 (15:10 -0500)] 
sysv4.h (LIBASAN_EARLY_SPEC): Define.

* config/rs6000/sysv4.h (LIBASAN_EARLY_SPEC): Define.
(LIBTSAN_EARLY_SPEC): Likewise.
(STATIC_LIBASAN_LIBS): Likewise.
(STATIC_LIBTSAN_LIBS): Likewise.

From-SVN: r212899

11 years agoDaily bump.
GCC Administrator [Mon, 21 Jul 2014 00:16:55 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r212880

11 years agoDaily bump.
GCC Administrator [Sun, 20 Jul 2014 00:16:37 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r212856

11 years ago* toplev.c (output_stack_usage): Adjust the location of the warning.
Eric Botcazou [Sat, 19 Jul 2014 19:32:38 +0000 (19:32 +0000)] 
* toplev.c (output_stack_usage): Adjust the location of the warning.

From-SVN: r212852

11 years agore PR fortran/61780 (Wrong code when shifting elements of a multidimensional array)
Paul Thomas [Sat, 19 Jul 2014 14:31:06 +0000 (14:31 +0000)] 
re PR fortran/61780 (Wrong code when shifting elements of a multidimensional array)

2014-07-19  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/61780
* dependency.c (gfc_dep_resolver): Index the 'reverse' array so
that elements are skipped. This then correctly aligns 'reverse'
with the scalarizer loops.

2014-07-19  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/61780
* gfortran.dg/dependency_44.f90 : New test

From-SVN: r212847

11 years agosync.md (*membar_storeload_leon3): New insn.
Daniel Cederman [Sat, 19 Jul 2014 10:42:30 +0000 (10:42 +0000)] 
sync.md (*membar_storeload_leon3): New insn.

* config/sparc/sync.md (*membar_storeload_leon3): New insn.
(*membar_storeload): Disable for LEON3.

From-SVN: r212843

11 years agoDaily bump.
GCC Administrator [Sat, 19 Jul 2014 00:16:26 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r212831

11 years agoDaily bump.
GCC Administrator [Fri, 18 Jul 2014 00:16:25 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r212772

11 years agore PR rtl-optimization/61801 (sched2 miscompiles syscall sequence with -g)
Richard Biener [Thu, 17 Jul 2014 07:49:44 +0000 (07:49 +0000)] 
re PR rtl-optimization/61801 (sched2 miscompiles syscall sequence with -g)

2014-07-17  Richard Biener  <rguenther@suse.de>

PR rtl-optimization/61801
* sched-deps.c (sched_analyze_2): For ASM_OPERANDS and
ASM_INPUT don't set reg_pending_barrier if it appears in a
debug-insn.

From-SVN: r212740

11 years agoDaily bump.
GCC Administrator [Thu, 17 Jul 2014 00:16:18 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r212702

11 years agoDate fix.
Jakub Jelinek [Wed, 16 Jul 2014 15:10:36 +0000 (17:10 +0200)] 
Date fix.

From-SVN: r212666

11 years agoomp-low.c (create_omp_child_function): Don't set DECL_NAMELESS on the FUNCTION_DECL.
Jakub Jelinek [Wed, 16 Jul 2014 08:39:23 +0000 (10:39 +0200)] 
omp-low.c (create_omp_child_function): Don't set DECL_NAMELESS on the FUNCTION_DECL.

* omp-low.c (create_omp_child_function): Don't set DECL_NAMELESS
on the FUNCTION_DECL.

From-SVN: r212583

11 years agoDaily bump.
GCC Administrator [Wed, 16 Jul 2014 00:16:25 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r212577

11 years agoDaily bump.
GCC Administrator [Tue, 15 Jul 2014 00:16:25 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r212535

11 years agoDaily bump.
GCC Administrator [Mon, 14 Jul 2014 00:16:28 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r212500

11 years agoDaily bump.
GCC Administrator [Sun, 13 Jul 2014 00:16:26 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r212487

11 years agoDaily bump.
GCC Administrator [Sat, 12 Jul 2014 00:16:31 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r212473

11 years agoDaily bump.
GCC Administrator [Fri, 11 Jul 2014 00:16:43 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r212443

11 years agoinstall.texi: Remove links to defunct package providers for Solaris.
Tom G. Christensen [Thu, 10 Jul 2014 12:40:55 +0000 (12:40 +0000)] 
install.texi: Remove links to defunct package providers for Solaris.

* doc/install.texi: Remove links to defunct package providers for
Solaris.

From-SVN: r212431

11 years agore PR middle-end/53590 (compiler fails to generate SIMD instruction for FP division)
Eric Botcazou [Thu, 10 Jul 2014 10:43:46 +0000 (10:43 +0000)] 
re PR middle-end/53590 (compiler fails to generate SIMD instruction for FP division)

PR middle-end/53590
* function.c (allocate_struct_function): Revert r188667 change.

From-SVN: r212426

11 years agoDaily bump.
GCC Administrator [Thu, 10 Jul 2014 00:16:42 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r212418

11 years agoDaily bump.
GCC Administrator [Wed, 9 Jul 2014 00:16:40 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r212377

11 years agore PR fortran/61459 (segfault when assigning to allocatable function result from...
Paul Thomas [Tue, 8 Jul 2014 19:51:04 +0000 (19:51 +0000)] 
re PR fortran/61459 (segfault when assigning to allocatable function result from matmul result)

2014-07-08  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/61459
PR fortran/58883
* trans-expr.c (fcncall_realloc_result): Use the natural type
for the address expression of 'res_desc'.

2014-07-08  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/61459
PR fortran/58883
* gfortran.dg/allocatable_function_8.f90 : New test

From-SVN: r212369

11 years agoDaily bump.
GCC Administrator [Tue, 8 Jul 2014 00:16:21 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r212343

11 years agogennews: Use gcc-3.0/index.html.
Richard Biener [Mon, 7 Jul 2014 08:03:23 +0000 (08:03 +0000)] 
gennews: Use gcc-3.0/index.html.

2014-07-07  Richard Biener  <rguenther@suse.de>

        * gennews: Use gcc-3.0/index.html.

From-SVN: r212324

11 years agoDaily bump.
GCC Administrator [Mon, 7 Jul 2014 00:17:00 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r212316

11 years agoDaily bump.
GCC Administrator [Sun, 6 Jul 2014 00:16:27 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r212309

11 years agoDaily bump.
GCC Administrator [Sat, 5 Jul 2014 00:16:23 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r212300

11 years agore PR tree-optimization/61684 (ICE at -Os and above on x86_64-linux-gnu in tree check...
Jakub Jelinek [Fri, 4 Jul 2014 08:37:39 +0000 (10:37 +0200)] 
re PR tree-optimization/61684 (ICE at -Os and above on x86_64-linux-gnu in tree check: expected ssa_name, have addr_expr in recognize_single_bit_test, at tree-ssa-ifcombine.c:238)

PR tree-optimization/61684
* tree-ssa-ifcombine.c (recognize_single_bit_test): Make sure
rhs1 of conversion is a SSA_NAME before using SSA_NAME_DEF_STMT on it.

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

From-SVN: r212292

11 years agoDaily bump.
GCC Administrator [Fri, 4 Jul 2014 00:16:25 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r212275

11 years agoDaily bump.
GCC Administrator [Thu, 3 Jul 2014 00:16:47 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r212251

11 years agodecl.c (variable_decl): Reject old style initialization for derived type components.
Jakub Jelinek [Wed, 2 Jul 2014 09:48:56 +0000 (11:48 +0200)] 
decl.c (variable_decl): Reject old style initialization for derived type components.

* decl.c (variable_decl): Reject old style initialization
for derived type components.

* gfortran.dg/oldstyle_5.f: New test.

Co-Authored-By: Fritz Reese <Reese-Fritz@zai.com>
From-SVN: r212229

11 years agoDaily bump.
GCC Administrator [Wed, 2 Jul 2014 00:16:35 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r212215

11 years agoDaily bump.
GCC Administrator [Tue, 1 Jul 2014 00:16:31 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r212180

11 years agore PR c++/61647 (internal compiler error: in push_access_scope, at cp/pt.c:219 for...
Jason Merrill [Mon, 30 Jun 2014 18:44:24 +0000 (14:44 -0400)] 
re PR c++/61647 (internal compiler error: in push_access_scope, at cp/pt.c:219 for a c++ header, clang++ 3.4 generate .pch without error)

PR c++/61647
* pt.c (type_dependent_expression_p): Check BASELINK_OPTYPE.

From-SVN: r212163

11 years agore PR c++/61539 (ICE: in unify_one_argument, at cp/pt.c:15465)
Jason Merrill [Mon, 30 Jun 2014 17:30:22 +0000 (13:30 -0400)] 
re PR c++/61539 (ICE: in unify_one_argument, at cp/pt.c:15465)

PR c++/61539
* pt.c (unify_one_argument): Type/expression mismatch just causes
deduction failure.

From-SVN: r212161

11 years agore PR c++/61500 ([C++11] Can't take pointer to member referenced via member pointer...
Jason Merrill [Mon, 30 Jun 2014 15:05:32 +0000 (11:05 -0400)] 
re PR c++/61500 ([C++11] Can't take pointer to member referenced via member pointer template parameter.)

PR c++/61500
* tree.c (lvalue_kind): Handle MEMBER_REF and DOTSTAR_EXPR.

From-SVN: r212152

11 years agobackport: [multiple changes]
Thomas Preud'homme [Mon, 30 Jun 2014 02:11:21 +0000 (02:11 +0000)] 
backport: [multiple changes]

2014-06-30  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    Backport from mainline
    2014-06-20  Jakub Jelinek  <jakub@redhat.com>
    2014-06-11  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    gcc/
    PR tree-optimization/61306
    * tree-ssa-math-opts.c (struct symbolic_number): Store type of
    expression instead of its size.
    (do_shift_rotate): Adapt to change in struct symbolic_number. Return
    false to prevent optimization when the result is unpredictable due to
    arithmetic right shift of signed type with highest byte is set.
    (verify_symbolic_number_p): Adapt to change in struct symbolic_number.
    (find_bswap_1): Likewise. Return NULL to prevent optimization when the
    result is unpredictable due to sign extension.
    (find_bswap): Adapt to change in struct symbolic_number.

    gcc/testsuite/
    * gcc.c-torture/execute/pr61306-1.c: New test.
    * gcc.c-torture/execute/pr61306-2.c: Likewise.
    * gcc.c-torture/execute/pr61306-3.c: Likewise.

From-SVN: r212134

11 years agoDaily bump.
GCC Administrator [Mon, 30 Jun 2014 00:16:22 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r212130

11 years agoDaily bump.
GCC Administrator [Sun, 29 Jun 2014 00:16:23 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r212115

11 years agoDaily bump.
GCC Administrator [Sat, 28 Jun 2014 00:16:32 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r212094

11 years agonint_2.f90: Don't XFAIL for powerpc64le-*-linux*.
Bill Schmidt [Fri, 27 Jun 2014 16:56:13 +0000 (16:56 +0000)] 
nint_2.f90: Don't XFAIL for powerpc64le-*-linux*.

2014-06-27  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* gfortran.dg/nint_2.f90: Don't XFAIL for powerpc64le-*-linux*.

From-SVN: r212077

11 years agobackport: re PR target/61586 (ICE on alpha in alpha_handle_trap_shadows, at config...
Uros Bizjak [Fri, 27 Jun 2014 08:47:17 +0000 (10:47 +0200)] 
backport: re PR target/61586 (ICE on alpha in alpha_handle_trap_shadows, at config/alpha/alpha.c:8724)

Backport from mainline
2014-06-26  Uros Bizjak  <ubizjak@gmail.com>

PR target/61586
* config/alpha/alpha.c (alpha_handle_trap_shadows): Handle BARRIER RTX.

testsuite/ChangeLog:

Backport from mainline
2014-06-26  Uros Bizjak  <ubizjak@gmail.com>

PR target/61586
* gcc.target/alpha/pr61586.c: New test.

From-SVN: r212066

11 years agoDaily bump.
GCC Administrator [Fri, 27 Jun 2014 00:16:24 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r212056

11 years agore PR target/61542 ([4.8/4.9/trunk] vect-nop-move.c fails on powerpc64le-unknown...
Bill Schmidt [Thu, 26 Jun 2014 18:50:25 +0000 (18:50 +0000)] 
re PR target/61542 ([4.8/4.9/trunk] vect-nop-move.c fails on powerpc64le-unknown-linux-gnu)

2014-06-26  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR target/61542
* config/rs6000/vsx.md (vsx_extract_v4sf): Fix bug with element
extraction other than index 3.

From-SVN: r212050

11 years agoDaily bump.
GCC Administrator [Thu, 26 Jun 2014 00:16:34 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r212004

11 years agodefault_format_denormal_2.f90: Remove xfail for powerpc*-*-linux*.
Bill Schmidt [Wed, 25 Jun 2014 22:36:58 +0000 (22:36 +0000)] 
default_format_denormal_2.f90: Remove xfail for powerpc*-*-linux*.

2014-06-25  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* gfortran.dg/default_format_denormal_2.f90:  Remove xfail for
powerpc*-*-linux*.

From-SVN: r212002

11 years agoDaily bump.
GCC Administrator [Wed, 25 Jun 2014 00:16:26 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r211963

11 years agore PR target/61570 (-march=native CPU you selected does not support x86-64 instructio...
Jakub Jelinek [Tue, 24 Jun 2014 15:13:32 +0000 (17:13 +0200)] 
re PR target/61570 (-march=native CPU you selected does not support x86-64 instruction under QEMU)

PR target/61570
* config/i386/driver-i386.c (host_detect_local_cpu): For unknown
model family 6 CPU with has_longmode never use a CPU without
64-bit support.

From-SVN: r211948

11 years agoDaily bump.
GCC Administrator [Tue, 24 Jun 2014 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r211922

11 years agoDaily bump.
GCC Administrator [Mon, 23 Jun 2014 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r211882

11 years agoDaily bump.
GCC Administrator [Sun, 22 Jun 2014 00:16:23 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r211870

11 years agoDaily bump.
GCC Administrator [Sat, 21 Jun 2014 00:16:20 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r211861

11 years agobackport: arm.c (arm_output_mi_thunk): Fix offset for TARGET_THUMB1_ONLY.
Chung-Lin Tang [Fri, 20 Jun 2014 06:20:38 +0000 (06:20 +0000)] 
backport: arm.c (arm_output_mi_thunk): Fix offset for TARGET_THUMB1_ONLY.

2014-06-20  Chung-Lin Tang  <cltang@codesourcery.com>

Backport from mainline

2014-06-20  Julian Brown  <julian@codesourcery.com>
            Chung-Lin Tang  <cltang@codesourcery.com>

* config/arm/arm.c (arm_output_mi_thunk): Fix offset for
TARGET_THUMB1_ONLY. Add comments.

From-SVN: r211835

11 years agoDaily bump.
GCC Administrator [Fri, 20 Jun 2014 00:16:25 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r211829

11 years agoDaily bump.
GCC Administrator [Thu, 19 Jun 2014 00:16:23 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r211812

11 years agobackport: re PR target/61423 (Incorrect conversion from unsigned int to floating...
Uros Bizjak [Wed, 18 Jun 2014 20:01:37 +0000 (22:01 +0200)] 
backport: re PR target/61423 (Incorrect conversion from unsigned int to floating point)

Backport from mainline
2014-06-06  Uros Bizjak  <ubizjak@gmail.com>

PR target/61423
* config/i386/i386.md (*floatunssi<mode>2_i387_with_xmm): New
define_insn_and_split pattern, merged from *floatunssi<mode>2_1
and corresponding splitters.  Zero extend general register
or memory input operand to XMM temporary.  Enable for
TARGET_SSE2 and TARGET_INTER_UNIT_MOVES_TO_VEC only.
(floatunssi<mode>2): Update expander predicate.

testsuite/ChangeLog:

Backport from mainline
2014-06-13  Ilya Enkovich  <ilya.enkovich@intel.com>

PR rtl-optimization/61094
PR rtl-optimization/61446
* gcc.target/i386/pr61446.c : New.

Backport from mainline
2014-06-06  Uros Bizjak  <ubizjak@gmail.com>

PR target/61423
* gcc.target/i386/pr61423.c: New test.

From-SVN: r211803

11 years agore PR target/61545 (Miscompilation in libcap-ng)
Richard Henderson [Wed, 18 Jun 2014 14:38:56 +0000 (07:38 -0700)] 
re PR target/61545 (Miscompilation in libcap-ng)

PR target/61545

* config/aarch64/aarch64.md (tlsdesc_small): Clobber CC_REGNUM.

From-SVN: r211787

11 years agoDaily bump.
GCC Administrator [Wed, 18 Jun 2014 00:16:27 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r211762

11 years agore PR c++/60605 (incorrect diagosis of default template argument for function declara...
Jason Merrill [Tue, 17 Jun 2014 23:03:43 +0000 (19:03 -0400)] 
re PR c++/60605 (incorrect diagosis of default template argument for function declaration inside class template member function)

PR c++/60605
* pt.c (check_default_tmpl_args): Check DECL_LOCAL_FUNCTION_P.

From-SVN: r211753

11 years agoRevert patch on gcc-4_8-branch.
Nagaraju Mekala [Tue, 17 Jun 2014 22:19:07 +0000 (22:19 +0000)] 
Revert patch on gcc-4_8-branch.

From-SVN: r211750

11 years agore PR target/61483 ([AArch64] builtin va_start incorrectly initializes the field...
Yufeng Zhang [Tue, 17 Jun 2014 14:15:03 +0000 (14:15 +0000)] 
re PR target/61483 ([AArch64] builtin va_start incorrectly initializes the field of va_list for incoming unnamed arguments on the stack)

gcc/

PR target/61483
* config/aarch64/aarch64.c (aarch64_layout_arg): Add new local
variable 'size'; calculate 'size' right in the front; use
'size' to compute 'nregs' (when 'allocate_ncrn != 0') and
pcum->aapcs_stack_words.

gcc/testsuite/

PR target/61483
* gcc.target/aarch64/aapcs64/type-def.h (struct hfa_fx2_t): New type.
* gcc.target/aarch64/aapcs64/va_arg-13.c: New test.
* gcc.target/aarch64/aapcs64/va_arg-14.c: Ditto.
* gcc.target/aarch64/aapcs64/va_arg-15.c: Ditto.

From-SVN: r211741

11 years agoDaily bump.
GCC Administrator [Tue, 17 Jun 2014 00:16:42 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r211718

11 years agoDaily bump.
GCC Administrator [Mon, 16 Jun 2014 00:16:26 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r211690

11 years agobackport: re PR fortran/45187 (ICE with CRAY pointer in module)
Francois-Xavier Coudert [Sun, 15 Jun 2014 19:35:11 +0000 (19:35 +0000)] 
backport: re PR fortran/45187 (ICE with CRAY pointer in module)

Backport from trunk
PR fortran/45187

* trans-decl.c (gfc_create_module_variable): Don't create
Cray-pointee decls twice.

* gfortran.dg/cray_pointers_10.f90: New file.

From-SVN: r211688

11 years agoDaily bump.
GCC Administrator [Sun, 15 Jun 2014 00:16:14 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r211674

11 years agoDaily bump.
GCC Administrator [Sat, 14 Jun 2014 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r211659

11 years agobackport: re PR testsuite/61415 (PowerPC test gcc.target/powerpc/tfmode_off.c fails...
Peter Bergner [Fri, 13 Jun 2014 21:58:49 +0000 (16:58 -0500)] 
backport: re PR testsuite/61415 (PowerPC test gcc.target/powerpc/tfmode_off.c fails if -mlong-double-64)

gcc/
Backport from mainline

2014-06-13  Peter Bergner  <bergner@vnet.ibm.com>
PR target/61415
* config/rs6000/rs6000-builtin.def (BU_MISC_1): Delete.
(BU_MISC_2): Rename to ...
(BU_LDBL128_2): ... this.
* config/rs6000/rs6000.h (RS6000_BTM_LDBL128): New define.
(RS6000_BTM_COMMON): Add RS6000_BTM_LDBL128.
* config/rs6000/rs6000.c (rs6000_builtin_mask_calculate): Handle
RS6000_BTM_LDBL128.
(rs6000_invalid_builtin): Add long double 128-bit builtin support.
(rs6000_builtin_mask_names): Add RS6000_BTM_LDBL128.
* config/rs6000/rs6000.md (unpacktf_0): Remove define)expand.
(unpacktf_1): Likewise.
* doc/extend.texi (__builtin_longdouble_dw0): Remove documentation.
(__builtin_longdouble_dw1): Likewise.
* doc/sourcebuild.texi (longdouble128): Document.

gcc/testsuite/
Backport from mainline

2014-06-13  Peter Bergner  <bergner@vnet.ibm.com>
PR target/61415
* lib/target-supports.exp (check_effective_target_longdouble128): New.
* gcc.target/powerpc/pack02.c: Use it.
* gcc.target/powerpc/tfmode_off.c: Likewise.

From-SVN: r211657

11 years agore PR c++/60731 (dynamic library not getting reinitialized on multiple calls to dlopen())
Jason Merrill [Fri, 13 Jun 2014 16:39:37 +0000 (12:39 -0400)] 
re PR c++/60731 (dynamic library not getting reinitialized on multiple calls to dlopen())

PR c++/60731
* common.opt (-fno-gnu-unique): Add.
* config/elfos.h (USE_GNU_UNIQUE_OBJECT): Check it.

From-SVN: r211648

11 years agoDaily bump.
GCC Administrator [Fri, 13 Jun 2014 00:16:39 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r211601

11 years agobackport: re PR target/61443 ([avr] ICE when varargs argument is indirect addr-space...
Georg-Johann Lay [Thu, 12 Jun 2014 08:54:24 +0000 (08:54 +0000)] 
backport: re PR target/61443 ([avr] ICE when varargs argument is indirect addr-space access)

gcc/
Backport from 2014-05-09 trunk r210272
* config/avr/avr-fixed.md (round<mode>3): Use -1U instead of -1 in
unsigned int initializers for regno_in, regno_out.

Backport from 2014-05-14 trunk r210418
* config/avr/avr.h (REG_CLASS_CONTENTS): Use unsigned suffix for
shifted values to avoid build warning.

Backport from 2014-06-12 trunk r211491
PR target/61443
* config/avr/avr.md (push<mode>1): Avoid (subreg(mem)) when
loading from address spaces.
gcc/testsuite/
Backport from 2014-06-12 trunk r211491
PR target/61443
* gcc.target/avr/torture/pr61443.c: New test.

From-SVN: r211493

11 years agoDaily bump.
GCC Administrator [Thu, 12 Jun 2014 00:16:52 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r211485

11 years agore PR target/61300 (powerpc64le miscompile with K&R-style function definition at...
Alan Modra [Wed, 11 Jun 2014 23:50:16 +0000 (09:20 +0930)] 
re PR target/61300 (powerpc64le miscompile with K&R-style function definition at -O0)

PR target/61300
* doc/tm.texi.in (INCOMING_REG_PARM_STACK_SPACE): Document.
* doc/tm.texi: Regenerate.
* function.c (INCOMING_REG_PARM_STACK_SPACE): Provide default.
Use throughout in place of REG_PARM_STACK_SPACE.
* config/rs6000/rs6000.c (rs6000_reg_parm_stack_space): Add
"incoming" param.  Pass to rs6000_function_parms_need_stack.
(rs6000_function_parms_need_stack): Add "incoming" param, ignore
prototype_p when incoming.  Use function decl when incoming
to handle K&R style functions.
* config/rs6000/rs6000.h (REG_PARM_STACK_SPACE): Adjust.
(INCOMING_REG_PARM_STACK_SPACE): Define.

From-SVN: r211483

11 years agoDaily bump.
GCC Administrator [Wed, 11 Jun 2014 00:16:42 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r211430

11 years agoDaily bump.
GCC Administrator [Tue, 10 Jun 2014 00:17:05 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r211391

11 years agore PR c++/61134 ([C++11] bogus "no matching function for call...")
Jason Merrill [Mon, 9 Jun 2014 19:56:21 +0000 (15:56 -0400)] 
re PR c++/61134 ([C++11] bogus "no matching function for call...")

PR c++/61134
* pt.c (pack_deducible_p): Handle canonicalization.

From-SVN: r211387

11 years agoDaily bump.
GCC Administrator [Mon, 9 Jun 2014 00:17:22 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r211360