]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
10 years agoaarch64.c (*aarch64_load_symref_appropriately): Check whether the destination of...
Andrew Pinski [Fri, 27 Feb 2015 09:52:09 +0000 (09:52 +0000)] 
aarch64.c (*aarch64_load_symref_appropriately): Check whether the destination of SYMBOL_SMALL_TPREL is Pmode.

2015-02-27  Andrew Pinski  <apinski@cavium.com>
    Naveen H.S  <Naveen.Hurugalawadi@caviumnetworks.com>

* config/aarch64/aarch64.c (*aarch64_load_symref_appropriately):
Check whether the destination of SYMBOL_SMALL_TPREL is Pmode.

Co-Authored-By: Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
From-SVN: r221045

10 years agore PR tree-optimization/65193 (ICE: Segmentation fault with -g -flto)
Richard Biener [Fri, 27 Feb 2015 08:41:26 +0000 (08:41 +0000)] 
re PR tree-optimization/65193 (ICE: Segmentation fault with -g -flto)

2015-02-27  Richard Biener  <rguenther@suse.de>

PR lto/65193
Backport from mainline
2014-07-24  Jan Hubicka  <hubicka@ucw.cz>

* lto-streamer-out.c (tree_is_indexable): Consider IMPORTED_DECL
as non-indexable.

From-SVN: r221044

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

From-SVN: r221037

10 years agobackport: htm.md (tcheck): Fix assembly encoding.
Peter Bergner [Thu, 26 Feb 2015 16:05:49 +0000 (10:05 -0600)] 
backport: htm.md (tcheck): Fix assembly encoding.

gcc/
Backport from mainline
2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>

* config/rs6000/htm.md (tcheck): Fix assembly encoding.

gcc/testsuite/
Backport from mainline
2015-02-25  Peter Bergner  <bergner@vnet.ibm.com>

* gcc.target/powerpc/htm-builtin-1.c (dg-do) Change to assemble.
(dg-options): Add -save-temps.
(dg-final): Add cleanup-saved-temps.

2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>

* gcc.target/powerpc/htm-builtin-1.c: Fix tcheck expect value.

From-SVN: r221018

10 years agoAdd missing bug number to r221000
Matthew Fortune [Thu, 26 Feb 2015 10:56:09 +0000 (10:56 +0000)] 
Add missing bug number to r221000

PR target/64569
* See r221000

From-SVN: r221001

10 years agoSupport the use of binutils after o32 FPXX support was added
Matthew Fortune [Thu, 26 Feb 2015 10:40:06 +0000 (10:40 +0000)] 
Support the use of binutils after o32 FPXX support was added

Combined minimal backport of:
r213870 Fix mips16.S for soft-float
r213872 Pass -m(soft|hard|single|double)-float via ASM_SPEC
r217446 Implement o32 FPXX (minimal backport)
r217939 Update configure check for HAVE_AS_DOT_MODULE
r219867 Only pass floating-point options when necessary

gcc/
* config.in [!USED_FOR_TARGET] (HAVE_AS_DOT_MODULE): Undefine.
* config/mips/mips.h (FP_ASM_SPEC): New macro.
(ASM_SPEC): Use FP_ASM_SPEC.
* configure.ac (HAVE_AS_DOT_MODULE): Detect support for .module
and FPXX extensions.
* configure: Regenerate.

libgcc/
* config/mips/mips16.S: Do not build for soft-float.

From-SVN: r221000

