]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
10 years agoDaily bump.
GCC Administrator [Thu, 30 Oct 2014 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r216856

10 years ago[AArch64] Restore recog state after finding pre-madd instruction
Kyrylo Tkachov [Wed, 29 Oct 2014 21:56:01 +0000 (21:56 +0000)] 
[AArch64] Restore recog state after finding pre-madd instruction

    * config/aarch64/aarch64.c (aarch64_madd_needs_nop): Restore
    recog state after aarch64_prev_real_insn call.

    * gcc.target/aarch64/madd_after_asm_1.c: New test.

From-SVN: r216854

10 years agoDaily bump.
GCC Administrator [Wed, 29 Oct 2014 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r216814

10 years agoDaily bump.
GCC Administrator [Tue, 28 Oct 2014 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r216767

10 years agoDaily bump.
GCC Administrator [Mon, 27 Oct 2014 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r216721

10 years agolinux-unwind.h (pa32_read_access_ok): New function.
John David Anglin [Sun, 26 Oct 2014 14:52:49 +0000 (14:52 +0000)] 
linux-unwind.h (pa32_read_access_ok): New function.

* config/pa/linux-unwind.h (pa32_read_access_ok): New function.
(pa32_fallback_frame_state): Use pa32_read_access_ok to check if
memory read accesses are ok.

From-SVN: r216718

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

From-SVN: r216694

10 years agoDaily bump.
GCC Administrator [Sat, 25 Oct 2014 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r216684

10 years ago[AArch64] Backport --enable-fix-cortex-a53-835769 configure option
Kyrylo Tkachov [Fri, 24 Oct 2014 12:22:47 +0000 (12:22 +0000)] 
[AArch64] Backport --enable-fix-cortex-a53-835769 configure option

* config.gcc (aarch64*-*-*): Define TARGET_FIX_ERR_A53_835769_DEFAULT
if asked.
* configure.ac: Add --enable-fix-cortex-a53-835769 option.
* configure: Regenerate.
* config/aarch64/aarch64.c (aarch64_override_options): Handle
TARGET_FIX_ERR_A53_835769_DEFAULT.
* config/aarch64/aarch64.opt (mfix-cortex-a53-835769): Set Init value
to 2.
* doc/install.texi: Document --enable-fix-cortex-a53-835769 option.

From-SVN: r216665

10 years ago[AArch64][4.8] Backport Cortex-A53 erratum 835769 workaround
Kyrylo Tkachov [Fri, 24 Oct 2014 12:21:19 +0000 (12:21 +0000)] 
[AArch64][4.8] Backport Cortex-A53 erratum 835769 workaround

* config/aarch64/aarch64.opt (mfix-cortex-a53-835769): New option.
* config/aarch64/aarch64.h (ADJUST_INSN_LENGTH): Define.
(FINAL_PRESCAN_INSN): Likewise.
* config/aarch64/aarch64.h (is_mem_p): New function.
(has_memory_op): Likewise.
(aarch64_prev_real_insn): Likewise.
(is_madd_op): Likewise.
(dep_between_memop_and_curr): Likewise.
(aarch64_madd_needs_nop): Likewise.
(aarch64_final_prescan_insn): Likewise.
* doc/invoke.texi (Document new option).

From-SVN: r216664

10 years agoDaily bump.
GCC Administrator [Fri, 24 Oct 2014 00:16:28 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r216607

10 years agoDaily bump.
GCC Administrator [Thu, 23 Oct 2014 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r216569

10 years agoDaily bump.
GCC Administrator [Wed, 22 Oct 2014 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r216536

10 years agoDaily bump.
GCC Administrator [Tue, 21 Oct 2014 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r216498

10 years agoPR 63589 Fix splitting of PATH in find_addr2line.
Janne Blomqvist [Mon, 20 Oct 2014 08:16:06 +0000 (11:16 +0300)] 
PR 63589 Fix splitting of PATH in find_addr2line.

2014-10-20  Janne Blomqvist  <jb@gcc.gnu.org>

PR libfortran/63589
* configure.ac: Check for strtok_r.
* runtime/main.c (gfstrtok_r): Fallback implementation of
strtok_r.
(find_addr2line): Use strtok_r to split PATH.
* config.h.in: Regenerated.
* configure: Regenerated.

From-SVN: r216451

10 years agoDaily bump.
GCC Administrator [Mon, 20 Oct 2014 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r216445

10 years agoDaily bump.
GCC Administrator [Sun, 19 Oct 2014 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r216430

10 years agoDaily bump.
GCC Administrator [Sat, 18 Oct 2014 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r216417

10 years agoDaily bump.
GCC Administrator [Fri, 17 Oct 2014 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r216356

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

From-SVN: r216293

10 years agore PR c++/63455 (decltype of statement expression internal compiler error: in cp_par...
Jason Merrill [Wed, 15 Oct 2014 16:46:35 +0000 (12:46 -0400)] 
re PR c++/63455 (decltype of statement expression  internal compiler error: in cp_parser_abort_tentative_parse, at cp/parser.c:25062)

PR c++/63455
Revert:
* parser.c (cp_parser_abort_tentative_parse): Make sure we haven't
committed to this tentative parse.

From-SVN: r216277

10 years agore PR c++/63415 (internal compiler error: unexpected expression ‘static_cast<int...
Jason Merrill [Wed, 15 Oct 2014 16:46:29 +0000 (12:46 -0400)] 
re PR c++/63415 (internal compiler error: unexpected expression ‘static_cast<int>(std::is_same<T, A1>{})’ of kind static_cast_expr)

PR c++/63415
* pt.c (value_dependent_expression_p) [CONSTRUCTOR]: Check the type.
(iterative_hash_template_arg): Likewise.

From-SVN: r216276

10 years agore PR c++/56710 (Using reserved double underscore variable name in a lambda causes...
Jason Merrill [Wed, 15 Oct 2014 16:46:23 +0000 (12:46 -0400)] 
re PR c++/56710 (Using reserved double underscore variable name in a lambda causes internal compiler error)

PR c++/56710
* semantics.c (finish_member_declaration): Don't push closure
members.

From-SVN: r216275

10 years agodyncast.cc (__dynamic_cast): Handle mid-destruction dynamic_cast more gracefully.
Jason Merrill [Wed, 15 Oct 2014 16:46:17 +0000 (12:46 -0400)] 
dyncast.cc (__dynamic_cast): Handle mid-destruction dynamic_cast more gracefully.

* libsupc++/dyncast.cc (__dynamic_cast): Handle mid-destruction
dynamic_cast more gracefully.

From-SVN: r216274

10 years agore PR middle-end/58624 (gcc internal compiler error: Segmentaion fault in insert_to_a...
Jason Merrill [Wed, 15 Oct 2014 16:46:11 +0000 (12:46 -0400)] 
re PR middle-end/58624 (gcc internal compiler error: Segmentaion fault in insert_to_assembler_name_hash)

PR c++/58624
* pt.c (tsubst_copy_and_build) [VAR_DECL]: Use TLS wrapper.
* semantics.c (finish_id_expression): Don't call TLS wrapper in a
template.

From-SVN: r216273

10 years ago* stor-layout.c (self_referential_size): Do not promote arguments.
Eric Botcazou [Wed, 15 Oct 2014 10:30:03 +0000 (10:30 +0000)] 
* stor-layout.c (self_referential_size): Do not promote arguments.

From-SVN: r216251

10 years agoDaily bump.
GCC Administrator [Wed, 15 Oct 2014 00:16:10 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r216226

10 years agore PR libstdc++/57440 (Memory usage with future and std containers)
Kai Tietz [Tue, 14 Oct 2014 17:06:27 +0000 (19:06 +0200)] 
re PR libstdc++/57440 (Memory usage with future and std containers)

PR libstdc++/57440
* config/os/mingw32/os_defines.h (_GTHREAD_USE_MUTEX_INIT_FUNC):
Define to avoid leak.
* config/os/mingw32-w64/os_defines.h: Likewise.

From-SVN: r216213

10 years agoDaily bump.
GCC Administrator [Tue, 14 Oct 2014 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r216170

10 years agore PR ada/63225 (ada bootstrap failure when -fno-inline in STAGE1_CFLAGS)
Eric Botcazou [Mon, 13 Oct 2014 08:21:19 +0000 (08:21 +0000)] 
re PR ada/63225 (ada bootstrap failure when -fno-inline in STAGE1_CFLAGS)

PR ada/63225
* uintp.adb (Vector_To_Uint): Move from here to...
* uintp.ads (UI_Vector): Make public.
(Vector_To_Uint): ...here.

Co-Authored-By: Alan Modra <amodra@gmail.com>
From-SVN: r216141

10 years agobackport: rs6000-c.c (altivec_resolve_overloaded_builtin): Issue a warning message...
Bill Schmidt [Mon, 13 Oct 2014 02:35:03 +0000 (02:35 +0000)] 
backport: rs6000-c.c (altivec_resolve_overloaded_builtin): Issue a warning message when vec_lvsl or vec_lvsr is used with a little endian...

[gcc]

2014-10-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

Backport from mainline r215880
2014-10-03  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin):
Issue a warning message when vec_lvsl or vec_lvsr is used with a
little endian target.

Backport from mainline r215882
2014-10-03  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* altivec.md (altivec_lvsl): New define_expand.
(altivec_lvsl_direct): Rename define_insn from altivec_lvsl.
(altivec_lvsr): New define_expand.
(altivec_lvsr_direct): Rename define_insn from altivec_lvsr.
* rs6000.c (rs6000_expand_builtin): Change to use
altivec_lvs[lr]_direct; remove commented-out code.

[gcc/testsuite]

2014-10-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

Backport from mainline r215880
2014-10-03  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* g++.dg/ext/altivec-2.C: Compile with -Wno-deprecated to avoid
failing with the new warning message.
* gcc.dg/vmx/3c-01a.c: Likewise.
* gcc.dg/vmx/ops-long-1.c: Likewise.
* gcc.dg/vmx/ops.c: Likewise.
* gcc.target/powerpc/altivec-20.c: Likewise.
* gcc.target/powerpc/altivec-6.c: Likewise.
* gcc.target/powerpc/altivec-vec-merge.c: Likewise.
* gcc.target/powerpc/vsx-builtin-8.c: Likewise.
* gcc.target/powerpc/warn-lvsl-lvsr.c: New test.

Backport from mainline r215882
2014-10-03  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* gcc.target/powerpc/lvsl-lvsr.c: New test.

Backport from mainline r216017
2014-10-08  Pat Haugen  <pthaugen@us.ibm.com>

* gcc.dg/vmx/3c-01a.c: Add default options from vmx.exp.
* gcc.dg/vmx/ops.c: Likewise.
* gcc.dg/vmx/ops-long-1.c: Likewise.

From-SVN: r216135

10 years agobackport: lex.c (search_line_fast): Add new version to be used for Power8 and later...
Bill Schmidt [Mon, 13 Oct 2014 01:42:03 +0000 (01:42 +0000)] 
backport: lex.c (search_line_fast): Add new version to be used for Power8 and later targets when Altivec is enabled.

2014-10-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

Backport from mainline r215873
2014-10-03  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* lex.c (search_line_fast): Add new version to be used for Power8
and later targets when Altivec is enabled.  Restrict the existing
Altivec version to big-endian systems so that lvsr is not used on
little endian, where it is deprecated.  Remove LE-specific code
from the now-BE-only version.

From-SVN: r216133

10 years agoDaily bump.
GCC Administrator [Mon, 13 Oct 2014 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r216129

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

From-SVN: r216121

10 years agoDaily bump.
GCC Administrator [Sat, 11 Oct 2014 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r216111

10 years agore PR fortran/59488 ([OpenMP] named constant in parallel construct leads to "not...
Jakub Jelinek [Fri, 10 Oct 2014 11:24:31 +0000 (13:24 +0200)] 
re PR fortran/59488 ([OpenMP] named constant in parallel construct leads to "not specified in enclosing parallel" error.)

PR fortran/59488
* trans-openmp.c (gfc_omp_predetermined_sharing): Return
OMP_CLAUSE_DEFAULT_SHARED for parameters or vtables.

* gfortran.dg/gomp/pr59488-1.f90: New test.
* gfortran.dg/gomp/pr59488-2.f90: New test.

From-SVN: r216071

10 years agoDaily bump.
GCC Administrator [Fri, 10 Oct 2014 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r216052

10 years agobackport: re PR rtl-optimization/57003 (gcc breaks -O2 optimization with Wine(64...
Uros Bizjak [Thu, 9 Oct 2014 09:05:37 +0000 (11:05 +0200)] 
backport: re PR rtl-optimization/57003 (gcc breaks -O2 optimization with Wine(64) - links/info/bisect of commits included)

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

PR rtl-optimization/57003
* regcprop.c (copyprop_hardreg_forward_1): If ksvd.ignore_set_reg,
also check CALL_INSN_FUNCTION_USAGE for clobbers again after
killing regs_invalidated_by_call.

From-SVN: r216035

10 years agoDaily bump.
GCC Administrator [Thu, 9 Oct 2014 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r216021

10 years agobackport: re PR target/52941 (SH Target: Add support for movco.l / movli.l atomics...
Oleg Endo [Wed, 8 Oct 2014 23:17:42 +0000 (23:17 +0000)] 
backport: re PR target/52941 (SH Target: Add support for movco.l / movli.l atomics on SH4A)

gcc/
Backport from mainline
2014-10-08  Oleg Endo  <olegendo@gcc.gnu.org>

PR target/52941
* config/sh/sync.md (atomic_exchangesi_hard, atomic_exchange<mode>_hard,
atomic_fetch_<fetchop_name>si_hard,
atomic_fetch_<fetchop_name><mode>_hard, atomic_fetch_nandsi_hard,
atomic_fetch_nand<mode>_hard, atomic_<fetchop_name>_fetchsi_hard,
atomic_<fetchop_name>_fetch<mode>_hard, atomic_nand_fetchsi_hard,
atomic_nand_fetch<mode>_hard): Add missing set of T_REG.

From-SVN: r216020

10 years agoDaily bump.
GCC Administrator [Wed, 8 Oct 2014 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r215988

10 years agoDaily bump.
GCC Administrator [Tue, 7 Oct 2014 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r215959

10 years agoDaily bump.
GCC Administrator [Mon, 6 Oct 2014 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r215910

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

From-SVN: r215891

10 years agoDaily bump.
GCC Administrator [Sat, 4 Oct 2014 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r215883

10 years agore PR libstdc++/63449 (documentation of vector space overhead management)
Jonathan Wakely [Fri, 3 Oct 2014 15:01:36 +0000 (16:01 +0100)] 
re PR libstdc++/63449 (documentation of vector space overhead management)

PR libstdc++/63449
* doc/xml/manual/containers.xml: Remove outdated section. Update
std::list notes.
* doc/html/*: Regenerate.

From-SVN: r215855

10 years agoDaily bump.
GCC Administrator [Fri, 3 Oct 2014 00:16:36 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r215827

10 years agore PR rtl-optimization/63375 (reordering of reads across fences)
Martin Jambor [Thu, 2 Oct 2014 17:13:30 +0000 (19:13 +0200)] 
re PR rtl-optimization/63375 (reordering of reads across fences)

2014-10-02  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/63375
* tree-sra.c (build_access_from_expr_1): Disqualify volatile
references.

From-SVN: r215807

10 years agoDaily bump.
GCC Administrator [Thu, 2 Oct 2014 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r215786

10 years agore PR debug/63342 (ICE in loc_list_from_tree, at dwarf2out.c:14698)
Jakub Jelinek [Wed, 1 Oct 2014 21:01:39 +0000 (23:01 +0200)] 
re PR debug/63342 (ICE in loc_list_from_tree, at dwarf2out.c:14698)

PR debug/63342
* dwarf2out.c (loc_list_from_tree): Handle TARGET_MEM_REF and
SSA_NAME.

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

From-SVN: r215784

10 years agore PR target/63428 (vshuf-v4di.c miscompilation)
Jakub Jelinek [Wed, 1 Oct 2014 20:47:29 +0000 (22:47 +0200)] 
re PR target/63428 (vshuf-v4di.c miscompilation)

PR target/63428
* config/i386/i386.c (expand_vec_perm_pshufb): Fix up rperm[0]
argument to avx2_permv2ti.

* gcc.dg/torture/vshuf-4.inc: Move test 122 from EXPTESTS
to test 24 in TESTS.

From-SVN: r215781

10 years agobackport: i386.md (fmodxf3): Enable for flag_finite_math_only only.
Uros Bizjak [Wed, 1 Oct 2014 17:41:47 +0000 (19:41 +0200)] 
backport: i386.md (fmodxf3): Enable for flag_finite_math_only only.

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

* config/i386/i386.md (fmodxf3): Enable for flag_finite_math_only only.
(fmod<mode>3): Ditto.
(fpremxf4_i387): Ditto.
(reminderxf3): Ditto.
(reminder<mode>3): Ditto.
(fprem1xf4_i387): Ditto.

From-SVN: r215773

10 years ago* lib/target-supports.exp
Uros Bizjak [Wed, 1 Oct 2014 17:00:57 +0000 (19:00 +0200)] 
* lib/target-supports.exp
(check_effective_target_fenv_exceptions): Fix commit.

From-SVN: r215770

10 years agoBackport from mainline
Uros Bizjak [Wed, 1 Oct 2014 16:57:15 +0000 (18:57 +0200)] 
Backport from mainline
2013-11-07  Joseph Myers  <joseph@codesourcery.com>

* lib/target-supports.exp
(check_effective_target_fenv_exceptions): New function.

From-SVN: r215769

10 years agostatus_cxx2011.xml: Corrections.
Jonathan Wakely [Wed, 1 Oct 2014 13:21:38 +0000 (14:21 +0100)] 
status_cxx2011.xml: Corrections.

* doc/xml/manual/status_cxx2011.xml: Corrections.
* doc/html/manual/status.html: Regenerate.

From-SVN: r215763

10 years agoDaily bump.
GCC Administrator [Wed, 1 Oct 2014 00:16:21 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r215745

10 years agore PR inline-asm/63282 (ICE in redirect_jump_1)
Jakub Jelinek [Tue, 30 Sep 2014 10:39:03 +0000 (12:39 +0200)] 
re PR inline-asm/63282 (ICE in redirect_jump_1)

PR inline-asm/63282
* ifcvt.c (dead_or_predicable): Don't call redirect_jump_1
or invert_jump_1 if jump isn't any_condjump_p.

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

From-SVN: r215714

10 years agoDaily bump.
GCC Administrator [Tue, 30 Sep 2014 00:16:27 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r215700

10 years agobackport: re PR target/49423 ([arm] internal compiler error: in push_minipool_fix)
Charles Baylis [Mon, 29 Sep 2014 17:07:47 +0000 (17:07 +0000)] 
backport: re PR target/49423 ([arm] internal compiler error: in push_minipool_fix)

2014-09-29  Charles Baylis  <charles.baylis@linaro.org>

        Backport from mainline r212303
        PR target/49423
        * config/arm/arm-protos.h (arm_legitimate_address_p,
        arm_is_constant_pool_ref): Add prototypes.
        * config/arm/arm.c (arm_legitimate_address_p): Remove static.
        (arm_is_constant_pool_ref) New function.
        * config/arm/arm.md (unaligned_loadhis, arm_zero_extendhisi2_v6,
        arm_zero_extendqisi2_v6): Use Uh constraint for memory operand.
        (arm_extendhisi2, arm_extendhisi2_v6): Use Uh constraint for memory
        operand and remove pool_range and neg_pool_range attributes.
        (arm_extendqihi_insn, arm_extendqisi, arm_extendqisi_v6): Remove
        pool_range and neg_pool_range attributes.
        * config/arm/constraints.md (Uh): New constraint. (Uq): Don't allow
        constant pool references.

From-SVN: r215686

10 years agoDaily bump.
GCC Administrator [Mon, 29 Sep 2014 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r215673

10 years agopa.c (pa_output_function_epilogue): Only update last_address when a nonnote insn...
John David Anglin [Sun, 28 Sep 2014 15:42:26 +0000 (15:42 +0000)] 
pa.c (pa_output_function_epilogue): Only update last_address when a nonnote insn is found.

* config/pa/pa.c (pa_output_function_epilogue): Only update
last_address when a nonnote insn is found.

From-SVN: r215671

10 years agoDaily bump.
GCC Administrator [Sun, 28 Sep 2014 00:16:22 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r215660

10 years agoDaily bump.
GCC Administrator [Sat, 27 Sep 2014 00:16:18 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r215652

10 years agostruct-layout-1_generate.c: Add -Wno-abi to default options.
Jakub Jelinek [Fri, 26 Sep 2014 08:35:58 +0000 (10:35 +0200)] 
struct-layout-1_generate.c: Add -Wno-abi to default options.

* g++.dg/compat/struct-layout-1_generate.c: Add -Wno-abi
to default options.

From-SVN: r215637

10 years agoDaily bump.
GCC Administrator [Fri, 26 Sep 2014 00:16:23 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r215624

10 years agobackport: re PR target/62218 (gcc produces invalid SH instruction (stc r2,sr) when...
Oleg Endo [Thu, 25 Sep 2014 16:00:58 +0000 (16:00 +0000)] 
backport: re PR target/62218 (gcc produces invalid SH instruction (stc r2,sr) when building libgcc)

gcc/
2014-09-25  Oleg Endo  <olegendo@gcc.gnu.org>

Backport from mainline
2014-09-25  Nick Clifton  <nickc@redhat.com>
2014-09-25  Oleg Endo  <olegendo@gcc.gnu.org>

PR target/62218
* config/sh/sync.md (atomic_fetch_nand<mode>_soft_imask,
atomic_test_and_set_soft_imask): Fix typo in instruction sequence.

From-SVN: r215609

10 years agore PR target/63335 (GCC:failures for vector double on calls to bif vec_[all|any]_...
Bill Schmidt [Thu, 25 Sep 2014 15:15:06 +0000 (15:15 +0000)] 
re PR target/63335 (GCC:failures for vector double on calls to bif vec_[all|any]_[nge|nle])

[gcc]

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

PR target/63335
* config/rs6000/rs6000-c.c (altivec_build_resolved_builtin):
Exclude VSX_BUILTIN_XVCMPGEDP_P from special handling.

[gcc/testsuite]

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

PR target/63335
* gcc.target/powerpc/pr63335.c: New test.

From-SVN: r215604

10 years agore PR tree-optimization/63341 (Vectorization miscompilation with -mcpu=power7)
Jakub Jelinek [Thu, 25 Sep 2014 08:19:14 +0000 (10:19 +0200)] 
re PR tree-optimization/63341 (Vectorization miscompilation with -mcpu=power7)

PR tree-optimization/63341
* tree-vectorizer.h (vect_create_data_ref_ptr,
vect_create_addr_base_for_vector_ref): Add another tree argument
defaulting to NULL_TREE.
* tree-vect-data-refs.c (vect_create_data_ref_ptr): Add byte_offset
argument, pass it down to vect_create_addr_base_for_vector_ref.
(vect_create_addr_base_for_vector_ref): Add byte_offset argument,
add that to base_offset too if non-NULL.
* tree-vect-stmts.c (vectorizable_load): Add byte_offset variable,
for dr_explicit_realign_optimized set it to vector byte size
- 1 instead of setting offset, pass byte_offset down to
vect_create_data_ref_ptr.

* gcc.dg/vect/pr63341-1.c: New test.
* gcc.dg/vect/pr63341-2.c: New test.

From-SVN: r215587

10 years agoDaily bump.
GCC Administrator [Thu, 25 Sep 2014 00:16:23 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r215572

10 years agoDaily bump.
GCC Administrator [Wed, 24 Sep 2014 00:16:23 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r215534

10 years agors6000.md (f32_vsx): New mode attributes to refine the constraints used on 32/64...
Michael Meissner [Tue, 23 Sep 2014 17:32:37 +0000 (17:32 +0000)] 
rs6000.md (f32_vsx): New mode attributes to refine the constraints used on 32/64-bit floating point...

2014-09-23  Michael Meissner  <meissner@linux.vnet.ibm.com>

* config/rs6000/rs6000.md (f32_vsx): New mode attributes to
refine the constraints used on 32/64-bit floating point moves.
(f32_av): Likewise.
(f64_vsx): Likewise.
(f64_dm): Likewise.
(f64_av): Likewise.
(BOOL_REGS_OUTPUT): Use wt constraint for TImode instead of wa.
(BOOL_REGS_OP1): Likewise.
(BOOL_REGS_OP2): Likewise.
(BOOL_REGS_UNARY): Likewise.
(mov<mode>_hardfloat, SFmode/SDmode): Tighten down constraints for
32/64-bit floating point moves.  Do not use wa, instead use ww/ws
for moves involving VSX registers.  Do not use constraints that
target VSX registers for decimal types.
(mov<mode>_hardfloat32, DFmode/DDmode): Likewise.
(mov<mode>_hardfloat64, DFmode/DDmode): Likewise.

From-SVN: r215524

10 years agors6000.md (f32_vsx): New mode attributes to refine the constraints used on 32/64...
Michael Meissner [Tue, 23 Sep 2014 17:31:26 +0000 (17:31 +0000)] 
rs6000.md (f32_vsx): New mode attributes to refine the constraints used on 32/64-bit floating point...

2014-09-23  Michael Meissner  <meissner@linux.vnet.ibm.com>

* config/rs6000/rs6000.md (f32_vsx): New mode attributes to
refine the constraints used on 32/64-bit floating point moves.
(f32_av): Likewise.
(f64_vsx): Likewise.
(f64_dm): Likewise.
(f64_av): Likewise.
(BOOL_REGS_OUTPUT): Use wt constraint for TImode instead of wa.
(BOOL_REGS_OP1): Likewise.
(BOOL_REGS_OP2): Likewise.
(BOOL_REGS_UNARY): Likewise.
(mov<mode>_hardfloat, SFmode/SDmode): Tighten down constraints for
32/64-bit floating point moves.  Do not use wa, instead use ww/ws
for moves involving VSX registers.  Do not use constraints that
target VSX registers for decimal types.
(mov<mode>_hardfloat32, DFmode/DDmode): Likewise.
(mov<mode>_hardfloat64, DFmode/DDmode): Likewise.

From-SVN: r215523

10 years agoDaily bump.
GCC Administrator [Tue, 23 Sep 2014 00:16:14 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r215487

10 years agoDaily bump.
GCC Administrator [Mon, 22 Sep 2014 00:16:35 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r215440

10 years agoDaily bump.
GCC Administrator [Sun, 21 Sep 2014 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r215424

10 years agoDaily bump.
GCC Administrator [Sat, 20 Sep 2014 00:16:19 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r215410

10 years agobackport: predicates.md (fusion_gpr_mem_load): Move testing for base_reg_operand...
Michael Meissner [Fri, 19 Sep 2014 22:14:58 +0000 (22:14 +0000)] 
backport: predicates.md (fusion_gpr_mem_load): Move testing for base_reg_operand to be common between LO_SUM and PLUS.

2014-09-19  Michael Meissner  <meissner@linux.vnet.ibm.com>

Back port from trunk:
2014-09-19  Michael Meissner  <meissner@linux.vnet.ibm.com>

* config/rs6000/predicates.md (fusion_gpr_mem_load): Move testing
for base_reg_operand to be common between LO_SUM and PLUS.
(fusion_gpr_mem_combo): New predicate to match a fused address
that combines the addis and memory offset address.

* config/rs6000/rs6000-protos.h (fusion_gpr_load_p): Change
calling signature.
(emit_fusion_gpr_load): Likewise.

* config/rs6000/rs6000.c (fusion_gpr_load_p): Change calling
signature to pass each argument separately, rather than
using an operands array.  Rewrite the insns found by peephole2 to
be a single insn, rather than hoping the insns will still be
together when the peephole pass is done.  Drop being called via a
normal peephole.
(emit_fusion_gpr_load): Change calling signature to be called from
the fusion_gpr_load_<mode> insns with a combined memory address
instead of the peephole pass passing the addis and offset
separately.

* config/rs6000/rs6000.md (UNSPEC_FUSION_GPR): New unspec for GPR
fusion.
(power8 fusion peephole): Drop support for doing power8 via a
normal peephole that was created by the peephole2 pass.
(power8 fusion peephole2): Create a new insn with the fused
address, so that the fused operation is kept together after
register allocation is done.
(fusion_gpr_load_<mode>): Likewise.

From-SVN: r215406

10 years agoDaily bump.
GCC Administrator [Fri, 19 Sep 2014 00:16:24 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r215371

10 years agoFix i386 FP_TRAPPING_EXCEPTIONS.
Joseph Myers [Thu, 18 Sep 2014 12:04:43 +0000 (13:04 +0100)] 
Fix i386 FP_TRAPPING_EXCEPTIONS.

The i386 sfp-machine.h defines FP_TRAPPING_EXCEPTIONS in a way that is
always wrong: it treats a set bit as indicating the exception is
trapping, when actually a set bit (both for 387 and SSE floating
point) indicates it is masked, and a clear bit indicates it is
trapping.  This patch fixes this bug.

Bootstrapped with no regressions on x86_64-unknown-linux-gnu.

libgcc:
* config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
bits not set bits as indicating trapping exceptions.

gcc/testsuite:
* gcc.dg/torture/float128-exact-underflow.c: New test.

From-SVN: r215349

10 years agoDaily bump.
GCC Administrator [Thu, 18 Sep 2014 00:16:21 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r215342

10 years agore PR debug/63284 (-fcompare-debug issue due to redirection to __builtin_unreachable ())
Jakub Jelinek [Wed, 17 Sep 2014 19:08:06 +0000 (21:08 +0200)] 
re PR debug/63284 (-fcompare-debug issue due to redirection to __builtin_unreachable ())

PR debug/63284
* tree-cfgcleanup.c (fixup_noreturn_call): Don't split block
if there are only debug stmts after the noreturn call, instead
remove the debug stmts.

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

From-SVN: r215333

10 years agoDaily bump.
GCC Administrator [Wed, 17 Sep 2014 00:16:22 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r215311

10 years agoDaily bump.
GCC Administrator [Tue, 16 Sep 2014 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r215278

10 years agoDaily bump.
GCC Administrator [Mon, 15 Sep 2014 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r215255

10 years agoDaily bump.
GCC Administrator [Sun, 14 Sep 2014 00:16:22 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r215248

10 years agoDaily bump.
GCC Administrator [Sat, 13 Sep 2014 00:16:11 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r215231

10 years agoDaily bump.
GCC Administrator [Fri, 12 Sep 2014 00:16:23 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r215197

10 years agolinux64.S: Emit .note.GNU-stack even when POWERPC64 is not defined.
Jakub Jelinek [Thu, 11 Sep 2014 09:05:12 +0000 (11:05 +0200)] 
linux64.S: Emit .note.GNU-stack even when POWERPC64 is not defined.

* src/powerpc/linux64.S: Emit .note.GNU-stack even when
POWERPC64 is not defined.
* src/powerpc/linux64_closure.S: Likewise.  Also test _CALL_ELF == 2.

From-SVN: r215157

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

From-SVN: r215145

10 years agovsx.md (vsx_fmav4sf4): Use correct constraints for V2DF, V4SF, DF, and DI modes.
Michael Meissner [Wed, 10 Sep 2014 23:20:48 +0000 (23:20 +0000)] 
vsx.md (vsx_fmav4sf4): Use correct constraints for V2DF, V4SF, DF, and DI modes.

2014-09-10  Michael Meissner  <meissner@linux.vnet.ibm.com>

* config/rs6000/vsx.md (vsx_fmav4sf4): Use correct constraints for
V2DF, V4SF, DF, and DI modes.
(vsx_fmav2df2): Likewise.
(vsx_float_fix_<mode>2): Likewise.
(vsx_reduc_<VEC_reduc_name>_v2df_scalar): Likewise.

From-SVN: r215143

10 years agore PR debug/60655 (ICE: output_operand: invalid expression as operand)
Alan Modra [Wed, 10 Sep 2014 05:02:28 +0000 (14:32 +0930)] 
re PR debug/60655 (ICE: output_operand: invalid expression as operand)

PR debug/60655
* dwarf2out.c (mem_loc_descriptor <PLUS>): Return NULL if addend
can't be output.

From-SVN: r215103

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

From-SVN: r215097

10 years agobackport: re PR tree-optimization/61452 (hang at -O1 and -Os on x86_64-linux-gnu)
Richard Biener [Tue, 9 Sep 2014 14:45:57 +0000 (14:45 +0000)] 
backport: re PR tree-optimization/61452 (hang at -O1 and -Os on x86_64-linux-gnu)

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

Backport from mainline
2014-06-11  Richard Biener  <rguenther@suse.de>

PR tree-optimization/61452
* tree-ssa-sccvn.c (visit_phi): Remove pointless setting of
expr and has_constants in case we found a leader.
(simplify_binary_expression): Always valueize operands first.
(simplify_unary_expression): Likewise.

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

From-SVN: r215081

10 years agobackport: [multiple changes]
Richard Biener [Tue, 9 Sep 2014 13:17:51 +0000 (13:17 +0000)] 
backport: [multiple changes]

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

Backport from mainline
2014-05-05  Richard Biener  <rguenther@suse.de>

PR middle-end/61010
* fold-const.c (fold_binary_loc): Consistently avoid
canonicalizing X & CST away from a CST that is the mask
of a mode.

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

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

PR middle-end/61045
* fold-const.c (fold_comparison): When folding
X +- C1 CMP Y +- C2 to X CMP Y +- C2 +- C1 also ensure
the sign of the remaining constant operand stays the same.

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

2014-08-11  Richard Biener  <rguenther@suse.de>

PR tree-optimization/62075
* tree-vect-slp.c (vect_detect_hybrid_slp_stmts): Properly
handle uses in patterns.

* gcc.dg/vect/pr62075.c: New testcase.

From-SVN: r215073

10 years ago[Obvious] Fix Linux to GNU/LINUX in ARM options documentation
James Greenhalgh [Tue, 9 Sep 2014 12:38:15 +0000 (12:38 +0000)] 
[Obvious] Fix Linux to GNU/LINUX in ARM options documentation

gcc/

* doc/invoke.texi (-march): Use GNU/Linux rather than Linux.
(-mtune): Likewise.
(-mcpu): Likewise.

From-SVN: r215068

10 years agoDaily bump.
GCC Administrator [Tue, 9 Sep 2014 00:16:30 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r215034

10 years agore PR tree-optimization/60196 (Incorrect compilation with -fwrapv and -ftree-vectorize)
Jakub Jelinek [Mon, 8 Sep 2014 20:07:29 +0000 (22:07 +0200)] 
re PR tree-optimization/60196 (Incorrect compilation with -fwrapv and -ftree-vectorize)

PR tree-optimization/60196
PR tree-optimization/63189
Backported from mainline
2013-09-17  Cong Hou  <congh@google.com>

* tree-vect-patterns.c (vect_recog_dot_prod_pattern): Fix a bug
when checking the dot production pattern. The type of rhs operand
of multiply is now checked correctly.

* gcc.dg/vect/pr63189.c: New test.
* gcc.dg/vect/pr60196-1.c: New test.
* gcc.dg/vect/pr60196-2.c: New test.

Backported from mainline
2013-09-17  Cong Hou  <congh@google.com>

* gcc.dg/vect/vect-reduc-dot-s16c.c: Add a test case with dot product
on two arrays with short and int types. This should not be recognized
as a dot product pattern.

From-SVN: r215024

10 years agobackport: re PR debug/61923 (-fcompare-debug errors while building Linux kernel.)
Jakub Jelinek [Mon, 8 Sep 2014 19:07:00 +0000 (21:07 +0200)] 
backport: re PR debug/61923 (-fcompare-debug errors while building Linux kernel.)

Backported from mainline
2014-08-06  Vladimir Makarov  <vmakarov@redhat.com>

PR debug/61923
* haifa-sched.c (advance_one_cycle): Fix dump.
(schedule_block): Don't advance cycle if we are already at the
beginning of the cycle.

* gcc.target/i386/pr61923.c: New test.

From-SVN: r215020

10 years agoDaily bump.
GCC Administrator [Mon, 8 Sep 2014 00:16:34 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r215006

10 years agoDaily bump.
GCC Administrator [Sun, 7 Sep 2014 00:16:14 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r214999