]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
10 years agobackport: crypto.md (crypto_vpmsum<CR_char>): Change TARGET_CRYPTO to TARGET_P8_VECTOR>
Bill Schmidt [Fri, 24 Apr 2015 20:25:36 +0000 (20:25 +0000)] 
backport: crypto.md (crypto_vpmsum<CR_char>): Change TARGET_CRYPTO to TARGET_P8_VECTOR>

[gcc]

2015-04-24  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

Backport from mainline r222362
2015-04-23  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* config/rs6000/crypto.md (crypto_vpmsum<CR_char>): Change
TARGET_CRYPTO to TARGET_P8_VECTOR>
(crypto_vpermxor_<mode>): Likewise.
* config/rs6000/rs6000-builtin.def (BU_CRYPTO_2A): New #define.
(BU_CRYPTO_3A): Likewise.
(BU_CRYPTO_OVERLOAD_2A): Rename from BU_CRYPTO_OVERLOAD_2.
(BU_CRYPTO_OVERLOAD_3A): New #define.
(VPMSUMB): Change from BU_CRYPTO_2 to BU_CRYPTO_2A.
(VPMSUMH): Likewise.
(VPMSUMW): Likewise.
(VPMSUMD): Likewise.
(VPERMXOR_V2DI): Change from BU_CRYPTO_3 to BU_CRYPTO_3A.
(VPERMXOR_V4SI): Likewise.
(VPERMXOR_V8HI): Likewise.
(VPERMXOR_V16QI): Likewise.
(VPMSUM): Change from BU_CRYPTO_OVERLOAD_2 to
BU_CRYPTO_OVERLOAD_2A.
(VPERMXOR): Change from BU_CRYPTO_OVERLOAD3 to
BU_CRYPTO_OVERLOAD_3A.
* config/rs6000/rs6000.opt (mcrypto): Change description of
option.

Backport from mainline r222362
2015-04-23  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* config/rs6000/rs6000.opt (mcrypto): Change option description to
match category changes in ISA 2.07B.

[gcc/testsuite]

2015-04-24  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

Backport from mainline r222362
2015-04-23  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* gcc.target/powerpc/crypto-builtin-2.c: New.

From-SVN: r222424

10 years agobackport: rs6000.c (rtx_is_swappable_p): Commentary adjustments.
Bill Schmidt [Fri, 24 Apr 2015 19:39:31 +0000 (19:39 +0000)] 
backport: rs6000.c (rtx_is_swappable_p): Commentary adjustments.

[gcc]

2015-04-24  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

Backport from mainline r222351
2015-04-22  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* config/rs6000/rs6000.c (rtx_is_swappable_p): Commentary
adjustments.
(insn_is_swappable_p): Return 1 for a convert from double to
single precision when all of its uses are splats of BE element
zero.

[gcc/testsuite]

2015-04-24  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

Backport from mainline r222351
2015-04-22  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* gcc.target/powerpc/swaps-p8-18.c: New test.

From-SVN: r222420

10 years agobackport: re PR target/65456 (powerpc64le autovectorized copy loop missed optimization)
Bill Schmidt [Fri, 24 Apr 2015 13:45:08 +0000 (13:45 +0000)] 
backport: re PR target/65456 (powerpc64le autovectorized copy loop missed optimization)

[gcc]

2015-04-24  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

Backport from mainline r222349
2015-04-22  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR target/65456
* config/rs6000/rs6000.c (rs6000_option_override_internal):  For
VSX + POWER8, enable TARGET_ALLOW_MOVMISALIGN and
TARGET_EFFICIENT_UNALIGNED_VSX if not selected by command line
option.
(rs6000_builtin_mask_for_load): Return 0 for targets with
efficient unaligned VSX accesses so that the vectorizer will use
direct unaligned loads.
(rs6000_builtin_support_vector_misalignment): Always return true
for targets with efficient unaligned VSX accesses.
(rs6000_builtin_vectorization_cost): Cost of unaligned loads and
stores on targets with efficient unaligned VSX accesses is almost
always the same as the cost of an aligned load or store, so model
it that way.
* config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Return 0 for
unaligned vectors if we have efficient unaligned VSX accesses.
* config/rs6000/rs6000.opt (mefficient-unaligned-vector): New
undocumented option.

[gcc/testsuite]

2015-04-24  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

