]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
9 years agoFix assertions for move assignment of trivial types
Jonathan Wakely [Wed, 20 Apr 2016 14:30:39 +0000 (15:30 +0100)] 
Fix assertions for move assignment of trivial types

Backport from mainline
2016-01-26  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/69478
* include/bits/stl_algobase.h (__copy_move<_IsMove, true,
random_access_iterator_tag>): Check is_move_assignable when moving.
(__copy_move_backwards<_IsMove, true, random_access_iterator_tag>):
Likewise.
* testsuite/25_algorithms/copy/move_iterators/69478.cc: New.
* testsuite/25_algorithms/copy_backward/move_iterators/69478.cc: New.
* testsuite/25_algorithms/move/69478.cc: New.
* testsuite/25_algorithms/move_backward/69478.cc: New.

From-SVN: r235285

9 years agoEnsure std::thread helpers have internal linkage
Jonathan Wakely [Wed, 20 Apr 2016 14:30:33 +0000 (15:30 +0100)] 
Ensure std::thread helpers have internal linkage

Backport from mainline
2016-04-05  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/70503
* src/c++11/thread.cc (execute_native_thread_routine,
execute_native_thread_routine_compat): Give internal linkage.
* testsuite/30_threads/thread/70503.cc: New test.

From-SVN: r235284

