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

From-SVN: r221252

10 years agoc-ada-spec.c (dump_ada_double_name): Fix pasto.
Eric Botcazou [Fri, 6 Mar 2015 10:16:33 +0000 (10:16 +0000)] 
c-ada-spec.c (dump_ada_double_name): Fix pasto.

* c-ada-spec.c (dump_ada_double_name): Fix pasto.

Co-Authored-By: Jonathan Wakely <jwakely.gcc@gmail.com>
From-SVN: r221232

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

From-SVN: r221228

10 years agobackport: [multiple changes]
Michael Meissner [Thu, 5 Mar 2015 20:31:10 +0000 (20:31 +0000)] 
backport: [multiple changes]

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

Backport from trunk
2015-03-03  Michael Meissner  <meissner@linux.vnet.ibm.com>

PR 65138/target
* config/rs6000/rs6000-cpus.def (powerpc64le): Add new generic
processor type for 64-bit little endian PowerPC.

* config/rs6000/rs6000.c (rs6000_option_override_internal): If
-mdebug=reg, print TARGET_DEFAULT.  Fix logic to use
TARGET_DEFAULT if there is no default cpu.  Fix -mdebug=reg
printing built-in mask so it does not pass NULL pointers.

* config/rs6000/rs6000-tables.opt: Regenerate.

* doc/invoke.texi (IBM RS/6000 and PowerPC options): Document
-mcpu=powerpc64le.

Backport from trunk
2015-01-19  David Edelsohn  <dje.gcc@gmail.com>

* config/rs6000/default64.h: Include rs6000-cpus.def.
(TARGET_DEFAULT) [LITTLE_ENDIAN]: Use ISA 2.7 (POWER8).
(TARGET_DEFAULT) [BIG_ENDIAN]: Use POWER4.
* config/rs6000/driver-rs6000.c (detect_processor_aix): Add POWER7
and POWER8.
* config/rs6000/linux64.h (PROCESSOR_DEFAULT64): Always default to
POWER8.
* config/rs6000/rs6000.c (rs6000_file_start): Emit .machine
pseudo-op to specify assembler dialect.

From-SVN: r221224

