]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
9 years agoDaily bump.
GCC Administrator [Fri, 20 Nov 2015 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r230635

9 years agoconfigure.ac: Permit also ISL 0.15 with CLooG.
Matthias Klose [Thu, 19 Nov 2015 15:19:13 +0000 (15:19 +0000)] 
configure.ac: Permit also ISL 0.15 with CLooG.

2015-11-18  Matthias Klose  <doko@ubuntu.com>

        * configure.ac: Permit also ISL 0.15 with CLooG.
        * configure: Regenerate.

gcc/
2015-11-18  Matthias Klose  <doko@ubuntu.com>

        Backport from the gcc-5-branch

        Backport from mainline
        2015-07-21  Mike Frysinger  <vapier@gentoo.org>
                    Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>

        * configure.ac: Add check for new options in isl-0.15.
        * config.in, configure: Rebuilt.
        * graphite-blocking.c: Include <isl/constraint.h>
        * graphite-interchange.c,  graphite-poly.c: Likewise.
        * graphhite-scop-detection.c, graphite-sese-to-poly.c: Likewise.
        * graphite.c, graphite-poly.c: Likewise.
        * graphite-dependences.c: Include <isl/constraint.h>.
        (max_number_of_out_dimensions): Returns isl_stat.
        (extend_schedule_1): Likewise
        (extend_schedule): Corresponding changes.
        * graphite-optimize-isl.c: Include <isl/constraint.h> and
        <isl/union_set.h>.
        (getSingleMap): Change return type of isl_stat.
        (optimize_isl): Conditionally use
        isl_options_set_schedule_serialize_sccs.
        * graphite-poly.h (isl_stat, isl_stat_ok): Define fallbacks
        if not HAVE_ISL_OPTIONS_SET_SCHEDULE_SERIALIZE_SCCS.

From-SVN: r230610

9 years agore PR lto/61313 (configure incorrectly strips $target_alias from PLUGIN_LD_SUFFIX)
Eric Botcazou [Thu, 19 Nov 2015 13:32:54 +0000 (13:32 +0000)] 
re PR lto/61313 (configure incorrectly strips $target_alias from PLUGIN_LD_SUFFIX)

PR lto/61313
* configure.ac (PLUGIN_LD_SUFFIX): Do not touch the value specified
by the user.
* configure: Regenerate.

From-SVN: r230605

9 years agore PR target/68408 (broken support for attribute init_priority)
Eric Botcazou [Thu, 19 Nov 2015 11:51:20 +0000 (11:51 +0000)] 
re PR target/68408 (broken support for attribute init_priority)

PR target/68408
* config/sparc/sp-elf.h (CTORS_SECTION_ASM_OP): Undefine.
(DTORS_SECTION_ASM_OP): Likewise.

From-SVN: r230600

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

From-SVN: r230583

9 years agoDaily bump.
GCC Administrator [Wed, 18 Nov 2015 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r230513

9 years agoDaily bump.
GCC Administrator [Tue, 17 Nov 2015 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r230446

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

From-SVN: r230399

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

From-SVN: r230386

9 years agoDaily bump.
GCC Administrator [Sat, 14 Nov 2015 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r230368

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

From-SVN: r230279

9 years agore PR target/67265 ([x86] 'asm' operand has impossible constraints with -fstack-check)
Eric Botcazou [Thu, 12 Nov 2015 12:01:40 +0000 (12:01 +0000)] 
re PR target/67265 ([x86] 'asm' operand has impossible constraints with -fstack-check)

PR target/67265
* config/i386/i386.c (ix86_adjust_stack_and_probe): Remove obsolete
assertion on the CFA register.

From-SVN: r230249

9 years agoDaily bump.
GCC Administrator [Thu, 12 Nov 2015 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r230197

9 years agobackport: t-freebsd64: Remove 32-bit soft-float multilibs.
Andreas Tobler [Wed, 11 Nov 2015 21:21:43 +0000 (22:21 +0100)] 
backport: t-freebsd64: Remove 32-bit soft-float multilibs.

2015-11-11  Andreas Tobler  <andreast@gcc.gnu.org>

    Backport from mainline
    2015-03-04  Andreas Tobler  <andreast@gcc.gnu.org>

    * config/rs6000/t-freebsd64: Remove 32-bit soft-float multilibs.

From-SVN: r230193

9 years agobackport: [multiple changes]
Andreas Tobler [Wed, 11 Nov 2015 21:20:20 +0000 (22:20 +0100)] 
backport: [multiple changes]

2015-11-11  Andreas Tobler  <andreast@gcc.gnu.org>

    Backport from mainline
    2015-05-18  Andreas Tobler  <andreast@gcc.gnu.org>

    * config/freebsd-spec.h (FBSD_STARTFILE_SPEC): Add the bits to build
    pie executables.
    (FBSD_ENDFILE_SPEC): Likewise.
    * config/i386/freebsd.h (STARTFILE_SPEC): Remove and use the one from
    config/freebsd-spec.h.
    (ENDFILE_SPEC): Likewise.

    2015-11-02  Andreas Tobler  <andreast@gcc.gnu.org>

    * config/rs6000/freebsd64.h (ASM_SPEC32): Adust spec to handle
    PIE executables.

From-SVN: r230192

9 years agore PR target/67265 ([x86] 'asm' operand has impossible constraints with -fstack-check)
Eric Botcazou [Wed, 11 Nov 2015 16:04:34 +0000 (16:04 +0000)] 
re PR target/67265 ([x86] 'asm' operand has impossible constraints with -fstack-check)

PR target/67265
* ira.c (ira_setup_eliminable_regset): Do not necessarily create the
frame pointer for stack checking if non-call exceptions aren't used.
* config/i386/i386.c (ix86_finalize_stack_realign_flags): Likewise.

From-SVN: r230179

9 years agoDaily bump.
GCC Administrator [Wed, 11 Nov 2015 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r230139

9 years ago[Patch GCC 4.9/Vect] Partial backport of r228751 (pr68238)
James Greenhalgh [Tue, 10 Nov 2015 14:40:43 +0000 (14:40 +0000)] 
[Patch GCC 4.9/Vect] Partial backport of r228751 (pr68238)

Partial backport from trunk r228751.
PR tree-optimization/68238
2015-10-13  Richard Biener  <rguenther@suse.de>

* tree-vect-loop.c (vect_estimate_min_profitable_iters): Use
LOOP_VINFO_COMP_ALIAS_DDRS to estimate alias versioning cost.

From-SVN: r230110

9 years agore PR target/57845 (ICE with -freg-struct-return on SPARC)
Eric Botcazou [Tue, 10 Nov 2015 00:49:05 +0000 (00:49 +0000)] 
re PR target/57845 (ICE with -freg-struct-return on SPARC)

PR target/57845
* config/sparc/sparc.c (sparc_function_value_1): In 32-bit mode, do
not promote the mode for aggregate types.

From-SVN: r230077

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

From-SVN: r230067

9 years ago[PATCH][REE]Backport "Fix register corruption bug in ree".
Renlin Li [Mon, 9 Nov 2015 17:01:00 +0000 (17:01 +0000)] 
[PATCH][REE]Backport "Fix register corruption bug in ree".

Ensure inserted copy don't change the number of hard registers.

2015-11-09  Renlin Li  <renlin.li@arm.com>

Backport from mainline
2014-09-12  Wilco Dijkstra  <wilco.dijkstra@arm.com>

* gcc/ree.c (combine_reaching_defs): Ensure inserted copy don't change
the number of hard registers.

From-SVN: r230032

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

From-SVN: r229978

9 years agoDaily bump.
GCC Administrator [Sun, 8 Nov 2015 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r229942

9 years agoDaily bump.
GCC Administrator [Sat, 7 Nov 2015 00:16:11 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r229904

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

From-SVN: r229828

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

From-SVN: r229788

9 years agoDaily bump.
GCC Administrator [Wed, 4 Nov 2015 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r229729

9 years agoDaily bump.
GCC Administrator [Tue, 3 Nov 2015 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r229687

9 years agore PR tree-optimization/67794 (internal compiler error: Segmentation fault)
Martin Jambor [Mon, 2 Nov 2015 14:04:19 +0000 (15:04 +0100)] 
re PR tree-optimization/67794 (internal compiler error: Segmentation fault)

2015-11-02  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/67794
* tree-sra.c (replace_removed_params_ssa_names): Do not distinguish
between types of statements but accept original definitions as a
parameter.
  (ipa_sra_modify_function_body): Use FOR_EACH_SSA_DEF_OPERAND to
  iterate over definitions.

testsuite/
  * gcc.dg/ipa/ipa-sra-10.c: New test.
  * gcc.dg/torture/pr67794.c: Likewise.

From-SVN: r229666

9 years agoMove gcc.target/arm/pr67929_1.c test to execute.exp
Kyrylo Tkachov [Mon, 2 Nov 2015 12:29:31 +0000 (12:29 +0000)] 
Move gcc.target/arm/pr67929_1.c test to execute.exp

PR target/67929
* gcc.target/arm/pr67929_1.c: Move to...
* gcc.c-torture/execute/pr67929_1.c: ... Here.
Remove arm-specific directives.  Add noclone, noinline
attributes.

From-SVN: r229659

9 years agoDaily bump.
GCC Administrator [Mon, 2 Nov 2015 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r229646

9 years agore PR go/67968 (go1: internal compiler error: in write_specific_type_functions, at...
Ian Lance Taylor [Sun, 1 Nov 2015 20:46:37 +0000 (20:46 +0000)] 
re PR go/67968 (go1: internal compiler error: in write_specific_type_functions, at go/gofrontend/types.cc:1812)

PR go/67968
    compiler: Traverse types of call expressions.

    https://gcc.gnu.org/PR67968 provides a test case that causes a gccgo
    crash on valid code.  The compiler failed to build the hash and equality
    functions required for a type descriptor.  The descriptor is for an
    unnamed type that is being returned by a function imported from a
    different package.  The unnamed type is being implicitly converted to an
    interface type by a return statement.  The fix is to ensure that the
    type of a call expression is always traversed.

    Test case sent out for the master testsuite as
    https://golang.org/cl/16532 .

From-SVN: r229644

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

From-SVN: r229637

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

From-SVN: r229613

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

From-SVN: r229563

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

From-SVN: r229509

9 years agoDaily bump.
GCC Administrator [Wed, 28 Oct 2015 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r229467

9 years agoBackport fix for compile time regression.
Caroline Tice [Tue, 27 Oct 2015 16:58:19 +0000 (09:58 -0700)] 
Backport fix for compile time regression.

2015-10-27  Caroline Tice  <cmtice@google.com>

        (from Richard Biener)
        * tree.c (int_cst_hash_hash):  Replace XORs with more efficient
        calls to iterative_hash_host_wide_int.

From-SVN: r229450

9 years ago[optabs.c] Fix PR 67989: Handle const0_rtx target in expand_atomic_compare_and_swap
Kyrylo Tkachov [Tue, 27 Oct 2015 14:07:04 +0000 (14:07 +0000)] 
[optabs.c] Fix PR 67989: Handle const0_rtx target in expand_atomic_compare_and_swap

Backport from mainline
2015-10-26  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

PR middle-end/67989
* optabs.c (expand_atomic_compare_and_swap): Handle case when
ptarget_oval or ptarget_bool are const0_rtx.

* g++.dg/pr67989.C: New test.

From-SVN: r229443

9 years ago[ARM] PR target/67929 Tighten vfp3_const_double_for_bits checks
Kyrylo Tkachov [Tue, 27 Oct 2015 13:52:27 +0000 (13:52 +0000)] 
[ARM] PR target/67929 Tighten vfp3_const_double_for_bits checks

PR target/67929
* config/arm/arm.c (vfp3_const_double_for_bits): Rewrite.
* config/arm/constraints.md (Dp): Update callsite.
* config/arm/predicates.md (const_double_vcvt_power_of_two): Likewise.

* gcc.target/arm/pr67929_1.c: New test.

From-SVN: r229441

9 years agoDaily bump.
GCC Administrator [Tue, 27 Oct 2015 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r229397

9 years agoDaily bump.
GCC Administrator [Mon, 26 Oct 2015 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r229304

9 years agore PR middle-end/68079 (hppa: pointers to method types need canonicalization before...
John David Anglin [Sun, 25 Oct 2015 15:45:33 +0000 (15:45 +0000)] 
re PR middle-end/68079 (hppa: pointers to method types need canonicalization before comparison)

PR middle-end/68079
* dojump.c (do_compare_and_jump): Canonicalize both function and
method types.

From-SVN: r229301

9 years agoDaily bump.
GCC Administrator [Sun, 25 Oct 2015 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r229291

9 years agoDaily bump.
GCC Administrator [Sat, 24 Oct 2015 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r229280

9 years agoDaily bump.
GCC Administrator [Fri, 23 Oct 2015 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r229206

9 years agore PR fortran/58754 (ICE on allocating character array with source)
Paul Thomas [Thu, 22 Oct 2015 18:08:31 +0000 (18:08 +0000)] 
re PR fortran/58754 (ICE on allocating character array with source)

2015-10-22  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/58754
* gfortran.dg/pr58754.f90: New test

From-SVN: r229180

9 years agoDaily bump.
GCC Administrator [Thu, 22 Oct 2015 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r229157

9 years agoDaily bump.
GCC Administrator [Wed, 21 Oct 2015 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r229104

9 years agoDaily bump.
GCC Administrator [Tue, 20 Oct 2015 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r229010

9 years agore PR fortran/56852 (ICE on invalid: "Bad array reference" for an undeclared loop...
Paul Thomas [Mon, 19 Oct 2015 19:32:52 +0000 (19:32 +0000)] 
re PR fortran/56852 (ICE on invalid: "Bad array reference" for an undeclared loop variable)

2013-10-19  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/56852
* primary.c (gfc_variable_attr): Avoid ICE on AR_UNKNOWN if any
of the index variables are untyped and errors are present.

2013-10-19  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/56852
* gfortran.dg/pr56852.f90 : New test

From-SVN: r229000

9 years agoDaily bump.
GCC Administrator [Mon, 19 Oct 2015 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r228957

9 years agoAdd bdver4 for multiversioning and fix AMD model detection.
Venkataramanan Kumar [Sun, 18 Oct 2015 18:40:20 +0000 (18:40 +0000)] 
Add bdver4 for multiversioning and fix AMD model detection.

2015-10-19  Venkataramanan Kumar  <Venkataramanan.kumar@amd.com>

Backport from mainline
2015-10-09  Venkataramanan kumar  <Venkataramanan.kumar@amd.com>

* config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
(__cpu_indicator_init): Fix model selection for AMD CPUs

From-SVN: r228953

9 years agobackport: re PR fortran/66385 (ICE: FORALL writing multiple elements of one array)
Thomas Koenig [Sun, 18 Oct 2015 11:29:37 +0000 (11:29 +0000)] 
backport: re PR fortran/66385 (ICE: FORALL writing multiple elements of one array)

2015-10-18  Thomas Koenig  <tkoenig@gcc.gnu.org>

Backport from trunk
PR fortran/66385
* frontend-passes.c (combine_array_constructor): Return early if
inside a FORALL loop.

2015-10-18  Thomas Koenig  <tkoenig@gcc.gnu.org>

Backport from trunk
PR fortran/66385
* gfortran.dg/forall_17.f90:  New test.

From-SVN: r228943

9 years agoDaily bump.
GCC Administrator [Sun, 18 Oct 2015 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r228934

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

From-SVN: r228927

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

From-SVN: r228856

9 years agobackport: re PR target/67281 (HTM builtins aren't treated as compiler barriers on...
Peter Bergner [Thu, 15 Oct 2015 16:40:14 +0000 (11:40 -0500)] 
backport: re PR target/67281 (HTM builtins aren't treated as compiler barriers on powerpc)

Backport from mainline
2015-10-14  Peter Bergner  <bergner@vnet.ibm.com>
    Torvald Riegel  <triegel@redhat.com>

PR target/67281
* config/rs6000/htm.md (UNSPEC_HTM_FENCE): New.
(tabort, tabort<wd>c, tabort<wd>ci, tbegin, tcheck, tend,
trechkpt, treclaim, tsr, ttest): Rename define_insns from this...
(*tabort, *tabort<wd>c, *tabort<wd>ci, *tbegin, *tcheck, *tend,
*trechkpt, *treclaim, *tsr, *ttest): ...to this.  Add memory barrier.
(tabort, tabort<wd>c, tabort<wd>ci, tbegin, tcheck, tend,
trechkpt, treclaim, tsr, ttest): New define_expands.
* config/rs6000/rs6000-c.c (rs6000_target_modify_macros): Define
__TM_FENCE__ for htm.
* doc/extend.texi: Update documentation for htm builtins.

From-SVN: r228847

9 years agoDaily bump.
GCC Administrator [Thu, 15 Oct 2015 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r228832

9 years agoDaily bump.
GCC Administrator [Wed, 14 Oct 2015 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r228791

9 years agoDaily bump.
GCC Administrator [Tue, 13 Oct 2015 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r228741

9 years agoDaily bump.
GCC Administrator [Mon, 12 Oct 2015 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r228697

9 years agoDaily bump.
GCC Administrator [Sun, 11 Oct 2015 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r228682

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

From-SVN: r228670

9 years agoMake-lang.in: Make sure that GNAT1_OBJS and not just GNAT1_ADA_OBJS are compiled...
Eric Botcazou [Fri, 9 Oct 2015 08:15:30 +0000 (08:15 +0000)] 
Make-lang.in: Make sure that GNAT1_OBJS and not just GNAT1_ADA_OBJS are compiled only after...

* gcc-interface/Make-lang.in: Make sure that GNAT1_OBJS and not just
GNAT1_ADA_OBJS are compiled only after generated files are created.

From-SVN: r228638

9 years agoDaily bump.
GCC Administrator [Fri, 9 Oct 2015 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r228629

9 years agoDaily bump.
GCC Administrator [Thu, 8 Oct 2015 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r228588

9 years agoDaily bump.
GCC Administrator [Wed, 7 Oct 2015 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r228553

9 years agoDaily bump.
GCC Administrator [Tue, 6 Oct 2015 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r228508

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

From-SVN: r228463

9 years agoDaily bump.
GCC Administrator [Sun, 4 Oct 2015 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r228452

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

From-SVN: r228440

9 years agoBackport PR libstdc++/65142 fix from mainline
Jonathan Wakely [Fri, 2 Oct 2015 20:51:34 +0000 (21:51 +0100)] 
Backport PR libstdc++/65142 fix from mainline

PR libstdc++/65142
* src/c++11/random.cc (random_device::_M_getval()): Check read result
and retry after short reads.

From-SVN: r228424

9 years ago[ARM] Fix 4.9 backport of "armv8 linux toolchain asan testcase fail due to stl missin...
Kyrylo Tkachov [Fri, 2 Oct 2015 12:57:21 +0000 (12:57 +0000)] 
[ARM] Fix 4.9 backport of "armv8 linux toolchain asan testcase fail due to stl missing conditional code"

* sync.md (atomic_load<mode>): Fix output modifier for lda.
(atomic_store<mode>): Likewise for stl.

From-SVN: r228389

9 years agoDaily bump.
GCC Administrator [Fri, 2 Oct 2015 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r228360

9 years agopr55113_0.c: Skip on all x86 targets.
Uros Bizjak [Thu, 1 Oct 2015 13:07:26 +0000 (15:07 +0200)] 
pr55113_0.c: Skip on all x86 targets.

* gcc.dg/lto/pr55113_0.c: Skip on all x86 targets.

From-SVN: r228336

9 years agoBackport: [GCC, ARM] armv8 linux toolchain asan testcase fail due to stl missing...
Kyrylo Tkachov [Thu, 1 Oct 2015 09:09:56 +0000 (09:09 +0000)] 
Backport: [GCC, ARM] armv8 linux toolchain asan testcase fail due to stl missing conditional code

Backport from mainline
2015-06-09  Shiva Chen  <shiva0217@gmail.com>

* sync.md (atomic_load<mode>): Add conditional code for lda/ldr
(atomic_store<mode>): Likewise.

* gcc.target/arm/stl-cond.c: New test.

From-SVN: r228323

9 years agoDaily bump.
GCC Administrator [Thu, 1 Oct 2015 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r228312

9 years agoDaily bump.
GCC Administrator [Wed, 30 Sep 2015 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r228274

9 years agoDaily bump.
GCC Administrator [Tue, 29 Sep 2015 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r228224

9 years agoNow that muser-mode is default the multilib definitions does not require to specify...
Daniel Hellstrom [Mon, 28 Sep 2015 15:03:06 +0000 (17:03 +0200)] 
Now that muser-mode is default the multilib definitions does not require to specify that switch any more.

Now that muser-mode is default the multilib definitions does not require to
specify that switch any more. Add UT699 to multilib after recent patches. Add
AT697F multilib since there are many LEON2 users running RTEMS. Add leon to
multilib too.

gcc/
* config/sparc/t-rtems: Remove -muser-mode. Add ut699, at697f and leon.

From-SVN: r228205

9 years agoUse leon3 target for native LEON on Linux.
Daniel Cederman [Mon, 28 Sep 2015 05:48:37 +0000 (05:48 +0000)] 
Use leon3 target for native LEON on Linux.

2015-09-28  Daniel Cederman  <cederman@gaisler.com>

Use leon3 target for native LEON on Linux. Linux requires LEON version 3 or
above with CASA support.

gcc/
* config/sparc/driver-sparc.c: map LEON to leon3

From-SVN: r228188

9 years agoMake muser-mode the default for LEON3
Daniel Cederman [Mon, 28 Sep 2015 05:46:04 +0000 (05:46 +0000)] 
Make muser-mode the default for LEON3

2015-09-28  Daniel Cederman  <cederman@gaisler.com>

Make muser-mode the default for LEON3

The muser-mode flag causes the CASA instruction for LEON3 to use the
user mode ASI. This is the correct behavior for almost all LEON3 targets.
For this reason it makes sense to make user mode the default.

gcc/
        * config/sparc/sparc.opt: Rename mask from USER_MODE to SV_MODE
          and make it inverse to change default
        * config/sparc/sync.md: Only use supervisor ASI for CASA when in
          supervisor mode
        * doc/invoke.texi: Document change of default

From-SVN: r228187

9 years agoDo not use floating point registers when compiling with -msoft-float for SPARC
Daniel Cederman [Mon, 28 Sep 2015 05:43:53 +0000 (05:43 +0000)] 
Do not use floating point registers when compiling with -msoft-float for SPARC

2015-09-28  Daniel Cederman  <cederman@gaisler.com>

Do not use floating point registers when compiling with -msoft-float for SPARC

__builtin_apply* and __builtin_return accesses the floating point registers on
SPARC even when compiling with -msoft-float.

gcc/
        * config/sparc/sparc.c (sparc_function_value_regno_p): Do not return
        true on %f0 for a target without FPU.
        * config/sparc/sparc.md (untyped_call): Do not save %f0 for a target
        without FPU.
        (untyped_return): Do not load %f0 for a target without FPU.

From-SVN: r228186

9 years agoDaily bump.
GCC Administrator [Mon, 28 Sep 2015 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r228179

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

From-SVN: r228171

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

From-SVN: r228159

9 years agoinvoke.texi (-fsanitize): Update URLs.
Tobias Burnus [Fri, 25 Sep 2015 18:49:32 +0000 (20:49 +0200)] 
invoke.texi (-fsanitize): Update URLs.

2015-09-25  Tobias Burnus  <burnus@net-b.de>

* doc/invoke.texi (-fsanitize): Update URLs.

From-SVN: r228146

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

From-SVN: r228106

9 years agoDaily bump.
GCC Administrator [Thu, 24 Sep 2015 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r228068

9 years agolinux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
John David Anglin [Wed, 23 Sep 2015 23:30:53 +0000 (23:30 +0000)] 
linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.

* config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
(__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
__kernel_cmpxchg2.
(__sync_##OP##_and_fetch_##WIDTH): Likewise.
(__sync_val_compare_and_swap_##WIDTH): Likewise.
(__sync_bool_compare_and_swap_##WIDTH): Likewise.
(__sync_lock_test_and_set_##WIDTH): Likewise.
(__sync_lock_release_##WIDTH): Likewise.
(__sync_fetch_and_##OP##_4): Change result to match type of
__kernel_cmpxchg.
(__sync_##OP##_and_fetch_4): Likewise.
(__sync_val_compare_and_swap_4): Likewise.
(__sync_bool_compare_and_swap_4): likewise.
(__sync_lock_test_and_set_4): Likewise.
(__sync_lock_release_4): Likewise.
(FETCH_AND_OP_2): Add long long variants.
(OP_AND_FETCH_2): Likewise.
(COMPARE_AND_SWAP_2 ): Likewise.
(SYNC_LOCK_TEST_AND_SET_2): Likewise.
(SYNC_LOCK_RELEASE_2): Likewise.
(__sync_bool_compare_and_swap_##WIDTH): Correct return.

From-SVN: r228067

9 years agoDaily bump.
GCC Administrator [Wed, 23 Sep 2015 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r228029

9 years agoDaily bump.
GCC Administrator [Tue, 22 Sep 2015 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r227990

9 years agore PR middle-end/67619 (ICE at -O1 and above on x86_64-linux-gnu in int_mode_for_mode...
Uros Bizjak [Mon, 21 Sep 2015 19:08:38 +0000 (21:08 +0200)] 
re PR middle-end/67619 (ICE at -O1 and above on x86_64-linux-gnu in int_mode_for_mode, at stor-layout.c:425)

PR middle-end/67619
* except.c (expand_builtin_eh_return): Use copy_addr_to_reg to copy
the address to a register.

testsuite/ChangeLog:

PR middle-end/67619
* gcc.dg/torture/pr67619.c: New test.
* lib/target-supports.exp (check_effective_target_builtin_eh_return):
New procedure.

From-SVN: r227984

9 years agoDaily bump.
GCC Administrator [Mon, 21 Sep 2015 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r227954

9 years agoDaily bump.
GCC Administrator [Sun, 20 Sep 2015 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r227938

9 years agopa.c (pa_function_ok_for_sibcall): Remove special treatment of TARGET_ELF32.
John David Anglin [Sat, 19 Sep 2015 18:36:19 +0000 (18:36 +0000)] 
pa.c (pa_function_ok_for_sibcall): Remove special treatment of TARGET_ELF32.

* config/pa/pa.c (pa_function_ok_for_sibcall): Remove special treatment
of TARGET_ELF32.

From-SVN: r227935

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

From-SVN: r227927

9 years agore PR middle-end/67401 (Incorrect expand of __atomic_compare_exchange_8 using __sync_...
John David Anglin [Fri, 18 Sep 2015 18:26:13 +0000 (18:26 +0000)] 
re PR middle-end/67401 (Incorrect expand of __atomic_compare_exchange_8 using __sync_val_compare_and_swap_8)

PR middle-end/67401
* optabs.c (expand_atomic_compare_and_swap): Move result of emitting
sync_compare_and_swap_optab libcall to target_oval.

From-SVN: r227914

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

From-SVN: r227890