9 years agoDaily bump.
GCC Administrator [Wed, 20 Apr 2016 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r235227

9 years agoDaily bump.
GCC Administrator [Tue, 19 Apr 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r235179

9 years agoDaily bump.
GCC Administrator [Mon, 18 Apr 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r235087

9 years agoDaily bump.
GCC Administrator [Sun, 17 Apr 2016 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r235067

9 years agoDaily bump.
GCC Administrator [Sat, 16 Apr 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r235055

9 years agoDaily bump.
GCC Administrator [Fri, 15 Apr 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r234997

9 years agoDaily bump.
GCC Administrator [Thu, 14 Apr 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r234967

9 years ago[ARM] PR target/70566 Check that condition register is dead in tst-imm -> lsls-imm...
Kyrylo Tkachov [Wed, 13 Apr 2016 08:24:43 +0000 (08:24 +0000)] 
[ARM] PR target/70566 Check that condition register is dead in tst-imm -> lsls-imm Thumb2 peepholes

Backport from mainline
2016-04-08  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

PR target/70566
* config/arm/thumb2.md (tst + branch-> lsls + branch
peephole below *orsi_not_shiftsi_si): Require that condition
register is dead after the peephole.
(second peephole after the above): Likewise.

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

From-SVN: r234931

9 years agoDaily bump.
GCC Administrator [Wed, 13 Apr 2016 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r234927

9 years agoFix target/70107, another case of PR c++/70096
Alan Modra [Tue, 12 Apr 2016 22:59:05 +0000 (08:29 +0930)] 
Fix target/70107, another case of PR c++/70096

gcc/cp/
PR target/70107
PR c++/70096
* pt.c (tsubst_decl): Clear the DECL_MODE of the new decl.

gcc/testsuite/
* g++.dg/template/ptrmem30.C (read): Rename to data_read.
(Holder::foo): Reflect this.

PR c++/70096
* g++.dg/template/ptrmem30.C: New test.

From-SVN: r234925

9 years agore PR target/70630 (sparc bootstrap failure: sparc.c:4919:6: error: suggest explicit...
Eric Botcazou [Tue, 12 Apr 2016 20:56:11 +0000 (20:56 +0000)] 
re PR target/70630 (sparc bootstrap failure: sparc.c:4919:6: error: suggest explicit braces to avoid ambiguous 'else')

2016-04-12  Eric Botcazou  <ebotcazou@adacore.com>

PR target/70630
* config/sparc/sparc.c (sparc_compute_frame_size): Add parentheses.

From-SVN: r234920

9 years agoDaily bump.
GCC Administrator [Tue, 12 Apr 2016 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r234890

9 years agoPR70117, ppc long double isinf
Alan Modra [Mon, 11 Apr 2016 13:47:40 +0000 (23:17 +0930)] 
PR70117, ppc long double isinf

gcc/
PR target/70117
* builtins.c (fold_builtin_classify): For IBM extended precision,
look at just the high-order double to test for NaN.
(fold_builtin_interclass_mathfn): Similarly for Inf.  For isnormal
test just the high double for Inf but both doubles for subnormal
limit.
gcc/testsuite/
* gcc.target/powerpc/pr70117.c: New.

From-SVN: r234881

9 years agoDaily bump.
GCC Administrator [Mon, 11 Apr 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r234870

9 years agoDaily bump.
GCC Administrator [Sun, 10 Apr 2016 00:16:10 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r234865

9 years agoDaily bump.
GCC Administrator [Sat, 9 Apr 2016 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r234844

9 years agoDaily bump.
GCC Administrator [Fri, 8 Apr 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r234818

9 years agoDaily bump.
GCC Administrator [Thu, 7 Apr 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r234803

9 years agoDaily bump.
GCC Administrator [Wed, 6 Apr 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r234769

9 years agopredicates.md (integer_store_memory_operand): Accept REG+D operands with a large...
John David Anglin [Tue, 5 Apr 2016 23:46:23 +0000 (23:46 +0000)] 
predicates.md (integer_store_memory_operand): Accept REG+D operands with a large offset when reload_in_progress is true.

* config/pa/predicates.md (integer_store_memory_operand): Accept
REG+D operands with a large offset when reload_in_progress is true.
(floating_point_store_memory_operand): Likewise.

From-SVN: r234767

9 years agore PR target/70510 (ICE: output_operand: invalid %-code with -mavx512bw -masm=intel...
Uros Bizjak [Tue, 5 Apr 2016 18:48:26 +0000 (20:48 +0200)] 
re PR target/70510 (ICE: output_operand: invalid %-code with -mavx512bw -masm=intel when emitting vpbroatcast)

PR target/70510
* config/i386/sse.md (iptr): Add V16SI and V8DI modes.

From-SVN: r234760

9 years agoCherry-pick r224315,221379 and r241487 from upstream.
Maxim Ostapenko [Tue, 5 Apr 2016 11:52:34 +0000 (11:52 +0000)] 
Cherry-pick r224315,221379 and r241487 from upstream.

libsanitizer/

PR sanitizer/70474
* asan/asan_mac.cc (GetMacosVersionInternal): Cherry pick
upstream r241487, 221379 and r224315.
(void MaybeReexec): Cherry pick upstream r241487.
* asan/asan_mac.h (enum MacosVersion): Cherry pick upstream r224315.

From-SVN: r234744

9 years ago[multiple changes]
Dominique d'Humieres [Tue, 5 Apr 2016 10:01:17 +0000 (12:01 +0200)] 
[multiple changes]

2016-04-05  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
    Dominique d'Humieres  <dominiq@lps.ens.fr>

PR libgfortran/70235
* io/write_float.def: Fix PF format for negative values of the scale
factor.

2016-04-05  Dominique d'Humieres  <dominiq@lps.ens.fr>
    Jerry DeLisle  <jvdelisle@gcc.gnu.org>

* gfortran.dg/fmt_pf.f90: New test.

From-SVN: r234742

9 years agoDaily bump.
GCC Administrator [Tue, 5 Apr 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r234729

9 years agore PR middle-end/70457 (ICE (segfault) in gimple_expand_builtin_pow on powerpc64le...
Bill Schmidt [Mon, 4 Apr 2016 15:47:51 +0000 (15:47 +0000)] 
re PR middle-end/70457 (ICE (segfault) in gimple_expand_builtin_pow on powerpc64le-linux-gnu)

[gcc]

2016-04-04  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
    Jakub Jelinek <jakub@redhat.com>

PR middle-end/70457
* tree-inline.c (estimate_num_insn): Use gimple_call_builtin_p
to ensure a call statement is compatible with a built-in's
prototype.
* tree-ssa-math-opts.c (execute_cse_sincos_1): Likewise.
(execute_cse_sincos): Likewise.
(execute_optimize_widening_mul): Likewise.

[gcc/testsuite]

2016-04-04  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
    Jakub Jelinek <jakub@redhat.com>

PR middle-end/70457
* gcc.dg/torture/pr70457.c: New.

Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
From-SVN: r234718

9 years agoDaily bump.
GCC Administrator [Mon, 4 Apr 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r234703

9 years agoDaily bump.
GCC Administrator [Sun, 3 Apr 2016 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r234699

9 years agoDaily bump.
GCC Administrator [Sat, 2 Apr 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r234689

9 years agoDaily bump.
GCC Administrator [Fri, 1 Apr 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r234659

9 years ago[ARM] Fix sync.md ldrd output template for non-unified syntax
Kyrylo Tkachov [Thu, 31 Mar 2016 16:33:51 +0000 (16:33 +0000)] 
[ARM] Fix sync.md ldrd output template for non-unified syntax

* config/arm/sync.md (arm_atomic_loaddi2_ldrd): Fix output template
for non-unified syntax.

* gcc.target/arm/atomic_loaddi_relaxed_cond.c: New test.

From-SVN: r234642

9 years agore PR rtl-optimization/70460 (Miscompilation of glibc on i686-linux starting with...
Jakub Jelinek [Thu, 31 Mar 2016 13:21:43 +0000 (15:21 +0200)] 
re PR rtl-optimization/70460 (Miscompilation of glibc on i686-linux starting with r234101)

PR rtl-optimization/70460
* ira.c (indirect_jump_optimize): Don't substitute LABEL_REF
with operand from REG_LABEL_OPERAND, instead substitute
SET_SRC or REG_EQUAL note content if it is a LABEL_REF.
Don't do anything for REG_NON_LOCAL_GOTO jumps.

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

From-SVN: r234618

9 years ago[RS6000] reload_vsx_from_gprsf splitter
Alan Modra [Thu, 31 Mar 2016 06:26:02 +0000 (16:56 +1030)] 
[RS6000] reload_vsx_from_gprsf splitter

This is PR68973 part 2, caused by the reload_vsx_from_gprsf splitter
emitting an invalid move.  Part 1 deferred for branch until it is
proven that the reload change is necessary.

Backport from mainline
2016-02-16  Alan Modra  <amodra@gmail.com>
PR target/68973
* config/rs6000/rs6000.md (reload_vsx_from_gprsf): Rewrite splitter.
(p8_mtvsrd_df, p8_mtvsrd_sf): New.
(p8_mtvsrd_1, p8_mtvsrd_2): Delete.
(p8_mtvsrwz): New.
(p8_mtvsrwz_1, p8_mtvsrwz_2): Delete.
(p8_xxpermdi_<mode>): Take two DF inputs rather than one TF.
(p8_fmrgow_<mode>): Likewise.
(reload_vsx_from_gpr<mode>): Adjust for above.  Use "wa" for
clobber constraint.
(reload_fpr_from_gpr<mode>): Adjust for above.  Use "d" for
op0 constraint.
(reload_vsx_from_gprsf): Use p8_mtvsrd_sf rather than attempting
to use movdi_internal64.  Remove op0_di.
* config/rs6000/vsx.md (vsx_xscvspdpn_directmove): Make op1 SFmode.

From-SVN: r234609

9 years agoDaily bump.
GCC Administrator [Thu, 31 Mar 2016 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r234605

9 years agoDaily bump.
GCC Administrator [Wed, 30 Mar 2016 00:16:11 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r234540

9 years ago[ARM][4.9 Backport] PR target/69875 Fix atomic_loaddi expansion
Kyrylo Tkachov [Tue, 29 Mar 2016 13:32:37 +0000 (13:32 +0000)] 
[ARM][4.9 Backport] PR target/69875 Fix atomic_loaddi expansion

PR target/69875
* config/arm/arm.h (TARGET_HAVE_LPAE): Define.
* config/arm/unspecs.md (VUNSPEC_LDRD_ATOMIC): New value.
* config/arm/sync.md (arm_atomic_loaddi2_ldrd): New pattern.
(atomic_loaddi_1): Delete.
(atomic_loaddi): Rewrite expander using the above changes.

* gcc.target/arm/atomic_loaddi_acquire.x: New file.
* gcc.target/arm/atomic_loaddi_relaxed.x: Likewise.
* gcc.target/arm/atomic_loaddi_seq_cst.x: Likewise.
* gcc.target/arm/atomic_loaddi_1.c: New test.
* gcc.target/arm/atomic_loaddi_2.c: Likewise.
* gcc.target/arm/atomic_loaddi_3.c: Likewise.
* gcc.target/arm/atomic_loaddi_4.c: Likewise.
* gcc.target/arm/atomic_loaddi_5.c: Likewise.
* gcc.target/arm/atomic_loaddi_6.c: Likewise.
* gcc.target/arm/atomic_loaddi_7.c: Likewise.
* gcc.target/arm/atomic_loaddi_8.c: Likewise.
* gcc.target/arm/atomic_loaddi_9.c: Likewise.

From-SVN: r234522

9 years ago[ARM] Split out armv7ve effective target check
Kyrylo Tkachov [Tue, 29 Mar 2016 13:24:42 +0000 (13:24 +0000)] 
[ARM] Split out armv7ve effective target check

Backport from mainline
2016-03-23  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

* lib/target-supports.exp: Remove v7ve entry from loop
creating effective target checks.
(check_effective_target_arm_arch_v7ve_ok): New procedure.
(add_options_for_arm_arch_v7ve): Likewise.

From-SVN: r234520

9 years agoDaily bump.
GCC Administrator [Tue, 29 Mar 2016 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r234513

9 years agoDaily bump.
GCC Administrator [Mon, 28 Mar 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r234497

9 years agoDaily bump.
GCC Administrator [Sun, 27 Mar 2016 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r234491

9 years agoDaily bump.
GCC Administrator [Sat, 26 Mar 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r234487

9 years agoDaily bump.
GCC Administrator [Fri, 25 Mar 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r234472

9 years agoDaily bump.
GCC Administrator [Thu, 24 Mar 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r234445

9 years agoDaily bump.
GCC Administrator [Wed, 23 Mar 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r234411

9 years agoDaily bump.
GCC Administrator [Tue, 22 Mar 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r234387

9 years agore PR target/70327 (ICE: in extract_insn, at recog.c:2287 (unrecognizable insn) with...
Uros Bizjak [Mon, 21 Mar 2016 22:20:08 +0000 (23:20 +0100)] 
re PR target/70327 (ICE: in extract_insn, at recog.c:2287 (unrecognizable insn) with -mavx512ifma and v4ti argument)

PR target/70327
* config/i386/i386.md (movxi): Use ix86_expand_vector_move instead
of ix86_expand_move.
(movoi): Ditto.
(movti): Use general_operand for operand 1 predicate.

testsuite/ChangeLog:

PR target/70327
* gcc.target/i386/pr70327.c: New test.

From-SVN: r234385

9 years agoBackport "Fix fdump-ipa-all-graph"
Tom de Vries [Mon, 21 Mar 2016 17:17:16 +0000 (17:17 +0000)] 
Backport "Fix fdump-ipa-all-graph"

2016-03-21  Tom de Vries  <tom@codesourcery.com>

backport from trunk:
2016-03-18  Tom de Vries  <tom@codesourcery.com>

* gcc.dg/pr70161-2.c: New test.
* gcc.dg/pr70161.c: New test.

2016-03-15  Tom de Vries  <tom@codesourcery.com>

PR ipa/70161
* passes.c (execute_one_ipa_transform_pass): Add missing argument to
execute_function_dump.

From-SVN: r234376

9 years agoSave call-clobbered registers in _mcount on 32-bit Solaris/x86 (PR target/38239)
Rainer Orth [Mon, 21 Mar 2016 11:24:40 +0000 (11:24 +0000)] 
Save call-clobbered registers in _mcount on 32-bit Solaris/x86 (PR target/38239)

Backport from mainline
2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

PR target/38239
* config/gmon-sol2.c [__i386__] (_mcount): Save and restore
call-clobbered registers.
(internal_mcount): Remove __i386__ handling.

From-SVN: r234366

9 years agoDaily bump.
GCC Administrator [Mon, 21 Mar 2016 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r234356

9 years agoDaily bump.
GCC Administrator [Sun, 20 Mar 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r234353

9 years agoDaily bump.
GCC Administrator [Sat, 19 Mar 2016 00:16:10 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r234348

9 years agoallocator_traits<allocator<T>> partial specialization
Jonathan Wakely [Fri, 18 Mar 2016 15:58:03 +0000 (15:58 +0000)] 
allocator_traits<allocator<T>> partial specialization

PR libstdc++/60976
* include/bits/alloc_traits.h (allocator_traits<allocator<_Tp>>):
Define partial specialization.
* testsuite/20_util/shared_ptr/cons/58659.cc: Add construct and
destroy members to std::allocator explicit specialization.

From-SVN: r234338

9 years agoBackport PR c++/61198 fix
Jonathan Wakely [Fri, 18 Mar 2016 15:57:58 +0000 (15:57 +0000)] 
Backport PR c++/61198 fix

gcc:
2014-12-19  Kai Tietz  <ktietz@redhat.com>

PR c++/61198
* pt.c (most_general_template): Don't break for template-alias.

gcc/testsuite:

2014-12-19  Kai Tietz  <ktietz@redhat.com>
    Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/61198
* g++.dg/cpp0x/alias-decl-45.C: New file.

From-SVN: r234337

9 years agoDaily bump.
GCC Administrator [Fri, 18 Mar 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r234313

9 years agore PR target/70188 (gcc 4.9+ miscompiles code on hppa)
John David Anglin [Thu, 17 Mar 2016 22:57:19 +0000 (22:57 +0000)] 
re PR target/70188 (gcc 4.9+ miscompiles code on hppa)

PR target/70188
* config/pa/constraints.md: Revert 2015-02-13 change.  Use
define_constraint for "Q" and "T" constraints.

From-SVN: r234311

9 years agoDaily bump.
GCC Administrator [Thu, 17 Mar 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r234274

9 years agoDaily bump.
GCC Administrator [Wed, 16 Mar 2016 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r234243

9 years agoFix thinko in indirect_jump_optimize
Alan Modra [Tue, 15 Mar 2016 22:05:22 +0000 (08:35 +1030)] 
Fix thinko in indirect_jump_optimize

PR rtl-optimization/69195
PR rtl-optimization/47992
* ira.c (indirect_jump_optimize): Ignore artificial defs.
Add comments.

From-SVN: r234237

9 years agoBackport PR69941 patch from mainline.
Bernd Schmidt [Tue, 15 Mar 2016 03:10:31 +0000 (03:10 +0000)] 
Backport PR69941 patch from mainline.

PR rtl-optimization/69941
* postreload.c (reload_combine_recognize_pattern): Ensure all uses of
the reg share its mode.

PR rtl-optimization/69941
* gcc.dg/torture/pr69941.c: New test.

From-SVN: r234209

9 years agoDaily bump.
GCC Administrator [Tue, 15 Mar 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r234203

9 years agoOnly assume 4-byte stack alignment on Solaris/x86 (PR target/62281)
Rainer Orth [Mon, 14 Mar 2016 10:03:12 +0000 (10:03 +0000)] 
Only assume 4-byte stack alignment on Solaris/x86 (PR target/62281)

Backport from mainline:
2016-03-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

PR target/62281
* config/i386/sol2.h (STACK_REALIGN_DEFAULT): Define.

Revert:
2014-02-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

PR libgomp/60107
* config/i386/sol2-9.h: New file.
* config.gcc (i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*,
*-*-solaris2.9*): Use it.

From-SVN: r234180

9 years agore PR fortran/45076 ([OOP] gfortran.dg/dynamic_dispatch_6.f03 ICEs with -fprofile...
Dominique d'Humieres [Mon, 14 Mar 2016 09:21:32 +0000 (10:21 +0100)] 
re PR fortran/45076 ([OOP] gfortran.dg/dynamic_dispatch_6.f03 ICEs with -fprofile-use)

2016-03-13  Dominique d'Humieres  <dominiq@lps.ens.fr>

PR fortran/45076
gfortran.dg/prof/prof.exp: New script.
gfortran.dg/prof/dynamic_dispatch_6.f03: New test.

From-SVN: r234178

9 years agoDaily bump.
GCC Administrator [Mon, 14 Mar 2016 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r234173

9 years agoDaily bump.
GCC Administrator [Sun, 13 Mar 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r234164

9 years agoDaily bump.
GCC Administrator [Sat, 12 Mar 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r234156

9 years agoDaily bump.
GCC Administrator [Fri, 11 Mar 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r234128

9 years agoPR69195, Reload confused by invalid reg_equiv
Alan Modra [Thu, 10 Mar 2016 10:48:58 +0000 (21:18 +1030)] 
PR69195, Reload confused by invalid reg_equiv

Optimizing indirect jumps to direct jumps, and deleting dead insns can
lead to changes in register lifetimes, which in turn can result in bad
reg_equiv info being passed to reload.  So do these tasks before
calculating reg_equiv info.

gcc/
PR rtl-optimization/69195
PR rtl-optimization/47992
* ira.c (recorded_label_ref): Delete.
(update_equiv_regs): Return void.
(indirect_jump_optimize): New function.
(ira): Call indirect_jump_optimize and delete_trivially_dead_insns
before regstat_compute_ri.  Don't rebuild_jump_labels here.
gcc/testsuite/
* gcc.dg/pr69195.c: New.
* gcc.dg/pr69238.c: New.

From-SVN: r234103

9 years agoDaily bump.
GCC Administrator [Thu, 10 Mar 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r234095

9 years agoDaily bump.
GCC Administrator [Wed, 9 Mar 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r234072

9 years agoDaily bump.
GCC Administrator [Tue, 8 Mar 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r234053

9 years agoDaily bump.
GCC Administrator [Mon, 7 Mar 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r234015

9 years agoDaily bump.
GCC Administrator [Sun, 6 Mar 2016 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r234010

9 years agoDaily bump.
GCC Administrator [Sat, 5 Mar 2016 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r233992

9 years agore PR target/70059 (Invalid codegen on AVX-512 when using _mm512_inserti64x4(x, y...
Jakub Jelinek [Fri, 4 Mar 2016 14:59:23 +0000 (15:59 +0100)] 
re PR target/70059 (Invalid codegen on AVX-512 when using _mm512_inserti64x4(x, y, 0))

PR target/70059
* config/i386/sse.md (vec_set_lo_<mode><mask_name>,
<extract_type_2>_vinsert<shuffletype><extract_suf_2>_mask): Formatting
fixes.
(vec_set_hi_<mode><mask_name>): Likewise.  Swap VEC_CONCAT operands.

* gcc.target/i386/avx512f-pr70059.c: New test.

From-SVN: r233970

9 years agoDaily bump.
GCC Administrator [Fri, 4 Mar 2016 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r233951

9 years agore PR c++/65061 (Issue with using declaration and member class template)
Jason Merrill [Thu, 3 Mar 2016 18:43:01 +0000 (13:43 -0500)] 
re PR c++/65061 (Issue with using declaration and member class template)

PR c++/65061
* parser.c (cp_parser_template_name): Call strip_using_decl.

From-SVN: r233942

9 years agoInvoke gdb with -batch to avoid prompts
Rainer Orth [Thu, 3 Mar 2016 10:04:28 +0000 (10:04 +0000)] 
Invoke gdb with -batch to avoid prompts

* lib/gcc-gdb-test.exp (gdb-test): Make log message match command.
Invoke gdb with -batch.
* lib/gcc-simulate-thread.exp (simulate-thread): Likewise.

From-SVN: r233933

9 years agoDaily bump.
GCC Administrator [Thu, 3 Mar 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r233923

9 years ago* gcc.target/i386/pr70007.c: Tweak.
Eric Botcazou [Wed, 2 Mar 2016 08:01:30 +0000 (08:01 +0000)] 
* gcc.target/i386/pr70007.c: Tweak.

From-SVN: r233896

9 years agoDaily bump.
GCC Administrator [Wed, 2 Mar 2016 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r233872

9 years agore PR rtl-optimization/70007 (wrong code with -mbmi2)
Eric Botcazou [Tue, 1 Mar 2016 22:36:15 +0000 (22:36 +0000)] 
re PR rtl-optimization/70007 (wrong code with -mbmi2)

PR rtl-optimization/70007
* gcse.c (compute_ld_motion_mems): Tidy up and also invalidate memory
references present in REG_EQUAL notes attached to non-SET patterns.

From-SVN: r233869

9 years agoDaily bump.
GCC Administrator [Tue, 1 Mar 2016 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r233830

9 years agore PR fortran/60126 (Internal compiler error with code using pointer reshaping (gfort...
Harald Anlauf [Mon, 29 Feb 2016 06:09:47 +0000 (06:09 +0000)] 
re PR fortran/60126 (Internal compiler error with code using pointer reshaping (gfortran 4.8.2))

2016-02-29  Harald Anlauf  <anlauf@gmx.de>

PR fortran/60126
* gfortran.dg/pr60126.f90: New test.

From-SVN: r233802

9 years agoDaily bump.
GCC Administrator [Mon, 29 Feb 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r233799

9 years agobackport: re PR fortran/61156 (Internal compiler error for Fortran files when specify...
Jerry DeLisle [Sun, 28 Feb 2016 18:16:56 +0000 (18:16 +0000)] 
backport: re PR fortran/61156 (Internal compiler error for Fortran files when specifying a file instead of an include directory with -I)

2016-02-28  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

Backported from mainline
PR fortran/61156
* scanner.c (add_path_to_list): If include path is not a directory,
issue a fatal error.

* gfortran.dg/include_6.f90: Update test.

From-SVN: r233793

9 years agoDaily bump.
GCC Administrator [Sun, 28 Feb 2016 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r233784

9 years agoDaily bump.
GCC Administrator [Sat, 27 Feb 2016 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r233773

9 years agoDaily bump.
GCC Administrator [Fri, 26 Feb 2016 00:16:11 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r233730

9 years agobackport: Make-lang.in: Invoke gperf with -L C++.
Bernd Edlinger [Thu, 25 Feb 2016 15:36:41 +0000 (15:36 +0000)] 
backport: Make-lang.in: Invoke gperf with -L C++.

2016-02-25  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        Backported from mainline
        2016-02-19  Jakub Jelinek  <jakub@redhat.com>
                    Bernd Edlinger  <bernd.edlinger@hotmail.de>

        * Make-lang.in: Invoke gperf with -L C++.
        * cfns.gperf: Remove prototypes for hash and libc_name_p
        inlines.
        * cfns.h: Regenerated.
        * except.c (nothrow_libfn_p): Adjust.

From-SVN: r233721

9 years agoDaily bump.
GCC Administrator [Thu, 25 Feb 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r233688

9 years agoDaily bump.
GCC Administrator [Wed, 24 Feb 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r233650

9 years agoHandle C++11 <math.h> overloads on Solaris 11
Rainer Orth [Tue, 23 Feb 2016 12:15:20 +0000 (12:15 +0000)] 
Handle C++11 <math.h> overloads on Solaris 11

Backport from mainline
2015-11-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
* acinclude.m4 (GLIBCXX_CHECK_MATH11_PROTO): New test.
* configure.ac: Use it.
* configure: Regenerate.
* config.h.in: Regenerate.

* include/c_global/cmath [__cplusplus >= 201103L]
(std::fpclassify): Wrap in !__CORRECT_ISO_CPP11_MATH_H_PROTO.
(std::isfinite): Likewise.
(std::isinf): Likewise.
(std::isnan): Likewise.
(std::isnormal): Likewise.
(std::signbit): Likewise.
(std::isgreater): Likewise.
(std::isgreaterequal): Likewise.
(std::isless): Likewise.
(std::islessequal): Likewise.
(std::islessgreater): Likewise.
(std::isunordered): Likewise.
(std::acosh): Likewise.
(std::asinh): Likewise.
(std::atanh): Likewise.
(std::cbrt): Likewise.
(std::copysign): Likewise.
(std::erf): Likewise.
(std::erfc): Likewise.
(std::exp2): Likewise.
(std::expm1): Likewise.
(std::fdim): Likewise.
(std::fma): Likewise.
(std::fmax): Likewise.
(std::fmin): Likewise.
(std::hypot): Likewise.
(std::ilogb): Likewise.
(std::lgamma): Likewise.
(std::llrint): Likewise.
(std::llround): Likewise.
(std::log1p): Likewise.
(std::log2): Likewise.
(std::logb): Likewise.
(std::lrint): Likewise.
(std::lround): Likewise.
(std::nearbyint): Likewise.
(std::nextafter): Likewise.
(std::nexttoward): Likewise.
(std::remainder): Likewise.
(std::remquo): Likewise.
(std::rint): Likewise.
(std::round): Likewise.
(std::scalbln): Likewise.
(std::scalbn): Likewise.
(std::tgamma): Likewise.
(std::trunc): Likewise.
* include/tr1/cmath [_GLIBCXX_USE_C99_MATH_TR1] (std::tr1::acosh):
Wrap in !__CORRECT_ISO_CPP11_MATH_H_PROTO.
(std::tr1::asinh): Likewise.
(std::tr1::atanh): Likewise.
(std::tr1::cbrt): Likewise.
(std::tr1::copysign): Likewise.
(std::tr1::erf): Likewise.
(std::tr1::erfc): Likewise.
(std::tr1::exp2): Likewise.
(std::tr1::expm1): Likewise.
(std::tr1::fabs): Likewise.
(std::tr1::fdim): Likewise.
(std::tr1::fma): Likewise.
(std::tr1::fmax): Likewise.
(std::tr1::fmin): Likewise.
(std::tr1::hypot): Likewise.
(std::tr1::ilogb): Likewise.
(std::tr1::lgamma): Likewise.
(std::tr1::llrint): Likewise.
(std::tr1::llround): Likewise.
(std::tr1::log1p): Likewise.
(std::tr1::log2): Likewise.
(std::tr1::logb): Likewise.
(std::tr1::lrint): Likewise.
(std::tr1::lround): Likewise.
(std::tr1::nearbyint): Likewise.
(std::tr1::nextafter): Likewise.
(std::tr1::nexttoward): Likewise.
(std::tr1::remainder): Likewise.
(std::tr1::remquo): Likewise.
(std::tr1::rint): Likewise.
(std::tr1::scalbln): Likewise.
(std::tr1::scalbn): Likewise.
(std::tr1::tgamma): Likewise.
(std::tr1::trunc): Likewise.
(std::tr1::pow): Likewise.

* testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
Restrict dg-xfail-if, dg-excess-errors to *-*-solaris2.10*.

From-SVN: r233628

9 years agoDaily bump.
GCC Administrator [Tue, 23 Feb 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r233618

9 years agoDaily bump.
GCC Administrator [Mon, 22 Feb 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r233595

9 years agoDaily bump.
GCC Administrator [Sun, 21 Feb 2016 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r233590

9 years agoDaily bump.
GCC Administrator [Sat, 20 Feb 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r233576

9 years agoDaily bump.
GCC Administrator [Fri, 19 Feb 2016 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r233541

9 years agobackport: re PR fortran/69668 (Error reading namelist opened with DELIM='NONE')
Jerry DeLisle [Thu, 18 Feb 2016 18:23:09 +0000 (18:23 +0000)] 
backport: re PR fortran/69668 (Error reading namelist opened with DELIM='NONE')

2016-02-18  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

Backport from gcc-5-branch.
PR libgfortran/69668
* io/list_read.c (read_character): Remove code related to DELIM_NONE.
* gfortran.dg/namelist_38.f90: Update test.
* gfortran.dg/namelist_84.f90: Update test.

From-SVN: r233528

9 years ago* gcc.dg/pr69522.c: Add empty dg-options.
Marek Polacek [Thu, 18 Feb 2016 11:25:24 +0000 (11:25 +0000)] 
* gcc.dg/pr69522.c: Add empty dg-options.

From-SVN: r233517