10 years agore PR c++/62255 (Introducing an unrelated template parameter causes compilation to...
Jason Merrill [Thu, 26 Feb 2015 02:43:58 +0000 (21:43 -0500)] 
re PR c++/62255 (Introducing an unrelated template parameter causes compilation to fail)

PR c++/62255
* pt.c (instantiate_decl): Handle recursive instantiation of
static data member.

From-SVN: r220997

10 years agocommon.opt (-flifetime-dse): New.
Jason Merrill [Thu, 26 Feb 2015 02:43:52 +0000 (21:43 -0500)] 
common.opt (-flifetime-dse): New.

gcc/
* common.opt (-flifetime-dse): New.
gcc/cp/
* decl.c (begin_destructor_body): Condition clobber on
-flifetime-dse.

From-SVN: r220996

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

From-SVN: r220994

10 years agore PR tree-optimization/61917 (ICE on valid code at -O3 on x86_64-linux-gnu in vector...
Kai Tietz [Wed, 25 Feb 2015 18:20:34 +0000 (19:20 +0100)] 
re PR tree-optimization/61917 (ICE on valid code at -O3 on x86_64-linux-gnu in vectorizable_reduction, at tree-vect-loop.c:4913)

2015-02-25  Kai Tietz  <ktietz@redhat.com>

PR tree-optimization/61917
* tree-vect-loop.c (vectorizable_reduction): Handle obvious case
that reduc_def_stmt is null.

From-SVN: r220986

10 years agobackport: re PR target/64212 (ICE [in noninterposable_alias, at symtab.c:1706])
Kai Tietz [Wed, 25 Feb 2015 16:46:34 +0000 (17:46 +0100)] 
backport: re PR target/64212 (ICE [in noninterposable_alias, at symtab.c:1706])

Merged from mainline
PR target/64212
* symtab.c (symtab::make_decl_local): Set DECL_IMPORT_P explicit to 0.
(symtab::noninterposable_alias): Likewise.

From-SVN: r220983

10 years agobackport: re PR tree-optimization/61917 (ICE on valid code at -O3 on x86_64-linux...
Kai Tietz [Wed, 25 Feb 2015 14:12:46 +0000 (15:12 +0100)] 
backport: re PR tree-optimization/61917 (ICE on valid code at -O3 on x86_64-linux-gnu in vectorizable_reduction, at tree-vect-loop.c:4913)

2015-02-25  Richard Biener  <rguenther@suse.de>
Kai Tietz  <ktietz@redhat.com>

Backport from mainline
PR tree-optimization/61917
* tree-vect-loop.c (vectorizable_reduction): Allow
vect_internal_def without reduction to exit graceful.

ChangeLog testsuite/

2015-02-25  Kai Tietz  <ktietz@redhat.com>

Backport from mainline
PR tree-optimization/61917
* gcc.dg/vect/vect-pr61917.c: New file.

From-SVN: r220968

10 years agore PR target/65196 (avr_adjust_insn_length uses recog_memoized on invalid insn)
Georg-Johann Lay [Wed, 25 Feb 2015 12:18:51 +0000 (12:18 +0000)] 
re PR target/65196 (avr_adjust_insn_length uses recog_memoized on invalid insn)

PR target/65196
* config/avr/avr.c (avr_adjust_insn_length): Call recog_memoized
only with NONDEBUG_INSN_P.

From-SVN: r220963

10 years agore PR target/65153 ([SH][4.9 Regression] "insn does not satisfy its constraints"...
Kaz Kojima [Wed, 25 Feb 2015 01:00:29 +0000 (01:00 +0000)] 
re PR target/65153 ([SH][4.9 Regression] "insn does not satisfy its constraints" when compiling libmcrypt)

PR target/65153
Backport from mainline: [SH] Fix PR target/65153 with removing movsicc_true+3 peephole2.

From-SVN: r220957

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

From-SVN: r220955

10 years agobackport: [multiple changes]
Richard Biener [Tue, 24 Feb 2015 09:09:11 +0000 (09:09 +0000)] 
backport: [multiple changes]

2015-02-24  Richard Biener  <rguenther@suse.de>

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

PR lto/65015
* dwarf2out.c (gen_producer_string): Drop -fltrans-output-list
and -fresolution.

2015-02-13  Richard Biener  <rguenther@suse.de>

PR lto/65015
* dwarf2out.c (dwarf2out_finish): Use <artificial> as DW_AT_name
for LTO produced CUs.

2015-02-16  Richard Biener  <rguenther@suse.de>

PR lto/65015
* varasm.c (default_file_start): For LTO produced units
emit <artificial> as file directive.

2015-01-17  Jan Kratochvil  <jan.kratochvil@redhat.com>

        * dwarf2out.c (gen_producer_string): Ignore also OPT_fpreprocessed.

From-SVN: r220935

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

From-SVN: r220927

10 years agobackport: re PR target/65163 ([SH] ICE in decompose at rtl.h:2007)
Oleg Endo [Mon, 23 Feb 2015 20:37:20 +0000 (20:37 +0000)] 
backport: re PR target/65163 ([SH] ICE in decompose at rtl.h:2007)

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

PR target/65163
* config/sh/sh.md (swapbsi2, related peephole2): Use const_int -65536
instead of const_int 4294901760.

gcc/testsuite/
Backport from mainline
2015-02-23  Oleg Endo  <olegendo@gcc.gnu.org>

PR target/65163
* gcc.c-torture/compile/pr65163.c: New.

From-SVN: r220917

10 years agoBackport PRs 59354, 61634, 63844, 64909
Richard Biener [Mon, 23 Feb 2015 11:14:25 +0000 (11:14 +0000)] 
Backport PRs 59354, 61634, 63844, 64909

2015-02-23  Richard Biener  <rguenther@suse.de>

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

PR tree-optimization/63844
* omp-low.c (fixup_child_record_type): Use a restrict qualified
referece type for the receiver parameter.

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

PR tree-optimization/61634
* tree-vect-slp.c: Include gimple-walk.h.
(vect_detect_hybrid_slp_stmts): Rewrite to propagate hybrid
down the SLP tree for one scalar statement.
(vect_detect_hybrid_slp_1): New walker function.
(vect_detect_hybrid_slp_2): Likewise.
(vect_detect_hybrid_slp): Properly handle pattern statements
in a pre-scan over all loop stmts.

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

2015-01-14  Richard Biener  <rguenther@suse.de>

PR tree-optimization/59354
* tree-vect-slp.c (vect_build_slp_tree_1): Treat loads from
groups larger than the slp group size as having gaps.

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

2015-02-10  Richard Biener  <rguenther@suse.de>

PR tree-optimization/64909
* tree-vect-loop.c (vect_estimate_min_profitable_iters): Properly
pass a scalar-stmt count estimate to the cost model.
* tree-vect-data-refs.c (vect_peeling_hash_get_lowest_cost): Likewise.

* gcc.dg/vect/costmodel/x86_64/costmodel-pr64909.c: New testcase.

From-SVN: r220912

10 years agobackport: hotpatch-1.c: Remove --save-temps option.
Andreas Krebbel [Mon, 23 Feb 2015 08:13:51 +0000 (08:13 +0000)] 
backport: hotpatch-1.c: Remove --save-temps option.

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

* gcc.target/s390/hotpatch-1.c: Remove --save-temps option.
* gcc.target/s390/hotpatch-10.c: Remove --save-temps option.
* gcc.target/s390/hotpatch-11.c: Remove --save-temps option.
* gcc.target/s390/hotpatch-12.c: Remove --save-temps option.
* gcc.target/s390/hotpatch-13.c: Remove --save-temps option.
* gcc.target/s390/hotpatch-14.c: Remove --save-temps option.
* gcc.target/s390/hotpatch-15.c: Remove --save-temps option.
* gcc.target/s390/hotpatch-16.c: Remove --save-temps option.
* gcc.target/s390/hotpatch-17.c: Remove --save-temps option.
* gcc.target/s390/hotpatch-18.c: Remove --save-temps option.
* gcc.target/s390/hotpatch-19.c: Remove --save-temps option.
* gcc.target/s390/hotpatch-2.c: Remove --save-temps option.
* gcc.target/s390/hotpatch-20.c: Remove --save-temps option.
* gcc.target/s390/hotpatch-3.c: Remove --save-temps option.
* gcc.target/s390/hotpatch-4.c: Remove --save-temps option.
* gcc.target/s390/hotpatch-5.c: Remove --save-temps option.
* gcc.target/s390/hotpatch-6.c: Remove --save-temps option.
* gcc.target/s390/hotpatch-7.c: Remove --save-temps option.
* gcc.target/s390/hotpatch-8.c: Remove --save-temps option.
* gcc.target/s390/hotpatch-9.c: Remove --save-temps option.
* gcc.target/s390/htm-nofloat-1.c: Cleanup --save-temps files.

From-SVN: r220908

10 years agobackport: hotpatch-8.c: Add -march=g5.
Andreas Krebbel [Mon, 23 Feb 2015 08:12:43 +0000 (08:12 +0000)] 
backport: hotpatch-8.c: Add -march=g5.

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

* gcc.target/s390/hotpatch-8.c: Add -march=g5.
* gcc.target/s390/hotpatch-9.c: Add -march=g5.
* gcc.target/s390/hotpatch-compile-1.c: Fix error message.
* gcc.target/s390/hotpatch-compile-10.c: Likewise.
* gcc.target/s390/hotpatch-compile-11.c: Likewise.
* gcc.target/s390/hotpatch-compile-12.c: Likewise.
* gcc.target/s390/hotpatch-compile-13.c: Likewise.
* gcc.target/s390/hotpatch-compile-14.c: Likewise.
* gcc.target/s390/hotpatch-compile-2.c: Likewise.
* gcc.target/s390/hotpatch-compile-3.c: Likewise.
* gcc.target/s390/hotpatch-compile-4.c: Likewise.
* gcc.target/s390/hotpatch-compile-5.c: Likewise.
* gcc.target/s390/hotpatch-compile-6.c: Likewise.
* gcc.target/s390/hotpatch-compile-7.c: Likewise.
* gcc.target/s390/hotpatch-compile-8.c: Likewise.
* gcc.target/s390/hotpatch-compile-9.c: Likewise.

From-SVN: r220907

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

From-SVN: r220901

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

From-SVN: r220891

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

From-SVN: r220884

10 years ago[AArch64] Fix wrong-code bug in right-shift SISD patterns
Kyrylo Tkachov [Fri, 20 Feb 2015 14:23:02 +0000 (14:23 +0000)] 
[AArch64] Fix wrong-code bug in right-shift SISD patterns

Backport from mainline
2015-02-20  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

* config/aarch64/aarch64.md (*aarch64_lshr_sisd_or_int_<mode>3):
Mark operand 0 as earlyclobber in 2nd alternative.
(1st define_split below *aarch64_lshr_sisd_or_int_<mode>3):
Write negated shift amount into QI lowpart operand 0 and use it
in the shift step.
(2nd define_split below *aarch64_lshr_sisd_or_int_<mode>3): Likewise.

* gcc.target/aarch64/sisd-shft-neg_1.c: New test.

From-SVN: r220863

10 years agobackport: re PR target/64452 (ICE in avr-gcc when passing struct member to varargs...
Georg-Johann Lay [Fri, 20 Feb 2015 10:46:05 +0000 (10:46 +0000)] 
backport: re PR target/64452 (ICE in avr-gcc when passing struct member to varargs function)

gcc/
Backport from 2015-02-20 trunk r220847.
PR target/64452
* config/avr/avr.md (pushhi_insn): New insn.
(push<mode>1): Push virtual regs in one chunk using pushhi1_insn.
gcc/testsuite/
Backport from 2015-02-20 trunk r220847.
PR target/64452
* gcc.target/avr/torture/pr64452.c: New test.

From-SVN: r220848

10 years agoBackport PRs 63593, 64373, 64530, 65063
Richard Biener [Fri, 20 Feb 2015 07:32:08 +0000 (07:32 +0000)] 
Backport PRs 63593, 64373, 64530, 65063

2015-02-20  Richard Biener  <rguenther@suse.de>

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

PR tree-optimization/64530
* tree-loop-distribution.c (pg_add_dependence_edges): Shuffle
back dr1.

* gfortran.dg/pr64530.f90: New testcase.

2015-02-13  Richard Biener  <rguenther@suse.de>

PR lto/64373
* lto-streamer-out.c (tree_is_indexable): Guard for NULL
DECL_CONTEXT.

* gcc.dg/lto/pr64373_0.c: New testcase.

2015-02-16  Richard Biener  <rguenther@suse.de>

PR tree-optimization/63593
* tree-predcom.c (execute_pred_commoning_chain): Delay removing
stmts and releasing SSA names until...
(execute_pred_commoning): ... after processing all chains.

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

2015-02-18  Richard Biener  <rguenther@suse.de>

PR tree-optimization/65063
* tree-predcom.c (determine_unroll_factor): Return 1 if we
have replaced looparound PHIs.

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

From-SVN: r220835

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

From-SVN: r220831

10 years agopa.c (pa_reloc_rw_mask): New function.
John David Anglin [Thu, 19 Feb 2015 23:50:10 +0000 (23:50 +0000)] 
pa.c (pa_reloc_rw_mask): New function.

* config/pa/pa.c (pa_reloc_rw_mask): New function.
(TARGET_ASM_RELOC_RW_MASK): Define.
(pa_cannot_force_const_mem): Revert previous change.

From-SVN: r220828

10 years agoBackport PRs 56273, 59124, 64199, 64277, 64365, 64493, 64495
Richard Biener [Thu, 19 Feb 2015 14:13:16 +0000 (14:13 +0000)] 
Backport PRs 56273, 59124, 64199, 64277, 64365, 64493, 64495

2015-02-19  Richard Biener  <rguenther@suse.de>

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

PR middle-end/64199
* fold-const.c (fold_binary_loc): Use TREE_OVERFLOW_P.

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

2015-01-14  Richard Biener  <rguenther@suse.de>

PR tree-optimization/64493
PR tree-optimization/64495
* tree-vect-loop.c (vect_finalize_reduction): For double-reductions
assign the proper vectorized PHI to the inner loop exit PHIs.

* gcc.dg/vect/pr64493.c: New testcase.
* gcc.dg/vect/pr64495.c: Likewise.

2015-01-27  Richard Biener  <rguenther@suse.de>

PR tree-optimization/56273
PR tree-optimization/59124
PR tree-optimization/64277
* tree-vrp.c (vrp_finalize): Emit array-bound warnings only
from the first VRP pass.

* g++.dg/warn/Warray-bounds-6.C: New testcase.
* gcc.dg/Warray-bounds-12.c: Likewise.
* gcc.dg/Warray-bounds-13.c: Likewise.

2015-02-19  Richard Biener  <rguenther@suse.de>

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

PR middle-end/64365
* tree-data-ref.c (dr_analyze_indices): Make sure that accesses
for MEM_REF access functions with the same base can never partially
overlap.

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

From-SVN: r220815

10 years agoRevert untested commit
Maxim Kuvyrkov [Thu, 19 Feb 2015 12:22:16 +0000 (12:22 +0000)] 
Revert untested commit

2015-02-19  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
Backport from mainline
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: r220813

10 years agobackport: target-supports.exp (check_compile): Save/restore additional_sources that...
Maxim Kuvyrkov [Thu, 19 Feb 2015 08:52:16 +0000 (08:52 +0000)] 
backport: target-supports.exp (check_compile): Save/restore additional_sources that may belong to an actual test.

Backport from mainline: Fix testsuite race on additional_sources

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

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

From-SVN: r220803

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

From-SVN: r220777

10 years agobackport: bpabi.S (test_div_by_zero): Make label names consistent between thumb2...
Sandra Loosemore [Tue, 17 Feb 2015 17:42:31 +0000 (12:42 -0500)] 
backport: bpabi.S (test_div_by_zero): Make label names consistent between thumb2 and arm mode cases.

2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>

libgcc/
Backported from mainline
2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>

* config/arm/bpabi.S (test_div_by_zero): Make label names
consistent between thumb2 and arm mode cases.  Separate the
signed comparison on the high word of the numerator from the
unsigned comparison on the low word.
* config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
signed comparison.

gcc/testsuite/
Backported from mainline
2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>

* gcc.target/arm/divzero.c: New test case.

From-SVN: r220766

10 years agobackport: re PR target/64387 (ICE: in extract_insn, at recog.c:2327 (unrecognizable...
Ilya Tocar [Tue, 17 Feb 2015 11:41:55 +0000 (11:41 +0000)] 
backport: re PR target/64387 (ICE: in extract_insn, at recog.c:2327 (unrecognizable insn) with -ffloat-store -mavx512er)

Backported from mainline
2015-01-14  Ilya Tocar  <ilya.tocar@intel.com>

PR target/64387
* config/i386/sse.md (vec_unpacks_hi_v8sf): Fix predicate.
(vec_unpacks_hi_v16sf): Ditto.

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

From-SVN: r220756

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

From-SVN: r220746

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

From-SVN: r220720

10 years agopa.c (pa_secondary_reload): Request a secondary reload for all floading point loads...
John David Anglin [Sun, 15 Feb 2015 15:21:25 +0000 (15:21 +0000)] 
pa.c (pa_secondary_reload): Request a secondary reload for all floading point loads and stores except those...

* config/pa/pa.c (pa_secondary_reload): Request a secondary reload
for all floading point loads and stores except those using a register
index address.
* config/pa/pa.md: Add new patterns to load a lo_sum DLT operand
to a register.

From-SVN: r220717

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

From-SVN: r220713

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

From-SVN: r220704

10 years agore PR c++/62017 (AddressSanitizer reports *-buffer-overflow in destructor when multip...
Jason Merrill [Fri, 13 Feb 2015 22:14:07 +0000 (17:14 -0500)] 
re PR c++/62017 (AddressSanitizer reports *-buffer-overflow in destructor when multiple virtual inheritance is used)

PR c++/62017
* decl.c (begin_destructor_body): Only clobber the as-base part of
*this.

From-SVN: r220699

10 years agoUse the local name instead of the original name in the check for name conflicts...
Mikael Morin [Fri, 13 Feb 2015 18:48:35 +0000 (18:48 +0000)] 
Use the local name instead of the original name in the check for name conflicts...

Use the local name instead of the original name in the check for name conflicts
between a hosting program unit and use-associated symbols
in that program unit.

fortran/
    PR fortran/63744
    * module.c (check_for_ambiguous): Change argument type
    from gfc_symbol to gfc_symtree.  Check local (symtree) name
    instead of original (symbol) name.
    (read_module): Update caller.

testsuite/
    PR fortran/63744
    gfortran.dg/use_rename_8.f90: New.

From-SVN: r220690

10 years agoconstraints.md: Change "Q" and "T" constraints to memory constraints.
John David Anglin [Fri, 13 Feb 2015 13:09:58 +0000 (13:09 +0000)] 
constraints.md: Change "Q" and "T" constraints to memory constraints.

* config/pa/constraints.md: Change "Q" and "T" constraints to memory
constraints.
* config/pa/pa.c (pa_cannot_force_const_mem): Don't allow constant
symbolic references to data to be forced to constant memory on the
SOM target.

From-SVN: r220681

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

From-SVN: r220670

10 years agore PR fortran/64932 (ICE in gfc_conv_descriptor_data_get for generated finalizer)
Paul Thomas [Thu, 12 Feb 2015 21:06:41 +0000 (21:06 +0000)] 
re PR fortran/64932 (ICE in gfc_conv_descriptor_data_get for generated finalizer)

2015-02-12  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/64932
* trans-stmt.c (gfc_trans_deallocate): If a component array
expression is not a descriptor type and it is a derived type
that has allocatable components and is not finalizable, then
deallocate the allocatable components.

2015-02-12  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/64932
* gfortran.dg/finalize_28.f90: New test

From-SVN: r220659

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

From-SVN: r220635

10 years agore PR middle-end/64824 (ICE in gimple verification)
Jakub Jelinek [Wed, 11 Feb 2015 14:48:41 +0000 (15:48 +0100)] 
re PR middle-end/64824 (ICE in gimple verification)

PR c/64824
* c-parser.c (c_parser_binary_expression): Fix OpenMP stack[sp].prec
check in the POP macro.

* testsuite/libgomp.c/atomic-18.c: New test.
* testsuite/libgomp.c++/atomic-16.C: New test.

From-SVN: r220624

10 years agobackport: re PR target/64979 (stdarg optimization not able to find escape sites in...
Jakub Jelinek [Wed, 11 Feb 2015 14:45:26 +0000 (15:45 +0100)] 
backport: re PR target/64979 (stdarg optimization not able to find escape sites in phi nodes)

Backported from mainline
2015-02-09  Jakub Jelinek  <jakub@redhat.com>

PR target/64979
* tree-stdarg.c (pass_stdarg::execute): Scan phi node args for
va_list escapes.

* gcc.dg/tree-ssa/stdarg-7.c: New test.
* gcc.c-torture/execute/pr64979.c: New test.

From-SVN: r220623

10 years agobackport: re PR middle-end/64824 (ICE in gimple verification)
Jakub Jelinek [Wed, 11 Feb 2015 14:44:10 +0000 (15:44 +0100)] 
backport: re PR middle-end/64824 (ICE in gimple verification)

Backported from mainline
2015-02-04  Jakub Jelinek  <jakub@redhat.com>

PR c/64824
PR c/64868
* c-omp.c (c_finish_omp_atomic): Use TRUNC_DIV_EXPR
instead of RDIV_EXPR.  Use build_binary_op instead of
build2_loc.

* c-parser.c (c_parser_omp_atomic): Handle RDIV_EXPR.

* parser.c (cp_parser_omp_atomic): Handle RDIV_EXPR.

* testsuite/libgomp.c/pr64824.c: New test.
* testsuite/libgomp.c/pr64868.c: New test.
* testsuite/libgomp.c++/pr64824.C: New test.
* testsuite/libgomp.c++/pr64868.C: New test.

From-SVN: r220622

10 years agobackport: re PR c/57653 (filename information discarded when using -imacros)
Richard Biener [Wed, 11 Feb 2015 12:14:07 +0000 (12:14 +0000)] 
backport: re PR c/57653 (filename information discarded when using -imacros)

2015-02-11  Richard Biener  <rguenther@suse.de>

Backport from mainline
2014-07-24  Marek Polacek  <polacek@redhat.com>

PR c/57653
* c-opts.c (c_finish_options): If -imacros is in effect, return.

* c-c++-common/pr57653.c: New test.
* c-c++-common/pr57653.h: New file.
* c-c++-common/pr57653-2.c: New test.
* c-c++-common/pr57653-2.h: New file.

From-SVN: r220614

10 years agoalpha.md (reload_out<mode>_aligned): Make operands 2 and 3 earlyclobber operands.
Uros Bizjak [Wed, 11 Feb 2015 07:18:21 +0000 (08:18 +0100)] 
alpha.md (reload_out<mode>_aligned): Make operands 2 and 3 earlyclobber operands.

* config/alpha/alpha.md (reload_out<mode>_aligned): Make operands 2
and 3 earlyclobber operands.

From-SVN: r220607

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

From-SVN: r220600

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

From-SVN: r220555

10 years agoextend.texi: s/390: Update documentation of hotpatch attribute.
Dominik Vogt [Mon, 9 Feb 2015 11:06:52 +0000 (11:06 +0000)] 
extend.texi: s/390: Update documentation of hotpatch attribute.

2015-02-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>

        * doc/extend.texi: s/390: Update documentation of hotpatch attribute.
        * doc/invoke.texi (-mhotpatch): s/390: Update documentation of
        -mhotpatch= option.
        * config/s390/s390.opt (mhotpatch): s/390: Remove -mhotpatch and
        -mno-hotpatch options.  Change syntax of -mhotpatch= option.
        * config/s390/s390.c (s390_hotpatch_trampoline_halfwords_default):
        Renamed.
        (s390_hotpatch_trampoline_halfwords_max): Renamed.
        (s390_hotpatch_hw_max): New name.
        (s390_hotpatch_trampoline_halfwords): Renamed.
        (s390_hotpatch_hw_before_label): New name.
        (get_hotpatch_attribute): Removed.
        (s390_hotpatch_hw_after_label): New name.
        (s390_handle_hotpatch_attribute): Add second parameter to hotpatch
        attribute.
        (s390_attribute_table): Ditto.
        (s390_function_num_hotpatch_trampoline_halfwords): Renamed.
        (s390_function_num_hotpatch_hw): New name.
        Remove special handling of inline functions and hotpatching.
        Return number of nops before and after the function label.
        (s390_can_inline_p): Removed.
        (s390_asm_output_function_label): Emit a configurable number of nops
        after the function label.
        (s390_option_override): Update -mhotpatch= syntax and remove -mhotpatch.
        (TARGET_CAN_INLINE_P) Removed.
        (TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P): New.

2015-02-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>

* gcc/testsuite/gcc.target/s390/hotpatch-13.c: New testcase.
* gcc/testsuite/gcc.target/s390/hotpatch-14.c: New testcase.
* gcc/testsuite/gcc.target/s390/hotpatch-15.c: New testcase.
* gcc/testsuite/gcc.target/s390/hotpatch-16.c: New testcase.
* gcc/testsuite/gcc.target/s390/hotpatch-17.c: New testcase.
* gcc/testsuite/gcc.target/s390/hotpatch-18.c: New testcase.
* gcc/testsuite/gcc.target/s390/hotpatch-19.c: New testcase.
* gcc/testsuite/gcc.target/s390/hotpatch-20.c: New testcase.
* gcc/testsuite/gcc.target/s390/hotpatch-compile-10.c: New testcase.
* gcc/testsuite/gcc.target/s390/hotpatch-compile-11.c: New testcase.
* gcc/testsuite/gcc.target/s390/hotpatch-compile-12.c: New testcase.
* gcc/testsuite/gcc.target/s390/hotpatch-compile-13.c: New testcase.
* gcc/testsuite/gcc.target/s390/hotpatch-compile-14.c: New testcase.
* gcc/testsuite/gcc.target/s390/hotpatch-compile-15.c: New testcase.
* gcc/testsuite/gcc.target/s390/hotpatch-compile-16.c: New testcase.
* gcc/testsuite/gcc.target/s390/hotpatch-compile-9.c: New
testcase.
* gcc/testsuite/gcc.target/s390/hotpatch-1.c: Testcase adjusted to
new -mhotpatch.
* gcc/testsuite/gcc.target/s390/hotpatch-10.c: Likewise.
* gcc/testsuite/gcc.target/s390/hotpatch-11.c: Likewise.
* gcc/testsuite/gcc.target/s390/hotpatch-12.c: Likewise.
* gcc/testsuite/gcc.target/s390/hotpatch-2.c: Likewise.
* gcc/testsuite/gcc.target/s390/hotpatch-3.c: Likewise.
* gcc/testsuite/gcc.target/s390/hotpatch-4.c: Likewise.
* gcc/testsuite/gcc.target/s390/hotpatch-5.c: Likewise.
* gcc/testsuite/gcc.target/s390/hotpatch-6.c: Likewise.
* gcc/testsuite/gcc.target/s390/hotpatch-7.c: Likewise.
* gcc/testsuite/gcc.target/s390/hotpatch-8.c: Likewise.
* gcc/testsuite/gcc.target/s390/hotpatch-9.c: Likewise.
* gcc/testsuite/gcc.target/s390/hotpatch-compile-1.c: Likewise.
* gcc/testsuite/gcc.target/s390/hotpatch-compile-2.c: Likewise.
* gcc/testsuite/gcc.target/s390/hotpatch-compile-3.c: Likewise.
* gcc/testsuite/gcc.target/s390/hotpatch-compile-4.c: Likewise.
* gcc/testsuite/gcc.target/s390/hotpatch-compile-5.c: Likewise.
* gcc/testsuite/gcc.target/s390/hotpatch-compile-6.c: Likewise.
* gcc/testsuite/gcc.target/s390/hotpatch-compile-7.c: Likewise.
* gcc/testsuite/gcc.target/s390/hotpatch-compile-8.c: Likewise.

From-SVN: r220534

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

From-SVN: r220525

10 years agodecl.c (is_cplusplus_method): Use Is_Primitive flag to detect primitive operations...
Eric Botcazou [Sun, 8 Feb 2015 09:49:26 +0000 (09:49 +0000)] 
decl.c (is_cplusplus_method): Use Is_Primitive flag to detect primitive operations of tagged and untagged types.

* gcc-interface/decl.c (is_cplusplus_method): Use Is_Primitive flag to
detect primitive operations of tagged and untagged types.

From-SVN: r220513

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

From-SVN: r220508

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

From-SVN: r220498

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

From-SVN: r220466

10 years agore PR target/64580 (very high rs6000_stack_info() usage during LTO Firefox build...
Segher Boessenkool [Thu, 5 Feb 2015 15:01:49 +0000 (16:01 +0100)] 
re PR target/64580 (very high rs6000_stack_info() usage during LTO Firefox build on ppc64)

PR target/64580
Backport from mainline
* config.rs6000/rs6000.c (compute_vrsave_mask): Reverse loop order.
(rs6000_stack_info): Add assert.
(rs6000_output_savres_externs): New function, split off from...
(rs6000_output_function_prologue): ... here.  Do not call it for
thunks.

From-SVN: r220453

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

From-SVN: r220428

10 years agobackport: [multiple changes]
Matthias Klose [Wed, 4 Feb 2015 23:36:22 +0000 (23:36 +0000)] 
backport: [multiple changes]

2015-02-04  Matthias Klose  <doko@ubuntu.com>

        PR target/64938
        Backport from mainline
        2015-01-15  Jan Hubicka  <hubicka@ucw.cz>

        PR ipa/64068
        PR ipa/64559
        * ipa.c (symbol_table::remove_unreachable_nodes):
        Do not put abstract origins into boundary.

2015-02-04  Matthias Klose  <doko@ubuntu.com>

        Backport from mainline
        2015-01-15  Martin Liska  <mliska@suse.cz>

        * g++.dg/ipa/pr64068.C: New test.
        * gcc.dg/ipa/PR64559.c: New test.

From-SVN: r220426

10 years agobackport: re PR target/64882 (ICE on valid code at -O3 with -g enabled in simplify_su...
Uros Bizjak [Wed, 4 Feb 2015 20:00:48 +0000 (21:00 +0100)] 
backport: re PR target/64882 (ICE on valid code at -O3 with -g enabled in simplify_subreg, at simplify-rtx.c:5681)

Backport from mainline
2015-01-31  Uros Bizjak  <ubizjak@gmail.com>

        PR target/64882
* config/i386/predicates.md (address_no_seg_operand): Reject
non-CONST_INT_P operands in invalid mode.

Backport from mainline
2015-01-31  Uros Bizjak  <ubizjak@gmail.com>

* config/i386/i386.md (*prefetch_prefetchw1): Remove mode of
address_operand 0.  Rename from *prefetch_prefetchwt1_<mode>.
* config/i386/predicates.md (address_no_seg_operand): Call
address_operand with VOIDmode.
(vsib_address_operand): Ditto.

testsuite/ChangeLog:

Backport from mainline
2015-01-31  Uros Bizjak  <ubizjak@gmail.com>

        PR target/64882
* gcc.dg/torture/pr64882.c: New test.

From-SVN: r220415

10 years agore PR c++/64901 (overriding final function defined out of line does not lead to an...
Ville Voutilainen [Wed, 4 Feb 2015 15:38:50 +0000 (17:38 +0200)] 
re PR c++/64901 (overriding final function defined out of line does not lead to an error)

2015-02-04  Ville Voutilainen  <ville.voutilainen@gmail.com>

PR c++/64901
* decl.c (duplicate_decls): Also duplicate DECL_FINAL_P and
DECL_OVERRIDE_P.

From-SVN: r220409

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

From-SVN: r220386

10 years agointrinsic.texi (CO_ASSOCIATED): c_prt_1 should be c_ptr_1.
Steven G. Kargl [Tue, 3 Feb 2015 21:56:02 +0000 (21:56 +0000)] 
intrinsic.texi (CO_ASSOCIATED): c_prt_1 should be c_ptr_1.

2015-02-03  Steven G. Kargl  <kargl@gcc.gnu.org>

* intrinsic.texi (CO_ASSOCIATED): c_prt_1 should be c_ptr_1.

From-SVN: r220382

10 years agore PR libstdc++/64680 (basic_regex::operator= does not reset flags)
Tim Shen [Tue, 3 Feb 2015 09:01:36 +0000 (09:01 +0000)] 
re PR libstdc++/64680 (basic_regex::operator= does not reset flags)

PR libstdc++/64680
Backported from mainline
2015-01-22  Tim Shen  <timshen@google.com>

* include/bits/regex.h (basic_regex<>::basic_regex,
basic_regex<>::operator=, basic_regex<>::imbue): Conform to the
standard interface.
* testsuite/28_regex/basic_regex/assign/char/cstring.cc: New testcase.

From-SVN: r220366

10 years agore PR libstdc++/64649 (regex_traits::lookup_classname() only works with random access...
Tim Shen [Tue, 3 Feb 2015 08:59:24 +0000 (08:59 +0000)] 
re PR libstdc++/64649 (regex_traits::lookup_classname() only works with random access iterators)

PR libstdc++/64649
Backported from mainline
2015-01-22  Tim Shen  <timshen@google.com>

* include/bits/regex.tcc (regex_traits<>::lookup_collatename,
regex_traits<>::lookup_classname): Correctly narrow input chars.
* testsuite/28_regex/traits/wchar_t/user_defined.cc: New testcase.

From-SVN: r220365

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

From-SVN: r220361

10 years agoSupport new Intel processor model numbers
H.J. Lu [Mon, 2 Feb 2015 04:20:49 +0000 (04:20 +0000)] 
Support new Intel processor model numbers

Backported from mainline

gcc/

* config/i386/driver-i386.c (host_detect_local_cpu): Check new
Silvermont, Haswell, Broadwell and Knights Landing model numbers.
* config/i386/i386.c (processor_model): Add
M_INTEL_COREI7_BROADWELL.
(arch_names_table): Add "broadwell".

gcc/testsuite/

* gcc.target/i386/builtin_target.c (check_intel_cpu_model): Add
Silvermont, Ivy Bridge, Haswell and Broadwell tests.  Update Sandy
Bridge test.

libgcc/

* config/i386/cpuinfo.c (processor_subtypes): Add
INTEL_COREI7_BROADWELL.
(get_intel_cpu): Support new Silvermont, Haswell and Broadwell
model numbers.

From-SVN: r220343

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

From-SVN: r220338

10 years agobackport: re PR rtl-optimization/61058 (ICE: RTL check: expected elt 3 type 'B',...
Jakub Jelinek [Sun, 1 Feb 2015 17:37:06 +0000 (18:37 +0100)] 
backport: re PR rtl-optimization/61058 (ICE: RTL check: expected elt 3 type 'B', have '0' (rtx barrier) in distance_agu_use_in_bb, at config/i386/i386.c:16740 with __builtin_unreachable())

Backported from mainline
2015-01-27  Jakub Jelinek  <jakub@redhat.com>

PR rtl-optimization/61058
* jump.c (cleanup_barriers): Update basic block boundaries
if BLOCK_FOR_INSN is non-NULL on PREV.

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

From-SVN: r220328

10 years agobackport: re PR middle-end/64766 (internal compiler error: tree check: expected block...
Jakub Jelinek [Sun, 1 Feb 2015 17:36:26 +0000 (18:36 +0100)] 
backport: re PR middle-end/64766 (internal compiler error: tree check: expected block, have error_mark in lower_function_body, at gimple-low.c:122)

Backported from mainline
2015-01-27  Jakub Jelinek  <jakub@redhat.com>

PR c/64766
* c-typeck.c (store_init_value): Don't overwrite DECL_INITIAL
of FUNCTION_DECLs with error_mark_node.

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

From-SVN: r220327

10 years agobackport: re PR c/64778 (ICE on invalid code on x86_64-linux-gnu: tree check: expecte...
Jakub Jelinek [Sun, 1 Feb 2015 17:35:40 +0000 (18:35 +0100)] 
backport: re PR c/64778 (ICE on invalid code on x86_64-linux-gnu: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in create_tmp_from_val, at gimplify.c:491)

Backported from mainline
2015-01-26  Jakub Jelinek  <jakub@redhat.com>

PR c/64778
* c-typeck.c (convert_arguments): Return -1 if there are
error_args, even if we've diagnosed too many arguments.

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

From-SVN: r220326

10 years agobackport: re PR middle-end/64421 (Incorrect vector function name generated for log)
Jakub Jelinek [Sun, 1 Feb 2015 17:34:50 +0000 (18:34 +0100)] 
backport: re PR middle-end/64421 (Incorrect vector function name generated for log)

Backported from mainline
2015-01-26  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/64421
* omp-low.c (simd_clone_mangle): If DECL_ASSEMBLER_NAME starts
with asterisk, skip the first character.

* gcc.dg/vect/pr64421.c: New test.

From-SVN: r220325

10 years agobackport: rs6000-cpus.def (POWERPC_MASKS): Add OPTION_MASK_QUAD_MEMORY_ATOMIC.
Jakub Jelinek [Sun, 1 Feb 2015 17:33:47 +0000 (18:33 +0100)] 
backport: rs6000-cpus.def (POWERPC_MASKS): Add OPTION_MASK_QUAD_MEMORY_ATOMIC.

Backported from mainline
2015-01-26  Jakub Jelinek  <jakub@redhat.com>

* config/rs6000/rs6000-cpus.def (POWERPC_MASKS): Add
OPTION_MASK_QUAD_MEMORY_ATOMIC.

From-SVN: r220324

10 years agobackport: re PR rtl-optimization/63637 (CSE on x86 asm()-s no longer working due...
Jakub Jelinek [Sun, 1 Feb 2015 17:33:19 +0000 (18:33 +0100)] 
backport: re PR rtl-optimization/63637 (CSE on x86 asm()-s no longer working due to PR/60663 fix)

Backported from mainline
2015-01-23  Jakub Jelinek  <jakub@redhat.com>

PR rtl-optimization/63637
PR rtl-optimization/60663
* cse.c (merge_equiv_classes): Set new_elt->cost to MAX_COST
if elt->cost is MAX_COST for ASM_OPERANDS.
(find_sets_in_insn): Fix up comment typo.
(cse_insn): Don't set src_volatile for all non-volatile
ASM_OPERANDS in PARALLELs, but just those with multiple outputs
or with "memory" clobber.  Set elt->cost to MAX_COST
for ASM_OPERANDS in PARALLEL.  Set src_elt->cost to MAX_COST
if new_src is ASM_OPERANDS and elt->cost is MAX_COST.

* gcc.dg/pr63637-1.c: New test.
* gcc.dg/pr63637-2.c: New test.
* gcc.dg/pr63637-3.c: New test.
* gcc.dg/pr63637-4.c: New test.
* gcc.dg/pr63637-5.c: New test.
* gcc.dg/pr63637-6.c: New test.
* gcc.target/i386/pr63637-1.c: New test.
* gcc.target/i386/pr63637-2.c: New test.
* gcc.target/i386/pr63637-3.c: New test.
* gcc.target/i386/pr63637-4.c: New test.
* gcc.target/i386/pr63637-5.c: New test.
* gcc.target/i386/pr63637-6.c: New test.

From-SVN: r220323

10 years agobackport: re PR debug/64511 (ICE at -O3 with -g enabled on x86_64-linux-gnu)
Jakub Jelinek [Sun, 1 Feb 2015 17:32:18 +0000 (18:32 +0100)] 
backport: re PR debug/64511 (ICE at -O3 with -g enabled on x86_64-linux-gnu)

Backported from mainline
2015-01-23  Jakub Jelinek  <jakub@redhat.com>

PR debug/64511
* dwarf2out.c (struct dw_loc_descr_node): Add chain_next
GTY markup.

From-SVN: r220322

10 years agobackport: re PR debug/64663 (ICE at -O1 and above with -g enabled on x86_64-linux...
Jakub Jelinek [Sun, 1 Feb 2015 17:31:48 +0000 (18:31 +0100)] 
backport: re PR debug/64663 (ICE at -O1 and above with -g enabled on x86_64-linux-gnu)

Backported from mainline
2015-01-20  Jakub Jelinek  <jakub@redhat.com>

PR debug/64663
* dwarf2out.c (decl_piece_node): Don't put bitsize into
mode if bitsize <= 0.
(decl_piece_bitsize, adjust_piece_list, add_var_loc_to_decl,
dw_sra_loc_expr): Use HOST_WIDE_INT instead of int for bit
sizes and positions.

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

From-SVN: r220321

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

From-SVN: r220311

10 years agolinux-atomic.c (__kernel_cmpxchg2): Change declaration of oldval and newval to const...
John David Anglin [Sat, 31 Jan 2015 19:48:05 +0000 (19:48 +0000)] 
linux-atomic.c (__kernel_cmpxchg2): Change declaration of oldval and newval to const void *.

* config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
oldval and newval to const void *.  Fix typo.
(FETCH_AND_OP_2): Use __atomic_load_n to load value.
(FETCH_AND_OP_WORD): Likewise.
(OP_AND_FETCH_WORD): Likewise.
(COMPARE_AND_SWAP_2): Likewise.
(__sync_val_compare_and_swap_4): Likewise.
(__sync_lock_test_and_set_4): Likewise.
(SYNC_LOCK_RELEASE_2): Likewise.
Remove support for long long atomic operations.

From-SVN: r220308

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

From-SVN: r220299

10 years agocompiler: Fix -fgo-prefix handling.
Ian Lance Taylor [Fri, 30 Jan 2015 00:36:14 +0000 (00:36 +0000)] 
compiler: Fix -fgo-prefix handling.

There was bug in the fix for PR 61880: it only worked fully
correctly for code compiled with -fgo-pkgpath.  For code that
used -fgo-prefix, or that used neither option, the '.'
separating the prefix and the package name was converted to an
underscore, which did not happen before.  This broke SWIG and
any other code that expected specific symbol names.
Fortunately all code compiled in libgo and all code compiled
by the go tool uses -fgo-pkgpath, so this probably did not
affect very many people.

This is an incomplete fix that does not modify the package
file format, for use on both mainline and the GCC 4.9 branch.
A follow on patch will fully fix the problem.

From-SVN: r220269

10 years agoDaily bump.
GCC Administrator [Fri, 30 Jan 2015 00:17:35 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r220266

10 years agore PR c++/64521 (ICE with -frepo)
Jason Merrill [Thu, 29 Jan 2015 16:47:32 +0000 (11:47 -0500)] 
re PR c++/64521 (ICE with -frepo)

PR c++/64521
* repo.c (repo_emit_p): It's OK for a clone to be extern at this
point.

From-SVN: r220255

10 years agobackport: Add new names for intrinsics.
Ilya Tocar [Thu, 29 Jan 2015 10:55:38 +0000 (10:55 +0000)] 
backport: Add new names for intrinsics.

Backport from mainline
2015-01-16  Ilya Tocar  <ilya.tocar@intel.com>

Add new names for intrinsics.

gcc/
    * config/i386/avx2intrin.h (_mm256_bslli_epi128,
    _mm256_bsrli_epi128): New.
    * config/i386/emmintrin.h (_mm_bsrli_si128, _mm_bslli_si128): Ditto.

testsuite/
    * gcc.target/i386/sse-14.c: Test new intrinsic.
    * gcc.target/i386/sse-22.c: Ditto.

From-SVN: r220239

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

From-SVN: r220226

10 years agore PR c++/64514 (Error in template instantiation in GCC 4.9, works fine in GCC 4.8)
Jason Merrill [Wed, 28 Jan 2015 17:21:06 +0000 (12:21 -0500)] 
re PR c++/64514 (Error in template instantiation in GCC 4.9, works fine in GCC 4.8)

PR c++/64514
* pt.c (coerce_template_parameter_pack): Return NULL for a
zero-length fixed parameter pack with a pack expansion arg.

From-SVN: r220210

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

From-SVN: r220195

10 years agore PR fortran/62044 (ICE in USE statement with RENAME for extended derived type)
Paul Thomas [Tue, 27 Jan 2015 20:54:49 +0000 (20:54 +0000)] 
re PR fortran/62044 (ICE in USE statement with RENAME for extended derived type)

2015-01-27  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/62044
* resolve.c (resolve_allocate_expr): If the default initializer
is NULL, keep the original MOLD expression so that the correct
typespec is available.

2015-01-27  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/62044
* gfortran.dg/allocate_with_mold_1.f90: New test

From-SVN: r220191

10 years agoReally add the following files, missed in r220184
Tobias Burnus [Tue, 27 Jan 2015 19:52:45 +0000 (20:52 +0100)] 
Really add the following files, missed in r220184

2015-01-27  Tobias Burnus  <burnus@net-b.de>

        PR fortran/64771
        * gfortran.dg/coarray_36.f: New.
        * gfortran.dg/coarray_37.f90: New.

From-SVN: r220188

10 years agobackport: re PR fortran/64230 (Invalid memory reference in a compiler-generated final...
Janus Weil [Tue, 27 Jan 2015 19:49:55 +0000 (20:49 +0100)] 
backport: re PR fortran/64230 (Invalid memory reference in a compiler-generated finalizer for allocatable component)

2015-01-27  Janus Weil  <janus@gcc.gnu.org>

Backport from mainline
PR fortran/64230
* gfortran.dg/class_allocate_18.f90: Remove -fsanitize option to
prevent linking errors.

From-SVN: r220187

10 years agore PR fortran/64771 (ICE(segfault) when passing coarrays around; ICE in gfc_zero_size...
Tobias Burnus [Tue, 27 Jan 2015 19:20:04 +0000 (20:20 +0100)] 
re PR fortran/64771 (ICE(segfault) when passing coarrays around; ICE in gfc_zero_size_array in arith.c:1637)

2015-01-27  Tobias Burnus  <burnus@net-b.de>

        PR fortran/64771
gcc/fortran/
        * interface.c (check_dummy_characteristics): Fix coarray
        handling.

testsuite/
        * gfortran.dg/coarray_36.f: New.
        * gfortran.dg/coarray_37.f90: New.

From-SVN: r220184

10 years agos390.c (s390_memory_move_cost): Increase costs for memory accesses.
Andreas Krebbel [Tue, 27 Jan 2015 15:37:14 +0000 (15:37 +0000)] 
s390.c (s390_memory_move_cost): Increase costs for memory accesses.

2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* config/s390/s390.c (s390_memory_move_cost): Increase costs for
memory accesses.

From-SVN: r220174

10 years agos390.c (s390_register_move_cost): Increase costs for FPR->GPR moves.
Andreas Krebbel [Tue, 27 Jan 2015 15:32:38 +0000 (15:32 +0000)] 
s390.c (s390_register_move_cost): Increase costs for FPR->GPR moves.

2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* config/s390/s390.c (s390_register_move_cost): Increase costs for
FPR->GPR moves.

From-SVN: r220173

10 years agoconfigure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
Matthias Klose [Tue, 27 Jan 2015 12:52:10 +0000 (12:52 +0000)] 
configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.

2015-01-27  Matthias Klose  <doko@ubuntu.com>

        * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
        * configure: Regenerate.

From-SVN: r220166

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

From-SVN: r220147

10 years agoconfigure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
Matthias Klose [Mon, 26 Jan 2015 22:56:14 +0000 (22:56 +0000)] 
configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.

2015-01-26  Matthias Klose  <doko@ubuntu.com>

        * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
        * configure: Regenerate.

From-SVN: r220142

10 years agobackport: re PR target/64795 (too many memory references for `lea')
Uros Bizjak [Mon, 26 Jan 2015 20:12:26 +0000 (21:12 +0100)] 
backport: re PR target/64795 (too many memory references for `lea')

Backport from mainline
2015-01-26  Uros Bizjak  <ubizjak@gmail.com>

PR target/64795
* config/i386/i386.md (*movdi_internal): Also check operand 0
to determine TYPE_LEA operand.
(*movsi_internal): Ditto.

Backport from mainline
2015-01-23  Uros Bizjak  <ubizjak@gmail.com>

* config/i386/sse.md (sse2_loadld): Set attribute isa to sse2 for
alternative 1.

From-SVN: r220132