]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
10 years agoDaily bump.
GCC Administrator [Sat, 20 Sep 2014 00:16:19 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r215410

10 years agobackport: predicates.md (fusion_gpr_mem_load): Move testing for base_reg_operand...
Michael Meissner [Fri, 19 Sep 2014 22:14:58 +0000 (22:14 +0000)] 
backport: predicates.md (fusion_gpr_mem_load): Move testing for base_reg_operand to be common between LO_SUM and PLUS.

2014-09-19  Michael Meissner  <meissner@linux.vnet.ibm.com>

Back port from trunk:
2014-09-19  Michael Meissner  <meissner@linux.vnet.ibm.com>

* config/rs6000/predicates.md (fusion_gpr_mem_load): Move testing
for base_reg_operand to be common between LO_SUM and PLUS.
(fusion_gpr_mem_combo): New predicate to match a fused address
that combines the addis and memory offset address.

* config/rs6000/rs6000-protos.h (fusion_gpr_load_p): Change
calling signature.
(emit_fusion_gpr_load): Likewise.

* config/rs6000/rs6000.c (fusion_gpr_load_p): Change calling
signature to pass each argument separately, rather than
using an operands array.  Rewrite the insns found by peephole2 to
be a single insn, rather than hoping the insns will still be
together when the peephole pass is done.  Drop being called via a
normal peephole.
(emit_fusion_gpr_load): Change calling signature to be called from
the fusion_gpr_load_<mode> insns with a combined memory address
instead of the peephole pass passing the addis and offset
separately.

* config/rs6000/rs6000.md (UNSPEC_FUSION_GPR): New unspec for GPR
fusion.
(power8 fusion peephole): Drop support for doing power8 via a
normal peephole that was created by the peephole2 pass.
(power8 fusion peephole2): Create a new insn with the fused
address, so that the fused operation is kept together after
register allocation is done.
(fusion_gpr_load_<mode>): Likewise.

From-SVN: r215406

10 years agoDaily bump.
GCC Administrator [Fri, 19 Sep 2014 00:16:24 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r215371

10 years agoFix i386 FP_TRAPPING_EXCEPTIONS.
Joseph Myers [Thu, 18 Sep 2014 12:04:43 +0000 (13:04 +0100)] 
Fix i386 FP_TRAPPING_EXCEPTIONS.

The i386 sfp-machine.h defines FP_TRAPPING_EXCEPTIONS in a way that is
always wrong: it treats a set bit as indicating the exception is
trapping, when actually a set bit (both for 387 and SSE floating
point) indicates it is masked, and a clear bit indicates it is
trapping.  This patch fixes this bug.

Bootstrapped with no regressions on x86_64-unknown-linux-gnu.

libgcc:
* config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
bits not set bits as indicating trapping exceptions.

gcc/testsuite:
* gcc.dg/torture/float128-exact-underflow.c: New test.

From-SVN: r215349

10 years agoDaily bump.
GCC Administrator [Thu, 18 Sep 2014 00:16:21 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r215342

10 years agore PR debug/63284 (-fcompare-debug issue due to redirection to __builtin_unreachable ())
Jakub Jelinek [Wed, 17 Sep 2014 19:08:06 +0000 (21:08 +0200)] 
re PR debug/63284 (-fcompare-debug issue due to redirection to __builtin_unreachable ())

PR debug/63284
* tree-cfgcleanup.c (fixup_noreturn_call): Don't split block
if there are only debug stmts after the noreturn call, instead
remove the debug stmts.

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

From-SVN: r215333

10 years agoDaily bump.
GCC Administrator [Wed, 17 Sep 2014 00:16:22 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r215311

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

From-SVN: r215278

10 years agoDaily bump.
GCC Administrator [Mon, 15 Sep 2014 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r215255

10 years agoDaily bump.
GCC Administrator [Sun, 14 Sep 2014 00:16:22 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r215248

10 years agoDaily bump.
GCC Administrator [Sat, 13 Sep 2014 00:16:11 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r215231

10 years agoDaily bump.
GCC Administrator [Fri, 12 Sep 2014 00:16:23 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r215197

10 years agolinux64.S: Emit .note.GNU-stack even when POWERPC64 is not defined.
Jakub Jelinek [Thu, 11 Sep 2014 09:05:12 +0000 (11:05 +0200)] 
linux64.S: Emit .note.GNU-stack even when POWERPC64 is not defined.

* src/powerpc/linux64.S: Emit .note.GNU-stack even when
POWERPC64 is not defined.
* src/powerpc/linux64_closure.S: Likewise.  Also test _CALL_ELF == 2.

From-SVN: r215157

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

From-SVN: r215145

10 years agovsx.md (vsx_fmav4sf4): Use correct constraints for V2DF, V4SF, DF, and DI modes.
Michael Meissner [Wed, 10 Sep 2014 23:20:48 +0000 (23:20 +0000)] 
vsx.md (vsx_fmav4sf4): Use correct constraints for V2DF, V4SF, DF, and DI modes.

2014-09-10  Michael Meissner  <meissner@linux.vnet.ibm.com>

* config/rs6000/vsx.md (vsx_fmav4sf4): Use correct constraints for
V2DF, V4SF, DF, and DI modes.
(vsx_fmav2df2): Likewise.
(vsx_float_fix_<mode>2): Likewise.
(vsx_reduc_<VEC_reduc_name>_v2df_scalar): Likewise.

From-SVN: r215143

10 years agore PR debug/60655 (ICE: output_operand: invalid expression as operand)
Alan Modra [Wed, 10 Sep 2014 05:02:28 +0000 (14:32 +0930)] 
re PR debug/60655 (ICE: output_operand: invalid expression as operand)

PR debug/60655
* dwarf2out.c (mem_loc_descriptor <PLUS>): Return NULL if addend
can't be output.

From-SVN: r215103

10 years agoDaily bump.
GCC Administrator [Wed, 10 Sep 2014 00:16:14 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r215097

10 years agobackport: re PR tree-optimization/61452 (hang at -O1 and -Os on x86_64-linux-gnu)
Richard Biener [Tue, 9 Sep 2014 14:45:57 +0000 (14:45 +0000)] 
backport: re PR tree-optimization/61452 (hang at -O1 and -Os on x86_64-linux-gnu)

2014-09-09  Richard Biener  <rguenther@suse.de>

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

PR tree-optimization/61452
* tree-ssa-sccvn.c (visit_phi): Remove pointless setting of
expr and has_constants in case we found a leader.
(simplify_binary_expression): Always valueize operands first.
(simplify_unary_expression): Likewise.

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

From-SVN: r215081

10 years agobackport: [multiple changes]
Richard Biener [Tue, 9 Sep 2014 13:17:51 +0000 (13:17 +0000)] 
backport: [multiple changes]

2014-09-09  Richard Biener  <rguenther@suse.de>

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

PR middle-end/61010
* fold-const.c (fold_binary_loc): Consistently avoid
canonicalizing X & CST away from a CST that is the mask
of a mode.

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

2014-05-28  Richard Biener  <rguenther@suse.de>

PR middle-end/61045
* fold-const.c (fold_comparison): When folding
X +- C1 CMP Y +- C2 to X CMP Y +- C2 +- C1 also ensure
the sign of the remaining constant operand stays the same.

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

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

PR tree-optimization/62075
* tree-vect-slp.c (vect_detect_hybrid_slp_stmts): Properly
handle uses in patterns.

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

From-SVN: r215073

10 years ago[Obvious] Fix Linux to GNU/LINUX in ARM options documentation
James Greenhalgh [Tue, 9 Sep 2014 12:38:15 +0000 (12:38 +0000)] 
[Obvious] Fix Linux to GNU/LINUX in ARM options documentation

gcc/

* doc/invoke.texi (-march): Use GNU/Linux rather than Linux.
(-mtune): Likewise.
(-mcpu): Likewise.

From-SVN: r215068

10 years agoDaily bump.
GCC Administrator [Tue, 9 Sep 2014 00:16:30 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r215034

10 years agore PR tree-optimization/60196 (Incorrect compilation with -fwrapv and -ftree-vectorize)
Jakub Jelinek [Mon, 8 Sep 2014 20:07:29 +0000 (22:07 +0200)] 
re PR tree-optimization/60196 (Incorrect compilation with -fwrapv and -ftree-vectorize)

PR tree-optimization/60196
PR tree-optimization/63189
Backported from mainline
2013-09-17  Cong Hou  <congh@google.com>

* tree-vect-patterns.c (vect_recog_dot_prod_pattern): Fix a bug
when checking the dot production pattern. The type of rhs operand
of multiply is now checked correctly.

* gcc.dg/vect/pr63189.c: New test.
* gcc.dg/vect/pr60196-1.c: New test.
* gcc.dg/vect/pr60196-2.c: New test.

Backported from mainline
2013-09-17  Cong Hou  <congh@google.com>

* gcc.dg/vect/vect-reduc-dot-s16c.c: Add a test case with dot product
on two arrays with short and int types. This should not be recognized
as a dot product pattern.

From-SVN: r215024

10 years agobackport: re PR debug/61923 (-fcompare-debug errors while building Linux kernel.)
Jakub Jelinek [Mon, 8 Sep 2014 19:07:00 +0000 (21:07 +0200)] 
backport: re PR debug/61923 (-fcompare-debug errors while building Linux kernel.)

Backported from mainline
2014-08-06  Vladimir Makarov  <vmakarov@redhat.com>

PR debug/61923
* haifa-sched.c (advance_one_cycle): Fix dump.
(schedule_block): Don't advance cycle if we are already at the
beginning of the cycle.

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

From-SVN: r215020

10 years agoDaily bump.
GCC Administrator [Mon, 8 Sep 2014 00:16:34 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r215006

10 years agoDaily bump.
GCC Administrator [Sun, 7 Sep 2014 00:16:14 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r214999

10 years agore PR testsuite/56194 (FAIL: g++.dg/init/const9.C -std=c++98 scan-assembler-not...
John David Anglin [Sat, 6 Sep 2014 21:53:14 +0000 (21:53 +0000)] 
re PR testsuite/56194 (FAIL: g++.dg/init/const9.C -std=c++98  scan-assembler-not rodata)

PR testsuite/56194
* g++.dg/init/const9.C: Skip scan-assembler-not "rodata" on hppa*-*-*.

From-SVN: r214998

10 years agoDaily bump.
GCC Administrator [Sat, 6 Sep 2014 00:16:25 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r214978

10 years agoDaily bump.
GCC Administrator [Fri, 5 Sep 2014 00:16:34 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r214925

10 years agoDaily bump.
GCC Administrator [Thu, 4 Sep 2014 00:16:28 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r214895

10 years agore PR fortran/62270 (-Wlogical-not-parentheses warnings)
Marek Polacek [Wed, 3 Sep 2014 17:25:45 +0000 (17:25 +0000)] 
re PR fortran/62270 (-Wlogical-not-parentheses warnings)

PR fortran/62270
* interface.c (compare_parameter): Fix condition.

* gfortran.dg/pointer_intent_7.f90: Adjust dg-error.

From-SVN: r214887

10 years agore PR ipa/62015 (ipa-cp-clone uses a clone that is too specialized for the call context)
Martin Jambor [Wed, 3 Sep 2014 16:36:06 +0000 (18:36 +0200)] 
re PR ipa/62015 (ipa-cp-clone uses a clone that is too specialized for the call context)

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

PR ipa/62015
* ipa-cp.c (intersect_aggregates_with_edge): Handle impermissible
pass-trough jump functions correctly.

testsuite/
* g++.dg/ipa/pr62015.C: New test.

From-SVN: r214885

10 years agore PR ipa/61986 (ICE on valid code at -O3 on x86_64-linux-gnu indecide_about_value...
Martin Jambor [Wed, 3 Sep 2014 16:33:10 +0000 (18:33 +0200)] 
re PR ipa/61986 (ICE on valid code at -O3 on x86_64-linux-gnu indecide_about_value, at ipa-cp.c:3480)

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

PR ipa/61986
* ipa-cp.c (find_aggregate_values_for_callers_subset): Chain
created replacements in ascending order of offsets.
(known_aggs_to_agg_replacement_list): Likewise.

gcc/testsuite/
* gcc.dg/ipa/pr61986.c: New test.

From-SVN: r214884

10 years agoDaily bump.
GCC Administrator [Wed, 3 Sep 2014 00:16:32 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r214837

10 years agoDaily bump.
GCC Administrator [Tue, 2 Sep 2014 00:16:35 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r214806

10 years agore PR c/61271 (10 * possible coding error with logical not (!))
Marek Polacek [Mon, 1 Sep 2014 10:16:43 +0000 (10:16 +0000)] 
re PR c/61271 (10 * possible coding error with logical not (!))

PR c/61271
* expr.c (is_aligning_offset): Remove logical not.

From-SVN: r214785

10 years agore PR c/61271 (10 * possible coding error with logical not (!))
Marek Polacek [Mon, 1 Sep 2014 10:12:00 +0000 (10:12 +0000)] 
re PR c/61271 (10 * possible coding error with logical not (!))

PR c/61271
* cgraphunit.c (handle_alias_pairs): Fix condition.

From-SVN: r214783

10 years agoDaily bump.
GCC Administrator [Mon, 1 Sep 2014 00:16:24 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r214774

10 years agoDaily bump.
GCC Administrator [Sun, 31 Aug 2014 00:16:40 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r214761

10 years agopa.c (pa_assemble_integer): Don't add PLABEL relocation prefix to function labels...
John David Anglin [Sat, 30 Aug 2014 15:29:45 +0000 (15:29 +0000)] 
pa.c (pa_assemble_integer): Don't add PLABEL relocation prefix to function labels when...

* config/pa/pa.c (pa_assemble_integer): Don't add PLABEL relocation
prefix to function labels when generating fast indirect calls.

From-SVN: r214756

10 years agoDaily bump.
GCC Administrator [Sat, 30 Aug 2014 00:16:25 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r214749

10 years agoDaily bump.
GCC Administrator [Fri, 29 Aug 2014 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r214705

10 years agobackport: [multiple changes]
Samuel Bronson [Thu, 28 Aug 2014 16:22:21 +0000 (16:22 +0000)] 
backport: [multiple changes]

2014-08-28  Samuel Bronson  <naesten@gmail.com>

Backport r212453 from trunk
2014-07-11  Samuel Bronson  <naesten@gmail.com>
    Matthias Klose  <doko@ubuntu.com>

PR libstdc++/58962
* python/libstdcxx/v6/printers.py: Port to Python 2+3
(imap): New compat function.
(izip): Likewise.
(Iterator): New mixin to allow writing iterators in Python 3 style
regardless of which version we're running on.
[Python3] (long) New compat alias for "int".
* testsuite/lib/gdb-test.exp: Port to Python 2+3 (print syntax)

Backport r210625 from trunk
2014-05-19  Jonathan Wakely  <jwakely@redhat.com>

* python/libstdcxx/v6/printers.py: Use Python3 raise syntax.

From-SVN: r214682

10 years agoDaily bump.
GCC Administrator [Thu, 28 Aug 2014 00:16:22 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r214613

10 years agoDaily bump.
GCC Administrator [Wed, 27 Aug 2014 00:16:32 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r214557

10 years agobaseline_symbols.txt: Update.
John David Anglin [Tue, 26 Aug 2014 23:17:16 +0000 (23:17 +0000)] 
baseline_symbols.txt: Update.

* config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update.

From-SVN: r214556

10 years agoinvoke.texi: -fno-cxa-atexit should be -fno-use-cxa-atexit.
Joel Sherrill [Tue, 26 Aug 2014 22:27:14 +0000 (22:27 +0000)] 
invoke.texi: -fno-cxa-atexit should be -fno-use-cxa-atexit.

2014-08-26  Joel Sherrill <joel.sherrill@oarcorp.com>

* doc/invoke.texi: -fno-cxa-atexit should be -fno-use-cxa-atexit.

From-SVN: r214553

10 years agobessel_7.f90: Bump allowed precision to avoid failure on s390*-*-linux-gnu.
Dominik Vogt [Tue, 26 Aug 2014 14:14:53 +0000 (14:14 +0000)] 
bessel_7.f90: Bump allowed precision to avoid failure on s390*-*-linux-gnu.

2014-08-26  Dominik Vogt  <vogt@linux.vnet.ibm.com>

* gfortran.dg/bessel_7.f90: Bump allowed precision to avoid
failure on s390*-*-linux-gnu.

From-SVN: r214522

10 years agostatus_cxx2011.xml: Correct status table.
Jonathan Wakely [Tue, 26 Aug 2014 12:31:23 +0000 (13:31 +0100)] 
status_cxx2011.xml: Correct status table.

* doc/xml/manual/status_cxx2011.xml: Correct status table.
* doc/html/manual/*: Regenerate.

From-SVN: r214508

10 years agore PR c/61271 (10 * possible coding error with logical not (!))
Marek Polacek [Tue, 26 Aug 2014 09:30:29 +0000 (09:30 +0000)] 
re PR c/61271 (10 * possible coding error with logical not (!))

PR c/61271
* tree-vectorizer.h (LOOP_REQUIRES_VERSIONING_FOR_ALIGNMENT,
LOOP_REQUIRES_VERSIONING_FOR_ALIAS): Wrap in parens.

From-SVN: r214495

10 years agoDaily bump.
GCC Administrator [Tue, 26 Aug 2014 00:16:22 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r214484

10 years agoDaily bump.
GCC Administrator [Mon, 25 Aug 2014 00:16:47 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r214410

10 years agobackport: re PR target/61996 ([SH] -musermode conflicts with -matomic-model=soft...
Oleg Endo [Sun, 24 Aug 2014 11:15:37 +0000 (11:15 +0000)] 
backport: re PR target/61996 ([SH] -musermode conflicts with -matomic-model=soft-imask)

gcc/
Backport from mainline
2014-08-24  Oleg Endo  <olegendo@gcc.gnu.org>

PR target/61996
* config/sh/sh.opt (musermode): Allow negative form.
* config/sh/sh.c (sh_option_override): Disable TARGET_USERMODE for
targets that don't support it.
* doc/invoke.texi (SH Options): Rename sh-*-linux* to sh*-*-linux*.
Document -mno-usermode option.

gcc/testsuite
Backport from mainline
2014-08-24  Oleg Endo  <olegendo@gcc.gnu.org>

PR target/61996
* gcc.target/sh/pr61996.c: New.

From-SVN: r214408

10 years agoDaily bump.
GCC Administrator [Sun, 24 Aug 2014 00:16:18 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r214401

10 years agore PR target/62038 (Out of range branch target in thunk)
John David Anglin [Sat, 23 Aug 2014 16:00:46 +0000 (16:00 +0000)] 
re PR target/62038 (Out of range branch target in thunk)

PR target/62038
* config/pa/pa.c (pa_output_function_epilogue): Don't set
last_address when the current function is a thunk.
(pa_asm_output_mi_thunk): When we don't have named sections or they
are not being used, check that thunk can reach the stub table with a
short branch.

From-SVN: r214399

10 years agoDaily bump.
GCC Administrator [Sat, 23 Aug 2014 00:16:22 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r214386

10 years agobackport: re PR target/62195 (Invalid mnemonic 'xxlxor' on powerpc-apple-darwin9...
Michael Meissner [Fri, 22 Aug 2014 17:53:00 +0000 (17:53 +0000)] 
backport: re PR target/62195 (Invalid mnemonic 'xxlxor' on powerpc-apple-darwin9 with -m64)

2014-08-22  Michael Meissner  <meissner@linux.vnet.ibm.com>

Backport fro mainline
2014-08-22  Michael Meissner  <meissner@linux.vnet.ibm.com>

PR target/62195
* doc/md.texi (Machine Constraints): Update PowerPC wi constraint
documentation to state it is only for VSX operations.

* config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok): Make wi
constraint only active if VSX.

* config/rs6000/rs6000.md (lfiwax): Use wj constraint instead of
wi cosntraint for ISA 2.07 lxsiwax/lxsiwzx instructions.
(lfiwzx): Likewise.

From-SVN: r214340

10 years agoDaily bump.
GCC Administrator [Fri, 22 Aug 2014 00:16:25 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r214297

10 years agobackport: re PR fortran/62214 (Problem with spread plus concatenation for characters)
Thomas Koenig [Thu, 21 Aug 2014 21:20:27 +0000 (21:20 +0000)] 
backport: re PR fortran/62214 (Problem with spread plus concatenation for characters)

2014-08-21  Thomas Koenig  <tkoenig@gcc.gnu.org>

Backport from trunk
PR fortran/62214
* frontend-passes.c (optimize_binop_array_assignment):
Do not try to optimize the array assignment for string
concatenation.

2014-08-21  Thomas Koenig  <tkoenig@gcc.gnu.org>

Backport from trunk
PR fortran/62214
* gfortran.dg/array_assignment_5.f90:  New test.

From-SVN: r214296

10 years agoDaily bump.
GCC Administrator [Thu, 21 Aug 2014 00:16:27 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r214248

10 years agore PR libfortran/62188 (Array bounds overrun in bessel_yn_r4/8/16 and other functions)
Steven G. Kargl [Wed, 20 Aug 2014 16:23:55 +0000 (16:23 +0000)] 
re PR libfortran/62188 (Array bounds overrun in bessel_yn_r4/8/16 and other functions)

2014-08-20  Steven G. Kargl  <kargl@gcc.gnu.org>

PR libgfortran/62188
* m4/bessel.m4: Avoid indexing off the end of an array.
* generated/bessel_r10.c: Regenerated.
* generated/bessel_r16.c: Ditto.
* generated/bessel_r4.c: Ditto.
* generated/bessel_r8.c: Ditto.

From-SVN: r214231

10 years agoDaily bump.
GCC Administrator [Wed, 20 Aug 2014 00:16:17 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r214202

10 years agoDaily bump.
GCC Administrator [Tue, 19 Aug 2014 00:16:18 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r214123

10 years agoDaily bump.
GCC Administrator [Mon, 18 Aug 2014 00:16:50 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r214081

10 years agoDaily bump.
GCC Administrator [Sun, 17 Aug 2014 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r214070

10 years agoFix if-conversion pass for dead type-unsafe code
Tom de Vries [Sat, 16 Aug 2014 17:38:04 +0000 (17:38 +0000)] 
Fix if-conversion pass for dead type-unsafe code

2014-08-15  Tom de Vries  <tom@codesourcery.com>

Backport from mainline:
2014-08-14  Tom de Vries  <tom@codesourcery.com>

PR rtl-optimization/62004
PR rtl-optimization/62030
* ifcvt.c (rtx_interchangeable_p): New function.
(noce_try_move, noce_process_if_block): Use rtx_interchangeable_p.

* gcc.dg/pr62004.c: New test.
* gcc.dg/pr62030.c: Same.
* gcc.target/mips/pr62030-octeon.c: Same.

2014-08-05  Richard Biener  <rguenther@suse.de>

* emit-rtl.h (mem_attrs_eq_p): Declare.
* emit-rtl.c (mem_attrs_eq_p): Export.

From-SVN: r214067

10 years agobackport: re PR debug/55794 (FAIL: g++.dg/debug/dwarf2/non-virtual-thunk.C -std=gnu...
John David Anglin [Sat, 16 Aug 2014 17:29:33 +0000 (17:29 +0000)] 
backport: re PR debug/55794 (FAIL: g++.dg/debug/dwarf2/non-virtual-thunk.C -std=gnu++98 and -std=gnu++11)

Backport from trunk:
2014-04-06  John David Anglin  <danglin@gcc.gnu.org>

PR debug/55794
* config/pa/pa.c (pa_output_function_epilogue): Skip address and code
size accounting for thunks.
(pa_asm_output_mi_thunk): Use final_start_function() and
final_end_function() to output function start and end directives.

From-SVN: r214066

10 years agoDaily bump.
GCC Administrator [Sat, 16 Aug 2014 00:16:50 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r214054

10 years agoinvoke.texi (SH options): Document missing processor variant options.
Oleg Endo [Fri, 15 Aug 2014 23:05:39 +0000 (23:05 +0000)] 
invoke.texi (SH options): Document missing processor variant options.

gcc/
* doc/invoke.texi (SH options): Document missing processor variant
options.  Remove references to Hitachi.  Undocument deprecated mspace
option.

From-SVN: r214052

10 years agoDaily bump.
GCC Administrator [Fri, 15 Aug 2014 00:16:23 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r213992

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

From-SVN: r213934

10 years agore PR c/62073 (Segmentation fault with tree vectorize)
Felix Yang [Wed, 13 Aug 2014 10:11:49 +0000 (10:11 +0000)] 
re PR c/62073 (Segmentation fault with tree vectorize)

2014-08-13  Felix Yang  <fei.yang0953@gmail.com>

PR tree-optimization/62073
* tree-vect-loop.c (vect_is_simple_reduction_1): Check that DEF1 has
a basic block.

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

From-SVN: r213904

10 years agobackport: re PR middle-end/62103 (Incorrect folding of bitfield in a union on big...
Thomas Preud'homme [Wed, 13 Aug 2014 09:37:41 +0000 (09:37 +0000)] 
backport: re PR middle-end/62103 (Incorrect folding of bitfield in a union on big endian targets)

2014-08-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>

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

    gcc/
    PR middle-end/62103
    * gimple-fold.c (fold_ctor_reference): Don't fold in presence of
    bitfields, that is when size doesn't match the size of type or the
    size of the constructor.

    gcc/testsuite/
    PR middle-end/62103
    * gcc.c-torture/execute/bitfld-6.c: New test.

From-SVN: r213899

10 years agoDaily bump.
GCC Administrator [Wed, 13 Aug 2014 00:16:27 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r213894

10 years agosocket.c: For RTEMS, use correct prototype of gethostbyname_r().
Joel Sherrill [Tue, 12 Aug 2014 19:49:22 +0000 (19:49 +0000)] 
socket.c: For RTEMS, use correct prototype of gethostbyname_r().

2014-08-12  Joel Sherrill <joel.sherrill@oarcorp.com>

* socket.c: For RTEMS, use correct prototype of gethostbyname_r().
* gsocket.h Add include of <unistd.h> on RTEMS.

From-SVN: r213883

10 years agoMakefile.in: Add CFLAGS_FOR_TARGET to GNATLIBCFLAGS_FOR_C.
Joel Sherrill [Tue, 12 Aug 2014 19:47:06 +0000 (19:47 +0000)] 
Makefile.in: Add CFLAGS_FOR_TARGET to GNATLIBCFLAGS_FOR_C.

2014-08-12  Joel Sherrill <joel.sherrill@oarcorp.com>

* Makefile.in: Add CFLAGS_FOR_TARGET to GNATLIBCFLAGS_FOR_C.

From-SVN: r213879

10 years agobackport: constraints.md (wh constraint): New constraint, for FP registers if direct...
Michael Meissner [Tue, 12 Aug 2014 19:29:57 +0000 (19:29 +0000)] 
backport: constraints.md (wh constraint): New constraint, for FP registers if direct move is available.

2014-08-12  Michael Meissner  <meissner@linux.vnet.ibm.com>

Backport patch from mainline
2014-08-11  Michael Meissner  <meissner@linux.vnet.ibm.com>

* config/rs6000/constraints.md (wh constraint): New constraint,
for FP registers if direct move is available.
(wi constraint): New constraint, for VSX/FP registers that can
handle 64-bit integers.
(wj constraint): New constraint for VSX/FP registers that can
handle 64-bit integers for direct moves.
(wk constraint): New constraint for VSX/FP registers that can
handle 64-bit doubles for direct moves.
(wy constraint): Make documentation match implementation.

* config/rs6000/rs6000.c (struct rs6000_reg_addr): Add
scalar_in_vmx_p field to simplify tests of whether SFmode or
DFmode can go in the Altivec registers.
(rs6000_hard_regno_mode_ok): Use scalar_in_vmx_p field.
(rs6000_setup_reg_addr_masks): Likewise.
(rs6000_debug_print_mode): Add debug support for scalar_in_vmx_p
field, and wh/wi/wj/wk constraints.
(rs6000_init_hard_regno_mode_ok): Setup scalar_in_vmx_p field, and
the wh/wi/wj/wk constraints.
(rs6000_preferred_reload_class): If SFmode/DFmode can go in the
upper registers, prefer VSX registers unless the operation is a
memory operation with REG+OFFSET addressing.

* config/rs6000/vsx.md (VSr mode attribute): Add support for
DImode.  Change SFmode to use ww constraint instead of d to allow
SF registers in the upper registers.
(VSr2): Likewise.
(VSr3): Likewise.
(VSr5): Fix thinko in comment.
(VSa): New mode attribute that is an alternative to wa, that
returns the VSX register class that a mode can go in, but may not
be the preferred register class.
(VS_64dm): New mode attribute for appropriate register classes for
referencing 64-bit elements of vectors for direct moves and normal
moves.
(VS_64reg): Likewise.
(vsx_mov<mode>): Change wa constraint to <VSa> to limit the
register allocator to only registers the data type can handle.
(vsx_le_perm_load_<mode>): Likewise.
(vsx_le_perm_store_<mode>): Likewise.
(vsx_xxpermdi2_le_<mode>): Likewise.
(vsx_xxpermdi4_le_<mode>): Likewise.
(vsx_lxvd2x2_le_<mode>): Likewise.
(vsx_lxvd2x4_le_<mode>): Likewise.
(vsx_stxvd2x2_le_<mode>): Likewise.
(vsx_add<mode>3): Likewise.
(vsx_sub<mode>3): Likewise.
(vsx_mul<mode>3): Likewise.
(vsx_div<mode>3): Likewise.
(vsx_tdiv<mode>3_internal): Likewise.
(vsx_fre<mode>2): Likewise.
(vsx_neg<mode>2): Likewise.
(vsx_abs<mode>2): Likewise.
(vsx_nabs<mode>2): Likewise.
(vsx_smax<mode>3): Likewise.
(vsx_smin<mode>3): Likewise.
(vsx_sqrt<mode>2): Likewise.
(vsx_rsqrte<mode>2): Likewise.
(vsx_tsqrt<mode>2_internal): Likewise.
(vsx_fms<mode>4): Likewise.
(vsx_nfma<mode>4): Likewise.
(vsx_eq<mode>): Likewise.
(vsx_gt<mode>): Likewise.
(vsx_ge<mode>): Likewise.
(vsx_eq<mode>_p): Likewise.
(vsx_gt<mode>_p): Likewise.
(vsx_ge<mode>_p): Likewise.
(vsx_xxsel<mode>): Likewise.
(vsx_xxsel<mode>_uns): Likewise.
(vsx_copysign<mode>3): Likewise.
(vsx_float<VSi><mode>2): Likewise.
(vsx_floatuns<VSi><mode>2): Likewise.
(vsx_fix_trunc<mode><VSi>2): Likewise.
(vsx_fixuns_trunc<mode><VSi>2): Likewise.
(vsx_x<VSv>r<VSs>i): Likewise.
(vsx_x<VSv>r<VSs>ic): Likewise.
(vsx_btrunc<mode>2): Likewise.
(vsx_b2trunc<mode>2): Likewise.
(vsx_floor<mode>2): Likewise.
(vsx_ceil<mode>2): Likewise.
(vsx_<VS_spdp_insn>): Likewise.
(vsx_xscvspdp): Likewise.
(vsx_xvcvspuxds): Likewise.
(vsx_float_fix_<mode>2): Likewise.
(vsx_set_<mode>): Likewise.
(vsx_extract_<mode>_internal1): Likewise.
(vsx_extract_<mode>_internal2): Likewise.
(vsx_extract_<mode>_load): Likewise.
(vsx_extract_<mode>_store): Likewise.
(vsx_splat_<mode>): Likewise.
(vsx_xxspltw_<mode>): Likewise.
(vsx_xxspltw_<mode>_direct): Likewise.
(vsx_xxmrghw_<mode>): Likewise.
(vsx_xxmrglw_<mode>): Likewise.
(vsx_xxsldwi_<mode>): Likewise.
(vsx_xscvdpspn): Tighten constraints to only use register classes
the types use.
(vsx_xscvspdpn): Likewise.
(vsx_xscvdpspn_scalar): Likewise.

* config/rs6000/rs6000.h (enum rs6000_reg_class_enum): Add wh, wi,
wj, and wk constraints.
(GPR_REG_CLASS_P): New helper macro for register classes targeting
general purpose registers.

* config/rs6000/rs6000.md (f32_dm): Use wh constraint for SDmode
direct moves.
(zero_extendsidi2_lfiwz): Use wj constraint for direct move of
DImode instead of wm.  Use wk constraint for direct move of DFmode
instead of wm.
(extendsidi2_lfiwax): Likewise.
(lfiwax): Likewise.
(lfiwzx): Likewise.
(movdi_internal64): Likewise.

* doc/md.texi (PowerPC and IBM RS6000): Document wh, wi, wj, and
wk constraints. Make the wy constraint documentation match them
implementation.

From-SVN: r213878

11 years agoDaily bump.
GCC Administrator [Tue, 12 Aug 2014 00:16:43 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r213843

11 years agos-osinte-rtems.adb: Correct formatting of line in license block.
Joel Sherrill [Mon, 11 Aug 2014 21:28:08 +0000 (21:28 +0000)] 
s-osinte-rtems.adb: Correct formatting of line in license block.

2014-08-11  Joel Sherrill <joel.sherrill@oarcorp.com>

* s-osinte-rtems.adb: Correct formatting of line in license block.

From-SVN: r213838

11 years agoRevert last change.
John David Anglin [Mon, 11 Aug 2014 19:55:45 +0000 (19:55 +0000)] 
Revert last change.

From-SVN: r213837

11 years agore PR target/62038 (Out of range branch target in thunk)
John David Anglin [Mon, 11 Aug 2014 19:13:46 +0000 (19:13 +0000)] 
re PR target/62038 (Out of range branch target in thunk)

PR target/62038
* config/pa/pa.c (pa_asm_output_mi_thunk): Use a branch with %r31 link
register.

From-SVN: r213831

11 years agoDaily bump.
GCC Administrator [Mon, 11 Aug 2014 00:16:28 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r213802

11 years agobackport: re PR fortran/61999 (`gfc_simplify_dot_product` causes ICE for constant...
Thomas Koenig [Sun, 10 Aug 2014 14:19:18 +0000 (14:19 +0000)] 
backport: re PR fortran/61999 (`gfc_simplify_dot_product` causes ICE for constant arguments)

2014-08-10  Thomas Koenig  <tkoenig@gcc.gnu.org>

Backport from trunk
PR fortran/61999
* simplify.c (gfc_simplify_dot_product): Convert types of
vectors before calculating the result.

2014-08-10  Thomas Koenig  <tkoenig@gcc.gnu.org>

Backport from trunk
PR fortran/61999
* gfortran.dg/dot_product_3.f90:  New test case.

From-SVN: r213789

11 years agoDaily bump.
GCC Administrator [Sun, 10 Aug 2014 00:16:33 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r213783

11 years agoDaily bump.
GCC Administrator [Sat, 9 Aug 2014 00:16:24 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r213770

11 years agoDaily bump.
GCC Administrator [Fri, 8 Aug 2014 00:16:27 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r213745

11 years agore PR tree-optimization/60707 (FAIL: gfortran.dg/pr45636.f90 -O scan-tree-dump...
John David Anglin [Thu, 7 Aug 2014 21:49:09 +0000 (21:49 +0000)] 
re PR tree-optimization/60707 (FAIL: gfortran.dg/pr45636.f90  -O   scan-tree-dump-times forwprop2 "memset" 0)

PR tree-optimization/60707
* gfortran.dg/pr45636.f90: xfail on 32-bit hppa*-*-*.

From-SVN: r213742

11 years agore PR c++/61959 (ICE: in tree_to_uhwi, at tree.h:3657 when building Mozilla code)
Jason Merrill [Thu, 7 Aug 2014 19:50:11 +0000 (15:50 -0400)] 
re PR c++/61959 (ICE: in tree_to_uhwi, at tree.h:3657 when building Mozilla code)

PR c++/61959
* semantics.c (cxx_eval_bare_aggregate): Handle POINTER_PLUS_EXPR.

From-SVN: r213735

11 years agore PR c++/58714 (Bogus overload resolution for the assignment operator in assignment...
Jason Merrill [Thu, 7 Aug 2014 19:50:04 +0000 (15:50 -0400)] 
re PR c++/58714 (Bogus overload resolution for the assignment operator in assignment to a conditional)

PR c++/58714
* tree.c (stabilize_expr): A stabilized prvalue is an xvalue.

From-SVN: r213734

11 years agoDaily bump.
GCC Administrator [Thu, 7 Aug 2014 00:16:16 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r213684

11 years agore PR rtl-optimization/61801 (sched2 miscompiles syscall sequence with -g)
Jakub Jelinek [Wed, 6 Aug 2014 08:50:12 +0000 (10:50 +0200)] 
re PR rtl-optimization/61801 (sched2 miscompiles syscall sequence with -g)

PR rtl-optimization/61801
* gcc.target/i386/pr61801.c: Rewritten.

From-SVN: r213654

11 years agoDaily bump.
GCC Administrator [Wed, 6 Aug 2014 00:16:19 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r213647

11 years agoDaily bump.
GCC Administrator [Tue, 5 Aug 2014 00:16:26 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r213613

11 years agobackport: re PR libstdc++/61946 (rope construction, passing allocator referenct witho...
Jonathan Wakely [Mon, 4 Aug 2014 22:16:44 +0000 (23:16 +0100)] 
backport: re PR libstdc++/61946 (rope construction, passing allocator referenct without const)

Backported from mainline
2014-07-29  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/61946
* include/ext/rope (rope::rope(char_producer<_CharT>*, size_t, bool,
const allocator_type&)): Pass non-const allocator to
_S_new_RopeFunction.
* testsuite/ext/rope/61946.cc: New.

From-SVN: r213611

11 years agoatexit_thread.cc (HAVE___CXA_THREAD_ATEXIT_IMPL): Add _GLIBCXX_ prefix to macro.
Zifei Tong [Mon, 4 Aug 2014 22:16:38 +0000 (22:16 +0000)] 
atexit_thread.cc (HAVE___CXA_THREAD_ATEXIT_IMPL): Add _GLIBCXX_ prefix to macro.

2014-08-04  Zifei Tong  <zifeitong@gmail.com>

* libsupc++/atexit_thread.cc (HAVE___CXA_THREAD_ATEXIT_IMPL): Add
_GLIBCXX_ prefix to macro.

From-SVN: r213610

11 years agoDaily bump.
GCC Administrator [Mon, 4 Aug 2014 00:16:28 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r213527

11 years agoDaily bump.
GCC Administrator [Sun, 3 Aug 2014 00:16:27 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r213521

11 years agoDaily bump.
GCC Administrator [Sat, 2 Aug 2014 00:16:29 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r213508

11 years agore PR c++/59823 (conversion operator to const X& causes copy-construction of temporary)
Jason Merrill [Fri, 1 Aug 2014 18:33:54 +0000 (14:33 -0400)] 
re PR c++/59823 (conversion operator to const X& causes copy-construction of temporary)

PR c++/59823
Core DR 1138
* call.c (reference_binding): Pass LOOKUP_NO_TEMP_BIND for
list-initialization.  A conversion to rvalue ref that involves
an lvalue-rvalue conversion is bad.
(convert_like_real): Give helpful error message.

From-SVN: r213502

11 years agore PR c++/59956 (internal compiler error: unexpected expression ‘P_S’ of kind templat...
Jason Merrill [Fri, 1 Aug 2014 18:33:47 +0000 (14:33 -0400)] 
re PR c++/59956 (internal compiler error: unexpected expression ‘P_S’ of kind template_parm_index)

PR c++/59956
* friend.c (do_friend): Pass the TEMPLATE_DECL to add_friend if we
have a friend template in a class template.
* pt.c (tsubst_friend_function): Look through it.
(push_template_decl_real): A friend member template is
primary.

From-SVN: r213501

11 years agore PR c++/60241 (internal compiler error: in finish_member_declaration, at cp/semanti...
Jason Merrill [Fri, 1 Aug 2014 18:33:41 +0000 (14:33 -0400)] 
re PR c++/60241 (internal compiler error: in finish_member_declaration, at cp/semantics.c:2617)

PR c++/60241
* pt.c (lookup_template_class_1): Update DECL_TEMPLATE_INSTANTIATIONS
of the partial instantiation, not the most general template.
(maybe_process_partial_specialization): Reassign everything on
that list.

From-SVN: r213500