]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
10 years agoDaily bump.
GCC Administrator [Sat, 30 May 2015 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r223879

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

From-SVN: r223853

10 years agomicroblaze-linux: add missing cpp specs
Mike Frysinger [Thu, 28 May 2015 14:06:03 +0000 (14:06 +0000)] 
microblaze-linux: add missing cpp specs

Define CPP_SPEC for microblaze linux targets so that -posix & -pthread
work like on all other linux targets.

Discovered via Gentoo bug https://bugs.gentoo.org/543114

From-SVN: r223825

10 years agohppa-linux: add missing cpp specs
Mike Frysinger [Thu, 28 May 2015 14:05:44 +0000 (14:05 +0000)] 
hppa-linux: add missing cpp specs

Define CPP_SPEC for parisc linux targets so that -posix & -pthread work
like on all other linux targets.

Discovered via Gentoo bug https://bugs.gentoo.org/543114

From-SVN: r223824

10 years agore PR target/66148 (build/genpreds: Internal error: abort in choose_enum_order, at...
John David Anglin [Thu, 28 May 2015 01:17:52 +0000 (01:17 +0000)] 
re PR target/66148 (build/genpreds: Internal error: abort in choose_enum_order, at genpreds.c:1006)

PR target/66148
* config/pa/pa.c (pa_emit_move_sequence): Correct placement of
REG_EQUAL note when doing insert.

From-SVN: r223794

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

From-SVN: r223785

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

From-SVN: r223726

10 years agobackport: varasm.c (output_constant_pool_1): Pass down alignment from constant pool...
Rohit Arul Raj [Tue, 26 May 2015 20:11:44 +0000 (20:11 +0000)] 
backport: varasm.c (output_constant_pool_1): Pass down alignment from constant pool entry's descriptor to output_constant_pool_2.

Backported from mainline
2015-05-14  Rohit Arul Raj  <rohitarulraj@freescale.com>

* varasm.c (output_constant_pool_1): Pass down alignment from
constant pool entry's descriptor to output_constant_pool_2.
(output_object_block): Add comment prior to call to
output_constant_pool_1.

* gcc.target/powerpc/pr60158.c: New test.

From-SVN: r223713

10 years agoDaily bump.
GCC Administrator [Tue, 26 May 2015 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r223658

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

From-SVN: r223637

10 years agoDaily bump.
GCC Administrator [Sun, 24 May 2015 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r223615

10 years agoDaily bump.
GCC Administrator [Sat, 23 May 2015 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r223600

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

From-SVN: r223509

10 years agobackport: config.gcc [...]: Allow --enable-targets=all to build a biarch toolchain...
Sandra Loosemore [Thu, 21 May 2015 20:57:29 +0000 (16:57 -0400)] 
backport: config.gcc [...]: Allow --enable-targets=all to build a biarch toolchain again.

2015-05-21  Sandra Loosemore  <sandra@codesourcery.com>

Backport from mainline r223418:

gcc/
* config.gcc [powerpc*-*-linux*]: Allow --enable-targets=all
to build a biarch toolchain again.

From-SVN: r223504

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

From-SVN: r223465

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

From-SVN: r223419

10 years agoS/390: invoke.texi: Add missing cpu types for march option: z196 and zEC12.
Andreas Krebbel [Tue, 19 May 2015 12:24:42 +0000 (12:24 +0000)] 
S/390: invoke.texi: Add missing cpu types for march option: z196 and zEC12.

gcc/
* doc/invoke.texi: Add missing cpu types for march option: z196
and zEC12.

From-SVN: r223357

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

From-SVN: r223327

10 years agoS/390: Adjust zEC12 scheduling
Andreas Krebbel [Mon, 18 May 2015 11:08:46 +0000 (11:08 +0000)] 
S/390: Adjust zEC12 scheduling

2015-05-18  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

    Backport from mainline
    2015-05-12  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

    * config/s390/2827.md: Split zEC12_simple into zEC12_simple_int
    and zEC12_simple_fp.
    * config/s390/s390.c (s390_issue_rate): Set issue rate for zEC12
    to 1.

From-SVN: r223289

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

From-SVN: r223277

10 years agore PR target/66140 (ICE at extract_insn, at recog.c:2343 when compiling for alpha...
Uros Bizjak [Sun, 17 May 2015 07:26:56 +0000 (09:26 +0200)] 
re PR target/66140 (ICE at extract_insn, at recog.c:2343 when compiling for alpha with gcc-5.1.1)

PR target/66140
* config/alpha/alpha.c (get_aligned_mem): Also look for reload
replacements in memory addresses.
(get_unaligned_address): Ditto.

testsuite/ChangeLog:

PR target/66140
* gcc.target/alpha/pr66140.c: New test.

From-SVN: r223267

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

From-SVN: r223262

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

From-SVN: r223227

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

From-SVN: r223205

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

From-SVN: r223186

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

From-SVN: r223102

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

From-SVN: r223027

10 years agors6000.opt (-mcompat-align-parm): Reset initial value that was modified by accident...
Michael Meissner [Mon, 11 May 2015 19:00:57 +0000 (19:00 +0000)] 
rs6000.opt (-mcompat-align-parm): Reset initial value that was modified by accident in my last change.

2015-05-11  Michael Meissner  <meissner@linux.vnet.ibm.com>

* config/rs6000/rs6000.opt (-mcompat-align-parm): Reset initial
value that was modified by accident in my last change.

From-SVN: r223013

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

From-SVN: r222986

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

From-SVN: r222971

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

From-SVN: r222928

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

From-SVN: r222898

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

From-SVN: r222866

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

From-SVN: r222831

10 years agobackport: re PR target/64304 (AArch64 miscompilation with -mgeneral-regs-only)
Fei Yang [Tue, 5 May 2015 15:59:12 +0000 (15:59 +0000)] 
backport: re PR target/64304 (AArch64 miscompilation with -mgeneral-regs-only)

        Backported from mainline
        2015-01-19  Jiong Wang  <jiong.wang@arm.com>
                    Andrew Pinski  <apinski@cavium.com>

        PR target/64304
        * config/aarch64/aarch64.md (define_insn "*ashl<mode>3_insn"): Deleted.
        (ashl<mode>3): Don't expand if operands[2] is not constant.

From-SVN: r222814

10 years agobackport: re PR target/64579 (__TM_end __builtin_tend failed to return transactional...
Peter Bergner [Tue, 5 May 2015 14:27:30 +0000 (09:27 -0500)] 
backport: re PR target/64579 (__TM_end __builtin_tend failed to return transactional state)

gcc/

Backport from mainline.
2015-04-27  Peter Bergner  <bergner@vnet.ibm.com>

PR target/64579
* config/rs6000/htm.md: Remove all define_expands.
(UNSPECV_HTM_TABORTDC, UNSPECV_HTM_TABORTDCI, UNSPECV_HTM_TABORTWC,
UNSPECV_HTM_TABORTWCI): Remove.
(UNSPECV_HTM_TABORTXC, UNSPECV_HTM_TABORTXCI, UNSPECV_HTM_TTEST): New.
(tabort_internal, tbegin_internal, tcheck_internal, tend_internal,
trechkpt_internal, treclaim_internal, tsr_internal): Rename from this...
(tabort, tbegin, tcheck, tend, trechkpt, treclaim, tsr): ...to this.
(tabortdc_internal, tabortdci_internal, tabortwc_internal,
tabortwci_internal): Remove define_insns.
(tabort<wd>c, tabort<wd>ci): New define_insns.
(tabort): Use gpc_reg_operand.
(tcheck): Remove operand.
(htm_mfspr_<mode>, htm_mtspr_<mode>): Use GPR mode macro.
* config/rs6000/htmxlintrin.h (__TM_end): Use _HTM_TRANSACTIONAL as
expected value.
* config/rs6000/rs6000-builtin.def (BU_HTM_SPR0): Remove.
(BU_HTM_SPR1): Rename to BU_HTM_V1.  Remove use of RS6000_BTC_SPR.
(tabort, tabortdc, tabortdci, tabortwc, tabortwci, tbegin,
tcheck, tend, tendall, trechkpt, treclaim, tresume, tsuspend,
tsr, ttest): Pass in the RS6000_BTC_CR attribute.
(get_tfhar, set_tfhar, get_tfiar, set_tfiar, get_texasr, set_texasr,
get_texasru, set_texasru): Pass in the RS6000_BTC_SPR attribute.
(tcheck): Remove builtin argument.
* config/rs6000/rs6000.c (rs6000_htm_spr_icode): Use TARGET_POWERPC64
not TARGET_64BIT.
(htm_expand_builtin): Fix usage of expandedp.  Disallow usage of the
tabortdc and tabortdci builtins when not in 64-bit mode.
Modify code to handle the loss of the HTM define_expands.
Emit code to copy the CR register to TARGET.
(htm_init_builtins): Modify code to handle the loss of the HTM
define_expands.
* config/rs6000/rs6000.h (RS6000_BTC_32BIT): Delete.
(RS6000_BTC_64BIT): Likewise.
(RS6000_BTC_CR): New macro.
* doc/extend.texi: Update documentation for htm builtins.

gcc/testsuite/

Backport from mainline.
2015-04-27  Peter Bergner  <bergner@vnet.ibm.com>

PR target/64579
* gcc.target/powerpc/htm-1.c: New test.
* gcc.target/powerpc/htm-builtin-1.c (__builtin_tabortdc): Only test
on 64-bit compiles.
(__builtin_tabortdci): Likewise.
(__builtin_tcheck): Remove operand.
* lib/target-supports.exp (check_htm_hw_available): New function.

From-SVN: r222809

10 years agoDaily bump.
GCC Administrator [Tue, 5 May 2015 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r222785

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

From-SVN: r222754

10 years agoconfigure.ac: Match $host configured with triplets.
Matthias Klose [Sun, 3 May 2015 17:26:29 +0000 (17:26 +0000)] 
configure.ac: Match $host configured with triplets.

2015-05-03  Matthias Klose  <doko@ubuntu.com>

        * configure.ac: Match $host configured with triplets.
        * configure: Regenerate.

From-SVN: r222747

10 years agoDaily bump.
GCC Administrator [Sun, 3 May 2015 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r222743

10 years agoDaily bump.
GCC Administrator [Sat, 2 May 2015 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r222709

10 years agocrypto-builtin-2.c: Replace powerpc_vsx_ok with powerpc_p8vector_ok.
Bill Schmidt [Fri, 1 May 2015 03:28:59 +0000 (03:28 +0000)] 
crypto-builtin-2.c: Replace powerpc_vsx_ok with powerpc_p8vector_ok.

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

* gcc.target/powerpc/crypto-builtin-2.c: Replace powerpc_vsx_ok
with powerpc_p8vector_ok.

From-SVN: r222672

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

From-SVN: r222666

10 years agore PR tree-optimization/63551 (wrong code (segfaults) at -Os on x86_64-linux-gnu)
Marek Polacek [Thu, 30 Apr 2015 18:41:33 +0000 (18:41 +0000)] 
re PR tree-optimization/63551 (wrong code (segfaults) at -Os on x86_64-linux-gnu)

        * g++.dg/ipa/pr63551.C: New test.

        Backported from mainline
        2014-12-15  Jakub Jelinek  <jakub@redhat.com>

        PR tree-optimization/63551
        * gcc.dg/ipa/pr63551.c (fn2): Use 4294967286U instead of
        4294967286 to avoid warnings.

        2014-12-03  Martin Jambor  <mjambor@suse.cz>

        PR ipa/64153
        * ipa-inline-analysis.c (evaluate_conditions_for_known_args): Check
        type sizes before view_converting.

        2014-12-01  Martin Jambor  <mjambor@suse.cz>

        PR ipa/63551
        * ipa-inline-analysis.c (evaluate_conditions_for_known_args): Convert
        value of the argument to the type of the value in the condition.

        * gcc.dg/ipa/pr63551.c: New test.
        * gcc.dg/ipa/pr64041.c: Likewise.

From-SVN: r222653

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

From-SVN: r222600

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

From-SVN: r222552

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

From-SVN: r222493

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

From-SVN: r222449

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

From-SVN: r222441

10 years agobackport: altivec.md (*altivec_lvx_<mode>_internal): Remove asterisk from name so...
Bill Schmidt [Sat, 25 Apr 2015 02:09:07 +0000 (02:09 +0000)] 
backport: altivec.md (*altivec_lvx_<mode>_internal): Remove asterisk from name so this can be generated directly.

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

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

* config/rs6000/altivec.md (*altivec_lvx_<mode>_internal): Remove
asterisk from name so this can be generated directly.
(*altivec_stvx_<mode>_internal): Likewise.
* config/rs6000/rs6000.c (rs6000_emit_le_vsx_store): Add assert
that this is never called during or after reload/lra.
(rs6000_frame_related): Remove split_reg
argument and logic that references it.
(emit_frame_save): Remove last parameter from call to
rs6000_frame_related.
(rs6000_emit_prologue): Remove last parameter from eight calls to
rs6000_frame_related.  Force generation of stvx instruction for
Altivec register saves.  Remove split_reg handling, which is no
longer needed.
(rs6000_emit_epilogue):  Force generation of lvx instruction for
Altivec register restores.

From-SVN: r222439

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

From-SVN: r222435

10 years agobackport: re PR target/65849 (Add missing tuning knobs to #pragma target/attribute...
Michael Meissner [Fri, 24 Apr 2015 23:48:54 +0000 (23:48 +0000)] 
backport: re PR target/65849 (Add missing tuning knobs to #pragma target/attribute target support)

2015-04-24  Michael Meissner  <meissner@linux.vnet.ibm.com>

Backport from mainline
2015-04-24  Michael Meissner  <meissner@linux.vnet.ibm.com>

PR target/65849
* config/rs6000/rs6000.opt (-mvsx-align-128): Make options that
save to independent variables use the Save attribute.  This will
allow these options to be modified with the #pragma/attribute
target support.
(-mallow-movmisalign): Likewise.
(-mallow-df-permute): Likewise.
(-msched-groups): Likewise.
(-malways-hint): Likewise.
(-malign-branch-targets): Likewise.
(-mvectorize-builtins): Likewise.
(-msave-toc-indirect): Likewise.

* config/rs6000/rs6000.c (rs6000_opt_masks): Add more options that
can be set via the #pragma/attribute target support.
(rs6000_opt_vars): Likewise.
(rs6000_inner_target_options): If VSX was set, also set
-mno-avoid-indexed-addresses.

From-SVN: r222434

10 years agobackport: crypto.md (crypto_vpmsum<CR_char>): Change TARGET_CRYPTO to TARGET_P8_VECTOR>
Bill Schmidt [Fri, 24 Apr 2015 21:58:10 +0000 (21:58 +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: r222429

10 years agobackport: rs6000.c (rtx_is_swappable_p): Commentary adjustments.
Bill Schmidt [Fri, 24 Apr 2015 21:11:25 +0000 (21:11 +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: r222427

10 years agobackport: re PR target/65456 (powerpc64le autovectorized copy loop missed optimization)
Bill Schmidt [Fri, 24 Apr 2015 20:17:10 +0000 (20:17 +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-9.c: Replace vect_no_align with
vect_no_align && { ! vect_hw_misalign }.
* 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/pr16105.c: Likewise.
* gcc.dg/vect/pr20122.c: Likewise.
* gcc.dg/vect/pr33804.c: Likewise.
* gcc.dg/vect/pr33953.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: r222423

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

From-SVN: r222388

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

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

From-SVN: r222364

10 years agore PR c++/65721 (Internal compiler error segmentation fault)
Jason Merrill [Thu, 23 Apr 2015 13:20:08 +0000 (09:20 -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: r222363

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

From-SVN: r222345

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

From-SVN: r222289

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

From-SVN: r222251

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

From-SVN: r222224

10 years agobackport: re PR target/65787 (Miscompile due to bad vector swap optimization for...
Bill Schmidt [Sun, 19 Apr 2015 16:53:22 +0000 (16:53 +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: r222222

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

From-SVN: r222215

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

From-SVN: r222209

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

From-SVN: r222161

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

From-SVN: r222137

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

From-SVN: r222106

10 years agore PR fortran/56674 (ICE in check_sym_interfaces)
Mikael Morin [Tue, 14 Apr 2015 12:23:30 +0000 (12:23 +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: r222086

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

From-SVN: r222067

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

From-SVN: r222034

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

From-SVN: r222012

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

From-SVN: r221997

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

From-SVN: r221964

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

From-SVN: r221938

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

From-SVN: r221912

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

From-SVN: r221885

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

From-SVN: r221874

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

From-SVN: r221869

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

From-SVN: r221863

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

From-SVN: r221846

10 years agopa.c (pa_output_move_double): Directly handle register indexed memory operand.
John David Anglin [Thu, 2 Apr 2015 11:35:42 +0000 (11:35 +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: r221837

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

From-SVN: r221815

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

From-SVN: r221803

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

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: r221792

10 years agoBackport missing pieces from mainline.
Dominik Vogt [Tue, 31 Mar 2015 11:54:34 +0000 (11:54 +0000)] 
Backport missing pieces from mainline.

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

* config/s390/s390.c (s390_function_num_hotpatch_hw): Remove special
cases for not hotpatching main () and artificial functions.

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

* gcc.target/s390/hotpatch-compile-16.c: Remove include of stdio.h.

From-SVN: r221791

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

From-SVN: r221783

10 years agore PR libfortran/59513 (Fortran runtime error: Sequential READ or WRITE not allowed...
Jerry DeLisle [Mon, 30 Mar 2015 20:47:40 +0000 (20:47 +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: r221778

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

From-SVN: r221766

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

From-SVN: r221758

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

From-SVN: r221747

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

From-SVN: r221715

10 years agobackport: rs6000.c (tree-pass.h): New #include.
Bill Schmidt [Thu, 26 Mar 2015 22:35:25 +0000 (22:35 +0000)] 
backport: rs6000.c (tree-pass.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 (tree-pass.h): New #include.
(rs6000_analyze_swaps): New declaration.
(gate_analyze_swaps): New function.
(execute_analyze_swaps): Likewise.
(pass_analyze_swaps): New struct rtl_opt_pass.
(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.
* 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.

[gcc/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-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-15.c: New test.
* gcc.target/powerpc/swaps-p8-17.c: New test.

From-SVN: r221713

10 years agovsx.md (*vsx_extract_<mode>_zero): Remove endianness requirement.
Bill Schmidt [Thu, 26 Mar 2015 14:10:40 +0000 (14:10 +0000)] 
vsx.md (*vsx_extract_<mode>_zero): Remove endianness requirement.

[gcc]

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

* config/rs6000/vsx.md (*vsx_extract_<mode>_zero): Remove
endianness requirement.
(*vsx_extract_<mode>_one_le): Remove define_insn.

[gcc/testsuite]

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

* gcc.dg/vmx/extract-vsx.c: Add more cases.

From-SVN: r221696

10 years agobackport: t-sh (MULTILIB_EXCEPTIONS): Handle default endian.
Oleg Endo [Thu, 26 Mar 2015 07:49:35 +0000 (07:49 +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: r221687

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

From-SVN: r221678

10 years agore PR libstdc++/65279 (std::scoped_allocator_adaptor is not assignable)
Jonathan Wakely [Wed, 25 Mar 2015 19:35:45 +0000 (19:35 +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: r221670

10 years agore PR libstdc++/65543 (rvalue stream insertion and extraction operators incorrectly...
Paolo Carlini [Wed, 25 Mar 2015 12:55:22 +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: r221664

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

From-SVN: r221646

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

From-SVN: r221611