Backport from mainline r222349
2015-04-22  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR target/65456
* gcc.dg/vect/bb-slp-24.c: Exclude test for POWER8.
* gcc.dg/vect/bb-slp-25.c: Likewise.
* gcc.dg/vect/bb-slp-29.c: Likewise.
* gcc.dg/vect/bb-slp-32.c: Replace vect_no_align with
vect_no_align && { ! vect_hw_misalign }.
* gcc.dg/vect/bb-slp-9.c: Likewise.
* gcc.dg/vect/costmodel/ppc/costmodel-slp-33.c: Exclude test for
vect_hw_misalign.
* gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c: Likewise.
* gcc.dg/vect/costmodel/ppc/costmodel-vect-76b.c: Adjust tests to
account for POWER8, where peeling for alignment is not needed.
* gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c: Replace
vect_no_align with vect_no_align && { ! vect_hw_misalign }.
* gcc.dg.vect.if-cvt-stores-vect-ifcvt-18.c: Likewise.
* gcc.dg/vect/no-scevccp-outer-6-global.c: Likewise.
* gcc.dg/vect/no-scevccp-outer-6.c: Likewise.
* gcc.dg/vect/no-vfa-vect-43.c: Likewise.
* gcc.dg/vect/no-vfa-vect-57.c: Likewise.
* gcc.dg/vect/no-vfa-vect-61.c: Likewise.
* gcc.dg/vect/no-vfa-vect-depend-1.c: Likewise.
* gcc.dg/vect/no-vfa-vect-depend-2.c: Likewise.
* gcc.dg/vect/no-vfa-vect-depend-3.c: Likewise.
* gcc.dg/vect/pr16105.c: Likewise.
* gcc.dg/vect/pr20122.c: Likewise.
* gcc.dg/vect/pr33804.c: Likewise.
* gcc.dg/vect/pr33953.c: Likewise.
* gcc.dg/vect/pr56787.c: Likewise.
* gcc.dg/vect/pr58508.c: Likewise.
* gcc.dg/vect/slp-25.c: Likewise.
* gcc.dg/vect/vect-105-bit-array.c: Likewise.
* gcc.dg/vect/vect-105.c: Likewise.
* gcc.dg/vect/vect-27.c: Likewise.
* gcc.dg/vect/vect-29.c: Likewise.
* gcc.dg/vect/vect-33.c: Exclude unaligned access test for
POWER8.
* gcc.dg/vect/vect-42.c: Replace vect_no_align with vect_no_align
&& { ! vect_hw_misalign }.
* gcc.dg/vect/vect-44.c: Likewise.
* gcc.dg/vect/vect-48.c: Likewise.
* gcc.dg/vect/vect-50.c: Likewise.
* gcc.dg/vect/vect-52.c: Likewise.
* gcc.dg/vect/vect-56.c: Likewise.
* gcc.dg/vect/vect-60.c: Likewise.
* gcc.dg/vect/vect-72.c: Likewise.
* gcc.dg/vect/vect-75-big-array.c: Likewise.
* gcc.dg/vect/vect-75.c: Likewise.
* gcc.dg/vect/vect-77-alignchecks.c: Likewise.
* gcc.dg/vect/vect-77-global.c: Likewise.
* gcc.dg/vect/vect-78-alignchecks.c: Likewise.
* gcc.dg/vect/vect-78-global.c: Likewise.
* gcc.dg/vect/vect-93.c: Likewise.
* gcc.dg/vect/vect-95.c: Likewise.
* gcc.dg/vect/vect-96.c: Likewise.
* gcc.dg/vect/vect-cond-1.c: Likewise.
* gcc.dg/vect/vect-cond-3.c: Likewise.
* gcc.dg/vect/vect-cond-4.c: Likewise.
* gcc.dg/vect/vect-cselim-1.c: Likewise.
* gcc.dg/vect/vect-multitypes-1.c: Likewise.
* gcc.dg/vect/vect-multitypes-3.c: Likewise.
* gcc.dg/vect/vect-multitypes-4.c: Likewise.
* gcc.dg/vect/vect-multitypes-6.c: Likewise.
* gcc.dg/vect/vect-nest-cycle-1.c: Likewise.
* gcc.dg/vect/vect-nest-cycle-2.c: Likewise.
* gcc.dg/vect/vect-outer-3a-big-array.c: Likewise.
* gcc.dg/vect/vect-outer-3a.c: Likewise.
* gcc.dg/vect/vect-outer-5.c: Likewise.
* gcc.dg/vect/vect-outer-fir-big-array.c: Likewise.
* gcc.dg/vect/vect-outer-fir-lb-big-array.c: Likewise.
* gcc.dg/vect/vect-outer-fir-lb.c: Likewise.
* gcc.dg/vect/vect-outer-fir.c: Likewise.
* gcc.dg/vect/vect-peel-3.c: Likewise.
* gcc.dg/vect/vect-peel-4.c: Likewise.
* gcc.dg/vect/vect-pre-interact.c: Likewise.
* gcc.target/powerpc/pr65456.c: New test.
* gcc.target/powerpc/vsx-vectorize-2.c: Exclude test for POWER8.
* gcc.target/powerpc/vsx-vectorize-4.c: Likewise.
* gcc.target/powerpc/vsx-vectorize-6.c: Likewise.
* gcc.target/powerpc/vsx-vectorize-7.c: Likewise.
* gfortran.dg/vect/vect-2.f90: Replace vect_no_align with
vect_no_align && { ! vect_hw_misalign }.
* gfortran.dg/vect/vect-3.f90: Likewise.
* gfortran.dg/vect/vect-4.f90: Likewise.
* gfortran.dg/vect/vect-5.f90: Likewise.
* lib/target-supports.exp (check_effective_target_vect_no_align):
Return 1 for POWER8.
(check_effective_target_vect_hw_misalign): Return 1 for POWER8.

Backport from mainline r222372
2015-04-23  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* gcc.dg/vect/costmodel/ppc/costmodel-bb-slp-9a.c: Replace
vect_no_align with vect_no_align && { ! vect_hw_misalign }.

From-SVN: r222412

