]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
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

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

From-SVN: r213843

10 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

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

From-SVN: r213837

10 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

11 years agore PR c++/60361 (unexpected 'use of parameter outside function body' error)
Jason Merrill [Fri, 1 Aug 2014 18:33:35 +0000 (14:33 -0400)] 
re PR c++/60361 (unexpected 'use of parameter outside function body' error)

PR c++/60361
* parser.c (cp_parser_template_id): Don't set up a CPP_TEMPLATE_ID
if re-parsing might succeed.
* semantics.c (finish_id_expression): Use of a parameter outside
the function body is a parse error.

From-SVN: r213499

11 years agobackport: re PR tree-optimization/61375 (ICE in int_cst_value at -O3 in tree-ssa...
Thomas Preud'homme [Fri, 1 Aug 2014 08:56:17 +0000 (08:56 +0000)] 
backport: re PR tree-optimization/61375 (ICE in int_cst_value at -O3 in tree-ssa pass when compiling a reference to an __int128 value)

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

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

    gcc/
    PR tree-optimization/61375
    * tree-ssa-math-opts.c (find_bswap_or_nop_1): Cancel optimization if
      symbolic number cannot be represented in an unsigned HOST_WIDE_INT.
    (execute_optimize_bswap): Cancel optimization if CHAR_BIT != 8.

    gcc/testsuite/
    PR tree-optimization/61375
    * gcc.c-torture/execute/pr61375-1.c: New test.

From-SVN: r213426

11 years agore PR tree-optimization/61964 (krb5 database propagation enters infinite loop; reduce...
Richard Biener [Fri, 1 Aug 2014 07:40:01 +0000 (07:40 +0000)] 
re PR tree-optimization/61964 (krb5 database propagation enters infinite loop; reduced test case)

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

PR tree-optimization/61964
* tree-ssa-tail-merge.c (gimple_operand_equal_value_p): New
function merged from trunk.
(gimple_equal_p): Handle non-SSA LHS solely by structural
equality.

* gcc.dg/torture/pr61964.c: New testcase.
* gcc.dg/pr51879-18.c: XFAIL.

From-SVN: r213405

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

From-SVN: r213389

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

From-SVN: r213314

11 years agoBackport xmallocarray, an overflow checking version of xmalloc (CVE-2014-5044)
Janne Blomqvist [Wed, 30 Jul 2014 21:59:08 +0000 (00:59 +0300)] 
Backport xmallocarray, an overflow checking version of xmalloc (CVE-2014-5044)

2014-07-31  Janne Blomqvist  <jb@gcc.gnu.org>

Backport from mainline
CVE-2014-5044
        * libgfortran.h (xmallocarray): New prototype.
        * runtime/memory.c (xmallocarray): New function.
        (xcalloc): Check for nonzero separately instead of multiplying.
        * generated/*.c: Regenerated.
        * intrinsics/cshift0.c (cshift0): Call xmallocarray instead of
        xmalloc.
        * intrinsics/eoshift0.c (eoshift0): Likewise.
        * intrinsics/eoshift2.c (eoshift2): Likewise.
        * intrinsics/pack_generic.c (pack_internal): Likewise.
        (pack_s_internal): Likewise.
        * intrinsics/reshape_generic.c (reshape_internal): Likewise.
        * intrinsics/spread_generic.c (spread_internal): Likewise.
        (spread_internal_scalar): Likewise.
        * intrinsics/string_intrinsics_inc.c (string_trim): Likewise.
        (string_minmax): Likewise.
        * intrinsics/transpose_generic.c (transpose_internal): Likewise.
        * intrinsics/unpack_generic.c (unpack_internal): Likewise.
        * io/list_read.c (nml_touch_nodes): Don't cast xmalloc return value.
        * io/transfer.c (st_set_nml_var): Call xmallocarray instead of
        xmalloc.
        * io/unit.c (get_internal_unit): Likewise.
        (filename_from_unit): Don't cast xmalloc return value.
        * io/write.c (nml_write_obj): Likewise, formatting.
        * m4/bessel.m4 (bessel_jn_r'rtype_kind`): Call xmallocarray
        instead of xmalloc.
        (besse_yn_r'rtype_kind`): Likewise.
        * m4/cshift1.m4 (cshift1): Likewise.
        * m4/eoshift1.m4 (eoshift1): Likewise.
        * m4/eoshift3.m4 (eoshift3): Likewise.
        * m4/iforeach.m4: Likewise.
        * m4/ifunction.m4: Likewise.
        * m4/ifunction_logical.m4 (name`'rtype_qual`_'atype_code):
        Likewise.
        * m4/in_pack.m4 (internal_pack_'rtype_ccode`): Likewise.
        * m4/matmul.m4 (matmul_'rtype_code`): Likewise.
        * m4/matmull.m4 (matmul_'rtype_code`): Likewise.
        * m4/pack.m4 (pack_'rtype_code`): Likewise.
        * m4/reshape.m4 (reshape_'rtype_ccode`): Likewise.
        * m4/shape.m4 (shape_'rtype_kind`): Likewise.
        * m4/spread.m4 (spread_'rtype_code`): Likewise.
        (spread_scalar_'rtype_code`): Likewise.
        * m4/transpose.m4 (transpose_'rtype_code`): Likewise.
        * m4/unpack.m4 (unpack0_'rtype_code`): Likewise.
        (unpack1_'rtype_code`): Likewise.
        * runtime/convert_char.c (convert_char1_to_char4): Likewise.
        (convert_char4_to_char1): Simplify.
        * runtime/environ.c (init_unformatted): Call xmallocarray instead
        of xmalloc.
        * runtime/in_pack_generic.c (internal_pack): Likewise.

From-SVN: r213313

11 years agoDaily bump.
GCC Administrator [Wed, 30 Jul 2014 00:16:20 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r213228

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

From-SVN: r213143

11 years agore PR libobjc/61920 (libobjc has undefined symbols on powerpc*-linux-gnu)
Ulrich Weigand [Mon, 28 Jul 2014 14:33:20 +0000 (14:33 +0000)] 
re PR libobjc/61920 (libobjc has undefined symbols on powerpc*-linux-gnu)

PR libobjc/61920
* encoding.c (rs6000_special_adjust_field_align_p): Use definition
that matches the 4.8 branch ABI.

From-SVN: r213128

11 years agore PR rtl-optimization/61801 (sched2 miscompiles syscall sequence with -g)
Richard Biener [Mon, 28 Jul 2014 09:02:23 +0000 (09:02 +0000)] 
re PR rtl-optimization/61801 (sched2 miscompiles syscall sequence with -g)

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

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

From-SVN: r213120

11 years agore PR rtl-optimization/61801 (sched2 miscompiles syscall sequence with -g)
Richard Biener [Mon, 28 Jul 2014 07:59:22 +0000 (07:59 +0000)] 
re PR rtl-optimization/61801 (sched2 miscompiles syscall sequence with -g)

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

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

From-SVN: r213113

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

From-SVN: r213105

11 years agore PR libobjc/61920 (libobjc has undefined symbols on powerpc*-linux-gnu)
Alan Modra [Sun, 27 Jul 2014 13:19:21 +0000 (22:49 +0930)] 
re PR libobjc/61920 (libobjc has undefined symbols on powerpc*-linux-gnu)

2014-07-27  Alan Modra  <amodra@gmail.com>
            Matthias Klose  <doko@ubuntu.com>

        PR libobjc/61920

        * encoding.c: Define rs6000_special_adjust_field_align_p.

Co-Authored-By: Matthias Klose <doko@ubuntu.com>
From-SVN: r213100

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

From-SVN: r213087

11 years agore PR target/47230 (gcc fails to bootstrap on alpha in stage2 with "relocation trunca...
Uros Bizjak [Sat, 26 Jul 2014 15:23:33 +0000 (17:23 +0200)] 
re PR target/47230 (gcc fails to bootstrap on alpha in stage2 with "relocation truncated to fit: GPREL16 against ...")

PR target/47230
* configure.ac (alpha*-*-linux*): Use mh-alpha-linux.
* configure: Regenerate.

config/ChangeLog:

PR target/47230
* mh-alpha-linux: New file.

From-SVN: r213083

11 years agoDaily bump.
GCC Administrator [Sat, 26 Jul 2014 00:16:36 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r213069

11 years agoelf.h: Define TARGET_UNWIND_TABLES_DEFAULT.
Uros Bizjak [Fri, 25 Jul 2014 07:28:47 +0000 (09:28 +0200)] 
elf.h: Define TARGET_UNWIND_TABLES_DEFAULT.

* config/alpha/elf.h: Define TARGET_UNWIND_TABLES_DEFAULT.

From-SVN: r213044

11 years agoDaily bump.
GCC Administrator [Fri, 25 Jul 2014 00:16:37 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r213032

11 years agoAArch64: emit .note.GNU-stack
Kyle McMartin [Thu, 24 Jul 2014 18:32:26 +0000 (18:32 +0000)] 
AArch64: emit .note.GNU-stack

        2014-07-24  Kyle McMartin  <kyle@redhat.com>
        * config/aarch64/aarch64-linux.h (TARGET_ASM_FILE_END): Define.

From-SVN: r213030

11 years agors6000-protos.h (rs6000_special_adjust_field_align_p): Add prototype.
Ulrich Weigand [Thu, 24 Jul 2014 17:34:24 +0000 (17:34 +0000)] 
rs6000-protos.h (rs6000_special_adjust_field_align_p): Add prototype.

gcc/

* config/rs6000/rs6000-protos.h (rs6000_special_adjust_field_align_p):
Add prototype.
* config/rs6000/rs6000.c (rs6000_special_adjust_field_align_p): New
function.  Issue -Wpsabi warning if future GCC releases will use
different field alignment rules for this type.
* config/rs6000/sysv4.h (ADJUST_FIELD_ALIGN): Call it.
* config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Likewise.
* config/rs6000/freebsd64.h (ADJUST_FIELD_ALIGN): Likewise.

gcc/testsuite/

* gcc.target/powerpc/ppc64-abi-warn-3.c: New test.

* gcc.c-torture/execute/20050316-1.x: Add -Wno-psabi.
* gcc.c-torture/execute/20050604-1.x: Add -Wno-psabi.
* gcc.c-torture/execute/20050316-3.x: New file.  Add -Wno-psabi.
* gcc.c-torture/execute/pr23135.x: Likewise.

From-SVN: r213025

11 years agors6000.c (rs6000_function_arg_boundary): Issue -Wpsabi note when encountering a type...
Ulrich Weigand [Thu, 24 Jul 2014 17:32:40 +0000 (17:32 +0000)] 
rs6000.c (rs6000_function_arg_boundary): Issue -Wpsabi note when encountering a type where future GCC releases will...

gcc/

* config/rs6000/rs6000.c (rs6000_function_arg_boundary): Issue
-Wpsabi note when encountering a type where future GCC releases
will apply different alignment requirements.

gcc/testsuite/

* gcc.target/powerpc/ppc64-abi-warn-2.c: New test.

From-SVN: r213024

11 years agors6000.c (rs6000_function_arg): If a float argument does not fit fully into floating...
Ulrich Weigand [Thu, 24 Jul 2014 17:30:52 +0000 (17:30 +0000)] 
rs6000.c (rs6000_function_arg): If a float argument does not fit fully into floating-point registers...

gcc/

* config/rs6000/rs6000.c (rs6000_function_arg): If a float argument
does not fit fully into floating-point registers, and there is still
space in the register parameter area, issue -Wpsabi note that the ABI
will change in a future GCC release.

gcc/testsuite/

* gcc.target/powerpc/ppc64-abi-warn-1.c: New test.

From-SVN: r213023

11 years agobackport: struct-layout-1.exp: Load g++-dg.exp.
Ulrich Weigand [Thu, 24 Jul 2014 17:29:11 +0000 (17:29 +0000)] 
backport: struct-layout-1.exp: Load g++-dg.exp.

gcc/testsuite/

Backport from mainline:
* g++.dg/compat/struct-layout-1.exp: Load g++-dg.exp.

From-SVN: r213022