10 years agore PR ada/65319 (FAIL: g++.dg/other/dump-ada-spec-3.C -std=gnu++98 (internal compile...
Eric Botcazou [Thu, 5 Mar 2015 13:55:43 +0000 (13:55 +0000)] 
re PR ada/65319 (FAIL: g++.dg/other/dump-ada-spec-3.C  -std=gnu++98 (internal compiler error))

PR ada/65319
* c-ada-spec.c (print_destructor): Remove obsolete code.

From-SVN: r221214

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

From-SVN: r221201

10 years agore PR c++/65209 (Broken code with global static variables, invalid pointer when freei...
Jason Merrill [Wed, 4 Mar 2015 18:13:44 +0000 (13:13 -0500)] 
re PR c++/65209 (Broken code with global static variables, invalid pointer when freeing global variables)

PR c++/65209
PR c++/65309
* decl2.c (constrain_visibility_for_template): Handle reference
arguments.

From-SVN: r221192

10 years agobackport: re PR target/59593 ([arm big-endian] using "ldrh" access a immediate ...
Thomas Preud'homme [Wed, 4 Mar 2015 05:51:08 +0000 (05:51 +0000)] 
backport: re PR target/59593 ([arm big-endian] using "ldrh" access a  immediate  which stored in a memory by word)

2015-03-04  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    Backport from mainline
    2014-11-27  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    gcc/
    PR target/59593
    * config/arm/arm.c (dump_minipool): dispatch to consttable pattern
    based on mode size.
    * config/arm/arm.md (consttable_1): Make it TARGET_EITHER.
    (consttable_2): Make it TARGET_EITHER and move HFmode handling from
    consttable_4 to it.
    (consttable_4): Move HFmode handling to consttable_2 pattern.

    gcc/testsuite/
    PR target/59593
    * gcc.target/arm/constant-pool.c: New test.

From-SVN: r221172

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

From-SVN: r221168

10 years agore PR target/65249 (unable to find a register to spill in class 'R0_REGS' when compil...
Kaz Kojima [Tue, 3 Mar 2015 23:55:24 +0000 (23:55 +0000)] 
re PR target/65249 (unable to find a register to spill in class 'R0_REGS' when compiling protobuf on sh4)

PR target/65249
* config/sh/sh.md (symGOT_load): Use R0 reg for operands[2] when
  called for __stack_chk_guard symbol.

From-SVN: r221166

10 years agore PR target/64331 (regcprop propagates registers noted as REG_DEAD)
Georg-Johann Lay [Tue, 3 Mar 2015 11:09:30 +0000 (11:09 +0000)] 
re PR target/64331 (regcprop propagates registers noted as REG_DEAD)

gcc/
PR target/64331
* config/avr/avr.c (context.h, tree-pass.h): Include them.
(avr_pass_data_recompute_notes): New static variable.
(avr_pass_recompute_notes): New class.
(avr_register_passes): New static function.
(avr_option_override): Call it.
gcc/testsuite/
PR target/64331
* gcc.target/avr/torture/pr64331.c: New test.

From-SVN: r221142

10 years agoia64.c (expand_vec_perm_interleave_2): Use gen_raw_REG to create a register in testin...
Eric Botcazou [Tue, 3 Mar 2015 10:41:51 +0000 (10:41 +0000)] 
ia64.c (expand_vec_perm_interleave_2): Use gen_raw_REG to create a register in testing mode.

* config/ia64/ia64.c (expand_vec_perm_interleave_2): Use gen_raw_REG
to create a register in testing mode.

From-SVN: r221140

10 years agoFix ChangeLogs for rev 221135
Thomas Preud'homme [Tue, 3 Mar 2015 09:42:46 +0000 (09:42 +0000)] 
Fix ChangeLogs for rev 221135

From-SVN: r221137

10 years agobackport: re PR target/64453 (Live high register not saved in function prolog on...
Thomas Preud'homme [Tue, 3 Mar 2015 09:32:44 +0000 (09:32 +0000)] 
backport: re PR target/64453 (Live high register not saved in function prolog on ARM with -Os)

2015-01-23  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    Backport from mainline
    2015-01-14  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    gcc/
    PR target/64453
    * config/arm/arm.c (callee_saved_reg_p): Define.
    (arm_compute_save_reg0_reg12_mask): Use callee_saved_reg_p to check if
    register is callee saved instead of !call_used_regs[reg].
    (thumb1_compute_save_reg_mask): Likewise.

    gcc/testsuite/
    PR target/64453
    * gcc.target/arm/pr64453.c: New.

From-SVN: r221135

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

From-SVN: r221130

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

From-SVN: r221094

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

From-SVN: r221082

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

From-SVN: r221073

10 years agopr59354.c: Move vector producing code to separate function.
Pat Haugen [Fri, 27 Feb 2015 18:51:20 +0000 (18:51 +0000)] 
pr59354.c: Move vector producing code to separate function.

* gcc.dg/vect/pr59354.c: Move vector producing code to separate function.

From-SVN: r221067

10 years agore PR c/65228 (ICE: expected tree that contains ‘decl minimal’ structure, have ‘error...
Marek Polacek [Fri, 27 Feb 2015 12:24:02 +0000 (12:24 +0000)] 
re PR c/65228 (ICE: expected tree that contains ‘decl minimal’ structure, have ‘error_mark’ in start_decl)

PR c/65228
* c-decl.c (start_decl): Return NULL_TREE if decl is an error node.

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

From-SVN: r221057

10 years agore PR testsuite/63175 (FAIL: gcc.dg/vect/costmodel/ppc/costmodel-bb-slp-9a.c scan...
Richard Biener [Fri, 27 Feb 2015 10:32:14 +0000 (10:32 +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-02-27  Richard Biener  <rguenther@suse.de>

PR middle-end/63175
* builtins.c (get_object_alignment_2): Make sure to re-apply
the ANDed mask after recursing to its operand gets us a new
misalignment bit position.

From-SVN: r221052

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

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

PR lto/65193
* g++.dg/lto/pr65193_0.C: New testcase.

From-SVN: r221051

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