10 years agoDaily bump.
GCC Administrator [Fri, 24 Apr 2015 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r222389

10 years agore PR c++/65727 (Segfault With Decltype In Lambda Expression Used To Initialize Stati...
Marek Polacek [Thu, 23 Apr 2015 13:21:22 +0000 (13:21 +0000)] 
re PR c++/65727 (Segfault With Decltype In Lambda Expression Used To Initialize Static Class Member)

PR c++/65727
* lambda.c (maybe_resolve_dummy): Handle null return.

From-SVN: r222368

10 years agore PR c++/65695 (NSDMI calling constexpr constructor with pointer-to-member is not...
Jason Merrill [Thu, 23 Apr 2015 13:21:17 +0000 (09:21 -0400)] 
re PR c++/65695 (NSDMI calling constexpr constructor with pointer-to-member is not a constant expression)

PR c++/65695
* cvt.c (cp_fold_convert): Avoid wrapping PTRMEM_CST in NOP_EXPR.

From-SVN: r222367

10 years agore PR c++/65721 (Internal compiler error segmentation fault)
Jason Merrill [Thu, 23 Apr 2015 13:21:11 +0000 (09:21 -0400)] 
re PR c++/65721 (Internal compiler error segmentation fault)

PR c++/65721
* name-lookup.c (do_class_using_decl): Complain about specifying
the current class even if there are dependent bases.

From-SVN: r222366

10 years agore PR c++/59766 (c++1y: declaring friend function with 'auto' return type deduction...
David Krauss [Thu, 23 Apr 2015 13:21:06 +0000 (13:21 +0000)] 
re PR c++/59766 (c++1y: declaring friend function with 'auto' return type deduction is rejected with bogus reason)

PR c++/59766
* decl.c (grokdeclarator): Do not flag friends with deduced return.

From-SVN: r222365

10 years agoDaily bump.
GCC Administrator [Thu, 23 Apr 2015 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r222346

10 years agoDaily bump.
GCC Administrator [Wed, 22 Apr 2015 00:16:11 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r222290

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

From-SVN: r222252

10 years agoDaily bump.
GCC Administrator [Mon, 20 Apr 2015 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r222225

10 years agobackport: re PR target/65787 (Miscompile due to bad vector swap optimization for...
Bill Schmidt [Sun, 19 Apr 2015 16:51:12 +0000 (16:51 +0000)] 
backport: re PR target/65787 (Miscompile due to bad vector swap optimization for little endian)

[gcc]

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

Backport from mainline r222205
2015-04-17  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
            Jakub Jelinek  <jakub@redhat.com>

PR target/65787
* config/rs6000/rs6000.c (rtx_is_swappable_p): Ensure that a
subsequent SH_NONE operand does not overwrite an existing *special
value.
(adjust_extract): Handle case where a vec_extract operation is
wrapped in a PARALLEL.

[gcc/testsuite]

2015-04-18  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

Backport from mainline r222205
2015-04-17  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR target/65787
* gcc.target/powerpc/pr65787.c: New.

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

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

From-SVN: r222216

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

From-SVN: r222210

10 years agoDaily bump.
GCC Administrator [Fri, 17 Apr 2015 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r222162

10 years agore PR target/65676 (ICE: in extract_insn, at recog.c:2343 (unrecognizable insn) with...
Kirill Yukhin [Thu, 16 Apr 2015 14:24:51 +0000 (14:24 +0000)] 
re PR target/65676 (ICE: in extract_insn, at recog.c:2343 (unrecognizable insn) with -mavx512f -funsigned-char and __builtin_ia32_pmovsxwq512_mask())

gcc/
PR target/65676
* config/i386/i386.c (fixup_modeless_constant): New.
(ix86_expand_args_builtin): Fixup modeless constant operand.
(ix86_expand_round_builtin): Ditto.
(ix86_expand_special_args_builtin): Ditto.
(ix86_expand_builtin): Ditto.
gcc/testsuite/
PR target/65676
* gcc.target/i386/sse-25.c: New.

From-SVN: r222149

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

From-SVN: r222138

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

From-SVN: r222107

10 years agore PR fortran/56674 (ICE in check_sym_interfaces)
Mikael Morin [Tue, 14 Apr 2015 09:18:15 +0000 (09:18 +0000)] 
re PR fortran/56674 (ICE in check_sym_interfaces)

PR fortran/56674
PR fortran/58813
PR fortran/59016
PR fortran/59024
fortran/
* symbol.c (save_symbol_data, gfc_save_symbol_data): Rename the
former to the latter and make it non-static.  Update callers.
* gfortran.h (gfc_save_symbol_data): New prototype.
* decl.c (gfc_match_decl_type_spec): Call 'gfc_save_symbol_data'
before modifying symbols 'sym' and 'dt_sym'.
testsuite/
* gfortran.dg/used_types_27.f90: New.

From-SVN: r222078

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

From-SVN: r222068

10 years agoDaily bump.
GCC Administrator [Mon, 13 Apr 2015 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r222035

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

From-SVN: r222013

10 years ago5.cc: Remove dg-require-gthreads-timed.
Jonathan Wakely [Sat, 11 Apr 2015 11:47:30 +0000 (12:47 +0100)] 
5.cc: Remove dg-require-gthreads-timed.

* testsuite/30_threads/shared_lock/cons/5.cc: Remove
dg-require-gthreads-timed.
* testsuite/30_threads/shared_lock/cons/6.cc: Likewise.
* testsuite/30_threads/shared_lock/locking/3.cc: Likewise.
* testsuite/30_threads/shared_lock/locking/4.cc: Likewise.

From-SVN: r222006

10 years agoshared_mutex (shared_timed_mutex): Add comments to explain the logic in the non-pthre...
Jonathan Wakely [Sat, 11 Apr 2015 11:47:25 +0000 (12:47 +0100)] 
shared_mutex (shared_timed_mutex): Add comments to explain the logic in the non-pthread_rwlock_t version.

* include/std/shared_mutex (shared_timed_mutex): Add comments to
explain the logic in the non-pthread_rwlock_t version.
(_Mutex): Remove redundant type.
(_M_n_readers): Rename to _S_max_readers.
(_M_write_entered, _M_readers): New convenience functions.
(lock, lock_shared, try_lock_shared, unlock_shared): Use convenience
functions. Use predicates with condition variables. Simplify bitwise
operations.
(try_lock_for, try_shared_lock_for): Convert duration to time_point
and call try_lock_until or try_shared_lock_until respectively.
(try_lock_until, try_shared_lock_until): Wait on the condition
variables until the specified time passes.
(unlock): Add Debug Mode assertion.
(unlock_shared): Add Debug Mode assertion.
* testsuite/30_threads/shared_timed_mutex/try_lock/3.cc: New.

From-SVN: r222005

10 years agore PR libstdc++/65499 (Missing "using namespace literals::chrono_literals" in std...
Jonathan Wakely [Sat, 11 Apr 2015 11:47:19 +0000 (12:47 +0100)] 
re PR libstdc++/65499 (Missing "using namespace literals::chrono_literals" in std::chrono)

PR libstdc++/65499
* include/std/chrono: Add using-directive for literals to std::chrono.
* testsuite/20_util/duration/literals/65499.cc: New.

From-SVN: r222004

10 years agore PR libstdc++/58038 (std::this_thread::sleep_until can cause inifinite sleep)
Jonathan Wakely [Sat, 11 Apr 2015 11:47:09 +0000 (12:47 +0100)] 
re PR libstdc++/58038 (std::this_thread::sleep_until can cause inifinite sleep)

PR libstdc++/58038
* include/std/thread (this_thread::sleep_for): Check for negative
durations.
(this_thread::sleep_until): Check for times in the past.
* testsuite/30_threads/this_thread/58038.cc: New.
* testsuite/30_threads/this_thread/60421.cc: New.

From-SVN: r222003

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

From-SVN: r221998

10 years agore PR target/65710 (Thumb1 ICE caused by no register to spill)
Vladimir Makarov [Fri, 10 Apr 2015 19:43:28 +0000 (19:43 +0000)] 
re PR target/65710 (Thumb1 ICE caused by no register to spill)

2015-04-10  Vladimir Makarov  <vmakarov@redhat.com>

PR target/65710
* lra-assigns.c (spill_for): Update smallest_bad_spills_num.
Print bad_spills_num and insn_pseudos_num.

From-SVN: r221984

10 years agoDaily bump.
GCC Administrator [Fri, 10 Apr 2015 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r221965

10 years agore PR target/65710 (Thumb1 ICE caused by no register to spill)
Vladimir Makarov [Thu, 9 Apr 2015 19:42:24 +0000 (19:42 +0000)] 
re PR target/65710 (Thumb1 ICE caused by no register to spill)

2015-04-09  Vladimir Makarov  <vmakarov@redhat.com>

PR target/65710
* lra-int.h (lra_bad_spill_regno_start): New.
* lra.c (lra_bad_spill_regno_start): New.
(lra): Set up lra_bad_spill_regno_start.  Set up
lra_constraint_new_regno_start unconditionally.
* lra-assigns.c (spill_for): Use lra_bad_spill_regno_start for
spill preferences.

From-SVN: r221957

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

From-SVN: r221939

10 years agoDaily bump.
GCC Administrator [Wed, 8 Apr 2015 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r221913

10 years agobackport: re PR tree-optimization/64909 (Missed vectorization with bdver1)
Richard Biener [Tue, 7 Apr 2015 13:40:24 +0000 (13:40 +0000)] 
backport: re PR tree-optimization/64909 (Missed vectorization with bdver1)

2015-04-07  Richard Biener  <rguenther@suse.de>

Backport from mainline
2015-04-04  Richard Biener  <rguenther@suse.de>

PR tree-optimization/64909
PR tree-optimization/65660
* tree-vectorizer.h (vect_get_known_peeling_cost): Adjust
to take a cost vector for scalar iteration cost.
(vect_get_single_scalar_iteration_cost): Likewise.
* tree-vect-loop.c (vect_get_single_scalar_iteration_cost):
Compute the scalar iteration cost into a cost vector.
(vect_get_known_peeling_cost): Use the scalar cost vector to
account for the cost of the peeled iterations.
(vect_estimate_min_profitable_iters): Likewise.
* tree-vect-data-refs.c (vect_peeling_hash_get_lowest_cost):
Likewise.

From-SVN: r221895

10 years agobackport: pr65647.c: Add option "-mfloat-abi=soft".
Bin Cheng [Tue, 7 Apr 2015 09:01:31 +0000 (09:01 +0000)] 
backport: pr65647.c: Add option "-mfloat-abi=soft".

Backport from trunk r221889
2015-04-07  Bin Cheng  <bin.cheng@arm.com>
* gcc.target/arm/pr65647.c: Add option "-mfloat-abi=soft".

From-SVN: r221890

10 years agoDaily bump.
GCC Administrator [Tue, 7 Apr 2015 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r221886

10 years agoDaily bump.
GCC Administrator [Mon, 6 Apr 2015 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r221875

10 years agobackport: re PR target/65647 (GCC won't stop when compile for armv6-m)
Yvan Roux [Sun, 5 Apr 2015 19:06:43 +0000 (19:06 +0000)] 
backport: re PR target/65647 (GCC won't stop when compile for armv6-m)

gcc/
2015-04-05  Yvan Roux  <yvan.roux@linaro.org>

Backport from trunk r221867
2015-04-04  Vladimir Makarov  <vmakarov@redhat.com>

PR target/65647
* lra.c (lra): Stop updating lra_constraint_new_regno_start after switching
off inheritance.

gcc/testsuite/
2015-04-05  Yvan Roux  <yvan.roux@linaro.org>

Backport from trunk r221867
2015-04-04  Vladimir Makarov <vmakarov@redhat.com>

PR target/65647
* gcc.target/arm/pr65647.c: New.
* gcc.target/arm/pr65647-2.c: New.

From-SVN: r221873

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

From-SVN: r221870

10 years agoDaily bump.
GCC Administrator [Sat, 4 Apr 2015 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r221864

10 years agoDaily bump.
GCC Administrator [Fri, 3 Apr 2015 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r221847

10 years agopa.c (pa_output_move_double): Directly handle register indexed memory operand.
John David Anglin [Thu, 2 Apr 2015 11:33:06 +0000 (11:33 +0000)] 
pa.c (pa_output_move_double): Directly handle register indexed memory operand.

* config/pa/pa.c (pa_output_move_double): Directly handle register
indexed memory operand.  Simplify handling of scaled register indexed
memory operands.

From-SVN: r221836

10 years agolibgomp: Add RTEMS support
Sebastian Huber [Thu, 2 Apr 2015 07:15:34 +0000 (07:15 +0000)] 
libgomp: Add RTEMS support

libgomp/ChangeLog

        * configure.tgt (*-*-rtems*): Use local-exec TLS model.
        * configure.ac (*-*-rtems*): Assume Pthread is supported.
        (pthread.h): Check for this header file.
        * configure: Regenerate.

From-SVN: r221828

10 years agoDaily bump.
GCC Administrator [Thu, 2 Apr 2015 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r221816

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

From-SVN: r221804

10 years agoS/390: Hotpatch: Remove special handling of nested functions.
Dominik Vogt [Tue, 31 Mar 2015 12:04:23 +0000 (12:04 +0000)] 
S/390: Hotpatch: Remove special handling of nested functions.

Backport from mainline
gcc/
2015-03-31  Dominik Vogt  <vogt@linux.vnet.ibm.com>

    * config/s390/s390.c (s390_function_num_hotpatch_hw): Allow hotpatching
    nested functions.
    (s390_reorg): Adapt to new signature of s390_function_num_hotpatch_hw.
    (s390_asm_output_function_label): Adapt to new signature of
    s390_function_num_hotpatch_hw
    Optimise the code generating assembler output.
    Add comments to assembler file.

gcc/testsuite
2015-03-31  Dominik Vogt  <vogt@linux.vnet.ibm.com>

    * gcc.target/s390/hotpatch-25.c: New test.
    * gcc.target/s390/hotpatch-1.c: Update test.
    * gcc.target/s390/hotpatch-10.c: Update test.
    * gcc.target/s390/hotpatch-11.c: Update test.
    * gcc.target/s390/hotpatch-12.c: Update test.
    * gcc.target/s390/hotpatch-13.c: Update test.
    * gcc.target/s390/hotpatch-14.c: Update test.
    * gcc.target/s390/hotpatch-15.c: Update test.
    * gcc.target/s390/hotpatch-16.c: Update test.
    * gcc.target/s390/hotpatch-17.c: Update test.
    * gcc.target/s390/hotpatch-18.c: Update test.
    * gcc.target/s390/hotpatch-19.c: Update test.
    * gcc.target/s390/hotpatch-2.c: Update test.
    * gcc.target/s390/hotpatch-21.c: Update test.
    * gcc.target/s390/hotpatch-22.c: Update test.
    * gcc.target/s390/hotpatch-23.c: Update test.
    * gcc.target/s390/hotpatch-24.c: Update test.
    * gcc.target/s390/hotpatch-3.c: Update test.
    * gcc.target/s390/hotpatch-4.c: Update test.
    * gcc.target/s390/hotpatch-5.c: Update test.
    * gcc.target/s390/hotpatch-6.c: Update test.
    * gcc.target/s390/hotpatch-7.c: Update test.
    * gcc.target/s390/hotpatch-8.c: Update test.
    * gcc.target/s390/hotpatch-9.c: Update test.
    * gcc.target/s390/hotpatch-compile-16.c: Update test.

From-SVN: r221793

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

From-SVN: r221784

10 years agotransfer.c (data_transfer_init): Fix whitespace.
Jerry DeLisle [Mon, 30 Mar 2015 17:02:26 +0000 (17:02 +0000)] 
transfer.c (data_transfer_init): Fix whitespace.

2015-03-30 Jerry DeLisle  <jvdelisle@gcc.gnu.org>

* io/transfer.c (data_transfer_init): Fix whitespace.

From-SVN: r221773

10 years agore PR libfortran/59513 (Fortran runtime error: Sequential READ or WRITE not allowed...
Jerry DeLisle [Mon, 30 Mar 2015 16:51:37 +0000 (16:51 +0000)] 
re PR libfortran/59513 (Fortran runtime error: Sequential READ or WRITE not allowed after EOF marker, possibly use REWIND or BACKSPACE)

2015-03-30 Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/59513
* io/transfer.c (data_transfer_init): Do not error for
-std=legacy.

From-SVN: r221772

10 years agoDaily bump.
GCC Administrator [Mon, 30 Mar 2015 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r221767

10 years agoDaily bump.
GCC Administrator [Sun, 29 Mar 2015 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r221759

10 years agore PR fortran/65596 (NAMELIST bug with f2003: reads too far)
Jerry DeLisle [Sat, 28 Mar 2015 14:22:53 +0000 (14:22 +0000)] 
re PR fortran/65596 (NAMELIST bug with f2003: reads too far)

2015-03-28 Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/65596
* gfortran.dg/namelist_86.f90: New test.

From-SVN: r221755

10 years agore PR fortran/65596 (NAMELIST bug with f2003: reads too far)
Jerry DeLisle [Sat, 28 Mar 2015 14:08:18 +0000 (14:08 +0000)] 
re PR fortran/65596 (NAMELIST bug with f2003: reads too far)

2015-03-28 Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/65596
* io/transfer.c (data_transfer_init): If in namelist mode and
delimiter is not specified, set it to DELIM_QUOTE, independent
of -std.

From-SVN: r221754

10 years agoDaily bump.
GCC Administrator [Sat, 28 Mar 2015 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r221748

10 years agobackport: re PR rtl-optimization/64688 (internal compiler error: Max. number of gener...
Vladimir Makarov [Fri, 27 Mar 2015 19:23:15 +0000 (19:23 +0000)] 
backport: re PR rtl-optimization/64688 (internal compiler error: Max. number of generated reload insns per insn is achieved (90))

2015-03-27  Vladimir Makarov  <vmakarov@redhat.com>

Backport from mainline
2015-01-30  Vladimir Makarov  <vmakarov@redhat.com>

PR target/64688
* lra-constraints.c (original_subreg_reg_mode): New.
(simplify_operand_subreg): Try to simplify subreg of const.  Use
original_subreg_reg_mode for it.
(swap_operands): Update original_subreg_reg_mode.
(curr_insn_transform): Set up original_subreg_reg_mode.

2015-03-27  Vladimir Makarov  <vmakarov@redhat.com>

Backport from mainline
2015-01-30  Vladimir Makarov  <vmakarov@redhat.com>

PR target/64688
* g++.dg/pr64688-2.C: New.

From-SVN: r221743

10 years agoDaily bump.
GCC Administrator [Fri, 27 Mar 2015 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r221716

10 years agore PR target/65561 (avx512fintrin.h:5344:1: internal compiler error: in curr_insn_tra...
Uros Bizjak [Thu, 26 Mar 2015 22:14:07 +0000 (23:14 +0100)] 
re PR target/65561 (avx512fintrin.h:5344:1: internal compiler error: in curr_insn_transform, at lra-constraints.c:3494)

PR target/65561
* config/i386/sse.md (avx512f_vextract<shuffletype>32x4_1_maskm):
Check operand 6 and operand 0 for equality.
(vec_extract_lo_<mode>_maskm): Check operand 2 and operand 0
for equality.
(vec_extract_hi_<mode>_maskm): Ditto.

From-SVN: r221712

10 years agore PR c++/65154 (ICE with {} initialized array with string)
Mikhail Maltsev [Thu, 26 Mar 2015 19:52:00 +0000 (19:52 +0000)] 
re PR c++/65154 (ICE with {} initialized array with string)

PR c++/65154
* init.c (build_vec_init): Fix initializing aggregates
with empty init list.

From-SVN: r221705

10 years agobackport: rs6000.c (context.h): New #include.
Bill Schmidt [Thu, 26 Mar 2015 12:03:36 +0000 (12:03 +0000)] 
backport: rs6000.c (context.h): New #include.

gcc:

2015-03-26  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

Backport of r214242, r214254, and bug fix patches from mainline
* config/rs6000/rs6000.c (context.h): New #include.
(tree-pass.h): Likewise.
(make_pass_analyze_swaps): New declaration.
(rs6000_option_override): Register swap-optimization pass.
(swap_web_entry): New class.
(special_handling_values): New enum.
(union_defs): New function.
(union_uses): Likewise.
(insn_is_load_p): Likewise.
(insn_is_store_p): Likewise.
(insn_is_swap_p): Likewise.
(rtx_is_swappable_p): Likewise.
(insn_is_swappable_p): Likewise.
(chain_purpose): New enum.
(chain_contains_only_swaps): New function.
(mark_swaps_for_removal): Likewise.
(swap_const_vector_halves): Likewise.
(adjust_subreg_index): Likewise.
(permute_load): Likewise.
(permute_store): Likewise.
(adjust_extract): Likewise.
(adjust_splat): Likewise.
(handle_special_swappables): Likewise.
(replace_swap_with_copy): Likewise.
(dump_swap_insn_table): Likewise.
(rs6000_analyze_swaps): Likewise.
(pass_data_analyze_swaps): New pass_data.
(pass_analyze_swaps): New class.
(pass_analyze_swaps::gate): New method.
(pass_analyze_swaps::execute): New method.
(make_pass_analyze_swaps): New function.
* config/rs6000/rs6000.opt (moptimize-swaps): New option.
* df.h (web_entry_base): New class, replacing struct web_entry.
(web_entry_base::pred): New method.
(web_entry_base::set_pred): Likewise.
(web_entry_base::unionfind_root): Likewise.
(web_entry_base::unionfind_union): Likewise.
(unionfind_root): Delete external reference.
(unionfind_union): Likewise.
(union_defs): Likewise.
* web.c (web_entry_base::unionfind_root): Convert to method.
(web_entry_base::unionfind_union): Likewise.
(web_entry): New class.
(union_match_dups): Convert to use class structure.
(union_defs): Likewise.
(entry_register): Likewise.
(web_main): Likewise.

[testsuite]

2015-03-26  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

Backport r214254 and related tests from mainline
* gcc.target/powerpc/swaps-p8-1.c: New test.
* gcc.target/powerpc/swaps-p8-2.c: New test.
* gcc.target/powerpc/swaps-p8-3.c: New test.
* gcc.target/powerpc/swaps-p8-4.c: New test.
* gcc.target/powerpc/swaps-p8-5.c: New test.
* gcc.target/powerpc/swaps-p8-6.c: New test.
* gcc.target/powerpc/swaps-p8-7.c: New test.
* gcc.target/powerpc/swaps-p8-8.c: New test.
* gcc.target/powerpc/swaps-p8-9.c: New test.
* gcc.target/powerpc/swaps-p8-10.c: New test.
* gcc.target/powerpc/swaps-p8-11.c: New test.
* gcc.target/powerpc/swaps-p8-12.c: New test.
* gcc.target/powerpc/swaps-p8-13.c: New test.
* gcc.target/powerpc/swaps-p8-14.c: New test.
* gcc.target/powerpc/swaps-p8-15.c: New test.
* gcc.target/powerpc/swaps-p8-16.c: New test.
* gcc.target/powerpc/swaps-p8-17.c: New test.

From-SVN: r221691

10 years agore PR regression/63150 (FAIL: gcc.target/powerpc/pr53199.c scan-assembler-times *)
Alan Modra [Thu, 26 Mar 2015 08:33:53 +0000 (19:03 +1030)] 
re PR regression/63150 (FAIL: gcc.target/powerpc/pr53199.c scan-assembler-times *)

PR target/63150
Backport from trunk 211857 and 221445.
2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
* config/rs6000/rs6000.md: Append `DONE' to preparation
statements of `bswap' pattern splitters.

2015-03-16  Alan Modra  <amodra@gmail.com>
* config/rs6000/rs6000.md (bswapdi2): Remove one scratch reg.
Modify Z->r bswapdi splitter to use dest in place of scratch.
In r->Z and Z->r bswapdi splitter rename word_high, word_low
to word1, word2 and rearrange logic to suit.
(bswapdi2_64bit): Remove early clobber on Z->r alternative.
(bswapdi2_ldbrx): Likewise.  Remove '??' on r->r.
(bswapdi2_32bit): Remove early clobber on Z->r alternative.
Add one '?' on r->r.  Modify Z->r splitter to avoid need for
early clobber.

From-SVN: r221689

10 years agobackport: t-sh (MULTILIB_EXCEPTIONS): Handle default endian.
Oleg Endo [Thu, 26 Mar 2015 07:46:51 +0000 (07:46 +0000)] 
backport: t-sh (MULTILIB_EXCEPTIONS): Handle default endian.

gcc/
Backport from mainline
2015-03-26  Oleg Endo  <olegendo@gcc.gnu.org>

* config/sh/t-sh (MULTILIB_EXCEPTIONS): Handle default endian.

From-SVN: r221686

10 years agoDaily bump.
GCC Administrator [Thu, 26 Mar 2015 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r221679

10 years agore PR libstdc++/65279 (std::scoped_allocator_adaptor is not assignable)
Jonathan Wakely [Wed, 25 Mar 2015 22:58:55 +0000 (22:58 +0000)] 
re PR libstdc++/65279 (std::scoped_allocator_adaptor is not assignable)

PR libstdc++/65279
* include/std/scoped_allocator (__inner_type_impl,
scoped_allocator_adaptor): Add defaulted copy assignment and move
assignment operators.
* testsuite/20_util/scoped_allocator/65279.cc: New.

From-SVN: r221676

10 years agore PR libstdc++/65543 (rvalue stream insertion and extraction operators incorrectly...
Paolo Carlini [Wed, 25 Mar 2015 12:55:04 +0000 (12:55 +0000)] 
re PR libstdc++/65543 (rvalue stream insertion and extraction operators incorrectly implemented)

2015-03-25  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/65543
* include/std/istream (operator>>(basic_istream<>&&, _Tp&): Revert
thinko in r150387.
* include/std/ostream (operator<<(basic_ostream<>&&, const _Tp&):
Likewise.
* testsuite/27_io/rvalue_streams-2.cc: New.

From-SVN: r221663

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

From-SVN: r221647

10 years agoBackport testsuite race fix from mainline
Maxim Kuvyrkov [Tue, 24 Mar 2015 17:19:34 +0000 (17:19 +0000)] 
Backport testsuite race fix from mainline

Backport from mainline:

2015-02-19  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
PR testsuite/65116
* lib/target-supports.exp (check_compile): Check whether
additional_sources is defined before using it.

2015-02-19  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
* lib/target-supports.exp (check_compile): Save/restore
additional_sources that may belong to an actual test.

From-SVN: r221639

10 years agore PR rtl-optimization/60851 (ICE: in extract_constrain_insn_cached, at recog.c:2117...
Uros Bizjak [Tue, 24 Mar 2015 07:12:03 +0000 (08:12 +0100)] 
re PR rtl-optimization/60851 (ICE: in extract_constrain_insn_cached, at recog.c:2117 with -flive-range-shrinkage -mdispatch-scheduler -march=bdver4)

PR rtl-optimization/60851
* recog.c (constrain_operands): Accept a pseudo register before reload
for LRA enabled targets.

testsuite/ChangeLog:

PR rtl-optimization/60851
* gcc.target/i386/pr60851.c: New test.

From-SVN: r221617

10 years agoChangeLog: Fix whitespace.
Uros Bizjak [Tue, 24 Mar 2015 07:09:57 +0000 (08:09 +0100)] 
ChangeLog: Fix whitespace.

* ChangeLog: Fix whitespace.
* testsuite/ChangeLog: Ditto.

From-SVN: r221616

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

From-SVN: r221612

10 years agobackport: re PR fortran/60255 ([OOP] Deferred character length variable at (1) cannot...
Andre Vehreschild [Mon, 23 Mar 2015 11:58:49 +0000 (12:58 +0100)] 
backport: re PR fortran/60255 ([OOP] Deferred character length variable at (1) cannot yet be associated with unlimited polymorphic entities)

gcc/fortran/ChangeLog

2015-03-23  Andre Vehreschild  <vehre@gmx.de>
    Janus Weil  <janus@gcc.gnu.org>

Backported from mainline
PR fortran/60255
Initial patch version: Janus Weil
* class.c (gfc_get_len_component): New.
(gfc_build_class_symbol): Add _len component to unlimited
polymorphic entities.
(find_intrinsic_vtab): Removed emitting of error message.
* gfortran.h: Added prototype for gfc_get_len_component.
* simplify.c (gfc_simplify_len): Use _len component where
available.
* trans-expr.c (gfc_class_len_get): New.
(gfc_conv_intrinsic_to_class): Add handling for deferred
character arrays.
(gfc_conv_structure): Treat _len component correctly.
(gfc_conv_expr): Prevent bind_c handling when not required.
(gfc_trans_pointer_assignment): Propagate _len component.
* trans-stmt.c (class_has_len_component): New.
(trans_associate_var): _len component treatement for associate
context.
(gfc_trans_allocate): Same as for trans_associate_var()
* trans.h: Add prototype for gfc_class_len_get.

gcc/testsuite/ChangeLog

2015-03-20  Andre Vehreschild  <vehre@gmx.de>

Backport from mainline
PR fortran/60255
* gfortran.dg/unlimited_polymorphic_2.f03: Removed error.
Converted from dos to unix line endings.
* gfortran.dg/unlimited_polymorphic_20.f03: New test.

Co-Authored-By: Janus Weil <janus@gcc.gnu.org>
From-SVN: r221591

10 years agobackport: re PR ipa/64813 (23_containers/unordered_map/requirements/explicit_instanti...
Yvan Roux [Mon, 23 Mar 2015 09:55:34 +0000 (09:55 +0000)] 
backport: re PR ipa/64813 (23_containers/unordered_map/requirements/explicit_instantiation/[2,4].cc iCEs)

2015-03-23  Yvan Roux  <yvan.roux@linaro.org>

Backport from trunk r220616.
2015-02-11  Martin Liska  <mliska@suse.cz>

PR ipa/64813
 * cgraphunit.c (cgraph_node::expand_thunk): Do not create a return
 value for call to a function that is noreturn.

From-SVN: r221590

10 years agobackport: re PR ipa/63587 (ICE : tree check: expected var_decl, have result_decl...
Yvan Roux [Mon, 23 Mar 2015 09:50:33 +0000 (09:50 +0000)] 
backport: re PR ipa/63587 (ICE : tree check: expected var_decl, have result_decl in add_local_variables, at tree-inline.c:4112)

gcc/
2015-03-23  Yvan Roux  <yvan.roux@linaro.org>

Backport from trunk r216841.
2014-10-29  Martin Liska  <mliska@suse.cz>

PR ipa/63587
* cgraphunit.c (cgraph_node::expand_thunk): Only VAR_DECLs are put to local
declarations.
* function.c (add_local_decl): Implementation moved from header file, assert
introduced for tree type.
* function.h: Likewise.

gcc/testsuite/
2015-03-23  Yvan Roux  <yvan.roux@linaro.org>

Backport from trunk r216841.
2014-10-29  Martin Liska  <mliska@suse.cz>

PR ipa/63587
* g++.dg/ipa/pr63587-1.C: New test.
* g++.dg/ipa/pr63587-2.C: New test.

From-SVN: r221589

10 years agoDaily bump.
GCC Administrator [Mon, 23 Mar 2015 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r221580

10 years agore PR fortran/60956 (error reading (and writing) large text files in gfortran)
Jerry DeLisle [Mon, 23 Mar 2015 00:16:01 +0000 (00:16 +0000)] 
re PR fortran/60956 (error reading (and writing) large text files in gfortran)

2015-03-22  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/60956
Backport from mainline
* io/fbuf.c (fbuf_flush_list): New function that only flushes
if current fbuf position exceeds a limit.
* io/fbuf.h: Declare the new function.
* io/io.h (enum unit_mode): Add two new modes.
* io/list_read.c (list_formatted_read_scalar): Call new function.
* io/write.c: Include fbuf.h. (list_formatted_write_scalar):
Call new function.

From-SVN: r221578

10 years agoDaily bump.
GCC Administrator [Sun, 22 Mar 2015 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r221567

10 years agore PR fortran/61138 (Wrong code with pointer-bounds remapping)
Mikael Morin [Sat, 21 Mar 2015 15:15:19 +0000 (15:15 +0000)] 
re PR fortran/61138 (Wrong code with pointer-bounds remapping)

PR fortran/61138
fortran/
* trans-expr.c (gfc_trans_pointer_assignment): Clear DESCRIPTOR_ONLY
field before reusing LSE.
testsuite/
* gfortran.dg/pointer_remapping_9.f90: New.

From-SVN: r221555

10 years agoDaily bump.
GCC Administrator [Sat, 21 Mar 2015 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r221546

10 years agoDaily bump.
GCC Administrator [Fri, 20 Mar 2015 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r221526

10 years agore PR fortran/59198 (ICE on cyclically dependent polymorphic types)
Paul Thomas [Thu, 19 Mar 2015 20:12:29 +0000 (20:12 +0000)] 
re PR fortran/59198 (ICE on cyclically dependent polymorphic types)

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

PR fortran/59198
* trans-types.c (gfc_get_derived_type): If an abstract derived
type with procedure pointer components has no other type of
component, return the backend_decl. Otherwise build the
components if any of the non-procedure pointer components have
no backend_decl.

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

PR fortran/59198
* gfortran.dg/proc_ptr_comp_44.f90 : New test
* gfortran.dg/proc_ptr_comp_45.f90 : New test

From-SVN: r221523

10 years ago[simplify-rtx] PR 65235: Calculate element size correctly when simplifying (vec_selec...
Kyrylo Tkachov [Thu, 19 Mar 2015 09:58:42 +0000 (09:58 +0000)] 
[simplify-rtx] PR 65235: Calculate element size correctly when simplifying (vec_select (vec_concat (const_int) (...)) [...])

Backport from mainline
2015-03-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

PR rtl-optimization/65235
* simplify-rtx.c (simplify_binary_operation_1, VEC_SELECT case):
When first element of vec_concat is const_int, calculate its size
using second element.

PR rtl-optimization/65235
* gcc.target/aarch64/pr65235_1.c: New test.

From-SVN: r221511

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

From-SVN: r221504

10 years agoDaily bump.
GCC Administrator [Wed, 18 Mar 2015 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r221480

10 years agoDaily bump.
GCC Administrator [Tue, 17 Mar 2015 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r221468

10 years agore PR middle-end/65409 (ICE in store_field)
Eric Botcazou [Mon, 16 Mar 2015 10:28:39 +0000 (10:28 +0000)] 
re PR middle-end/65409 (ICE in store_field)

PR middle-end/65409
* expr.c (store_field): Do not do a direct block copy if the source is
a PARALLEL with BLKmode.

From-SVN: r221454

10 years agoutils2.c (gnat_invariant_expr): Return null if the type of the expression ends up...
Eric Botcazou [Mon, 16 Mar 2015 10:06:28 +0000 (10:06 +0000)] 
utils2.c (gnat_invariant_expr): Return null if the type of the expression ends up being composite.

* gcc-interface/utils2.c (gnat_invariant_expr): Return null if the type
of the expression ends up being composite.

From-SVN: r221450

10 years agoDaily bump.
GCC Administrator [Mon, 16 Mar 2015 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r221443

10 years agoDaily bump.
GCC Administrator [Sun, 15 Mar 2015 00:16:17 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r221438

10 years agoDaily bump.
GCC Administrator [Sat, 14 Mar 2015 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r221431

10 years agoDaily bump.
GCC Administrator [Fri, 13 Mar 2015 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r221404

10 years agoAdjust ChangeLog
Mikael Morin [Thu, 12 Mar 2015 17:08:11 +0000 (17:08 +0000)] 
Adjust ChangeLog

From-SVN: r221399

10 years agore PR fortran/60898 (model compile error with gfortran 4.7 and gcc 4.9)
Mikael Morin [Thu, 12 Mar 2015 16:08:48 +0000 (16:08 +0000)] 
re PR fortran/60898 (model compile error with gfortran 4.7 and gcc 4.9)

PR fortran/60898
fortran/
* resolve.c (resolve_symbol): Check that the symbol found by
name lookup really is the current symbol being resolved.
testsuite/
* gfortran.dg/entry_20.f90: New.

From-SVN: r221395

10 years agoS/390: Hotpach fixes.
Dominik Vogt [Thu, 12 Mar 2015 11:36:55 +0000 (11:36 +0000)] 
S/390: Hotpach fixes.

2015-03-12  Dominik Vogt  <vogt@linux.vnet.ibm.com>

    Backport from mainline
    * config/s390/s390.c (s390_reorg): Move code to output nops after label
    to s390_reorg ().
    (s390_asm_output_function_label): Likewise.
    * config/s390/s390.c (s390_asm_output_function_label):
    Fix function label alignment with -mhtopatch.
    * config/s390/s390.md ("unspecv"): New values UNSPECV_NOP_2_BYTE,
    UNSPECV_NOP_4_BYTE and UNSPECV_NOP_6_BYTE
    ("nop_2_byte"): New define_insn.
    ("nop_4_byte"): Likewise.
    ("nop_6_byte"): Likewise.
    * doc/extend.texi (hotpatch): hotpatch attribute doc fixes.
    * doc/invoke.texi (-mhotpatch): -mhotpatch doc fixes.

2015-03-12  Dominik Vogt  <vogt@linux.vnet.ibm.com>

    Backport from mainline
    * gcc.target/s390/hotpatch-21.c: New test for hotpatch alignment.
    * gcc.target/s390/hotpatch-22.c: Likewise.
    * gcc.target/s390/hotpatch-23.c: Likewise.
    * gcc.target/s390/hotpatch-24.c: Likewise.
    * gcc.target/s390/hotpatch-2.c: Also check hotpatch alignment.
    * gcc.target/s390/hotpatch-1.c: Update expected output.
    * gcc.target/s390/hotpatch-2.c: Likewise.
    * gcc.target/s390/hotpatch-3.c: Likewise.
    * gcc.target/s390/hotpatch-4.c: Likewise.
    * gcc.target/s390/hotpatch-5.c: Likewise.
    * gcc.target/s390/hotpatch-6.c: Likewise.
    * gcc.target/s390/hotpatch-7.c: Likewise.
    * gcc.target/s390/hotpatch-8.c: Likewise.
    * gcc.target/s390/hotpatch-9.c: Likewise.
    * gcc.target/s390/hotpatch-10.c: Likewise.
    * gcc.target/s390/hotpatch-11.c: Likewise.
    * gcc.target/s390/hotpatch-12.c: Likewise.
    * gcc.target/s390/hotpatch-13.c: Likewise.
    * gcc.target/s390/hotpatch-14.c: Likewise.
    * gcc.target/s390/hotpatch-15.c: Likewise.
    * gcc.target/s390/hotpatch-16.c: Likewise.
    * gcc.target/s390/hotpatch-17.c: Likewise.
    * gcc.target/s390/hotpatch-18.c: Likewise.
    * gcc.target/s390/hotpatch-19.c: Likewise.

From-SVN: r221385

10 years agoS/390: Use !lp64 instead of -m31 cmdline option.
Andreas Krebbel [Thu, 12 Mar 2015 11:33:40 +0000 (11:33 +0000)] 
S/390: Use !lp64 instead of -m31 cmdline option.

2015-03-12  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

        Backport from mainline
        2015-02-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* gcc.target/s390/20140327-1.c: Remove -m31 and guard with ! lp64.
* gcc.target/s390/hotpatch-8.c: Likewise.
* gcc.target/s390/hotpatch-9.c: Likewise.
* gcc.target/s390/pr57960.c: Remove -m64.
* gcc.target/s390/pr57559.c: Likewise.

From-SVN: r221384

10 years agore PR tree-optimization/65388 (Wrong comparison in same_succ_def::equal() tree-ssa...
Marek Polacek [Thu, 12 Mar 2015 08:31:36 +0000 (08:31 +0000)] 
re PR tree-optimization/65388 (Wrong comparison in same_succ_def::equal() tree-ssa-tail-merge.c:590)

PR tree-optimization/65388
* tree-ssa-tail-merge.c (same_succ_def::equal): Fix typo in comparison.

From-SVN: r221375

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

From-SVN: r221368

10 years agore PR target/65296 ([avr] fix various issues with specs file generation)
Georg-Johann Lay [Wed, 11 Mar 2015 18:35:52 +0000 (18:35 +0000)] 
re PR target/65296 ([avr] fix various issues with specs file generation)

gcc/
PR target/65296
* configure.ac [avr]: Check as for option -mrmw.
* configure: Regenerate.
* config.in: Regenerate.
* config/avr/driver-avr.c (avr_device_to_as): Don't add -mrmw to
assembler options if not HAVE_AS_AVR_MRMW_OPTION.

From-SVN: r221354

10 years agobackport: re PR middle-end/56917 (-ftrapv detects a overflow wrongly.)
Marek Polacek [Wed, 11 Mar 2015 10:37:38 +0000 (10:37 +0000)] 
backport: re PR middle-end/56917 (-ftrapv detects a overflow wrongly.)

Backported from mainline
2014-12-04  Marek Polacek  <polacek@redhat.com>

PR middle-end/56917
* fold-const.c (fold_unary_loc): Perform the negation in A's type
when transforming ~ (A - 1) or ~ (A + -1) to -A.

* c-c++-common/ubsan/pr56917.c: New test.

From-SVN: r221346

10 years agoDaily bump.
GCC Administrator [Wed, 11 Mar 2015 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r221341

10 years agore PR fortran/65024 ([OOP] unlimited polymorphic pointer structure not built when...
Paul Thomas [Tue, 10 Mar 2015 22:24:01 +0000 (22:24 +0000)] 
re PR fortran/65024 ([OOP] unlimited polymorphic pointer structure not built when it should be)

2015-03-10  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/65024
* trans-expr.c (gfc_conv_component_ref): If the component
backend declaration is missing and the derived type symbol is
available in the reference, call gfc_build_derived_type.

2015-03-10  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/65024
* gfortran.dg/unlimited_polymorphic_23.f90: New test

From-SVN: r221338

10 years agore PR testsuite/63175 (FAIL: gcc.dg/vect/costmodel/ppc/costmodel-bb-slp-9a.c scan...
Martin Sebor [Tue, 10 Mar 2015 21:06:41 +0000 (21:06 +0000)] 
re PR testsuite/63175 (FAIL: gcc.dg/vect/costmodel/ppc/costmodel-bb-slp-9a.c scan-tree-dump-times slp2" basic block vectorized using SLP" 1)

2015-03-10  Martin Sebor  <msebor@redhat.com>

PR testsuite/63175
* gcc.dg/vect/costmodel/ppc/costmodel-bb-slp-9a.c (main1): Move
checking of results into main to prevent it from getting optimized
away.
* gcc.dg/vect/costmodel/ppc/costmodel-bb-slp-9a-pr63175.c: New test.

From-SVN: r221336