]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
9 years agoDaily bump.
GCC Administrator [Fri, 22 Jan 2016 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232714

9 years agoS/390: Fix cfi for GPR 2 FPR saves
Andreas Krebbel [Thu, 21 Jan 2016 15:42:36 +0000 (15:42 +0000)] 
S/390: Fix cfi for GPR 2 FPR saves

gcc/ChangeLog:

2016-01-21  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

Backported from mainline
2015-07-24  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

* config/s390/s390.c (s390_save_gprs_to_fprs): Add CFA_REGISTER
reg note to the GPR -> FPR save instructions.

gcc/testsuite/ChangeLog:

2016-01-21  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

Backported from mainline
2015-07-24  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

* gcc.target/s390/gpr2fprsavecfi.c: New test.

From-SVN: r232678

9 years agoDaily bump.
GCC Administrator [Thu, 21 Jan 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232642

9 years ago[ARM] PR 67439: Allow matching of *arm32_movhf when -mrestrict-it is on
Kyrylo Tkachov [Wed, 20 Jan 2016 17:05:43 +0000 (17:05 +0000)] 
[ARM] PR 67439: Allow matching of *arm32_movhf when -mrestrict-it is on

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

PR target/67439
* config/arm/arm.md (*arm32_movhf): Remove !arm_restrict_it from
predicate.  Set predicable_short_it attr to "no".

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

From-SVN: r232623

9 years agoDaily bump.
GCC Administrator [Wed, 20 Jan 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232596

9 years agoia64: don't use dynamic relocations for local symbols
Sergei Trofimovich [Tue, 19 Jan 2016 23:15:12 +0000 (23:15 +0000)] 
ia64: don't use dynamic relocations for local symbols

Backported from trunk for PR other/60465.

From-SVN: r232595

9 years agore PR testsuite/68820 (FAIL: gcc.c-torture/execute/builtins/memops-asm.c execution...
Uros Bizjak [Tue, 19 Jan 2016 18:27:19 +0000 (19:27 +0100)] 
re PR testsuite/68820 (FAIL: gcc.c-torture/execute/builtins/memops-asm.c execution,  -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects)

PR testsuite/68820
* gcc.c-torture/execute/builtins/memops-asm.x: New file.
* gcc.c-torture/execute/builtins/strstr-asm.x: Ditto.
* gcc.c-torture/execute/builtins/strstr-asm.c: Remove dg-options.

From-SVN: r232577

9 years agoDaily bump.
GCC Administrator [Tue, 19 Jan 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232544

9 years agoFix C++98 std::signbit<long double>
Jonathan Wakely [Mon, 18 Jan 2016 16:28:16 +0000 (16:28 +0000)] 
Fix C++98 std::signbit<long double>

PR libstdc++/60637
* include/c_global/cmath (signbit) [__cplusplus < 201103L]: Use
__builtin_signbitf or __builtin_signbitl as appropriate.
* testsuite/26_numerics/headers/cmath/60637.cc: New.

From-SVN: r232531

9 years agobackport: re PR tree-optimization/68799 (lto ICE on powerpc64le-linux-gnu builing...
Bill Schmidt [Mon, 18 Jan 2016 03:54:48 +0000 (03:54 +0000)] 
backport: re PR tree-optimization/68799 (lto ICE on powerpc64le-linux-gnu builing python 2.7.x)

2016-01-17  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

Backport from mainline:
2016-01-17  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR tree-optimization/68799
* gimple-ssa-strength-reduction.c (create_phi_basis): Directly
look up phi candidates in the statement-candidate map.
(phi_add_costs): Likewise.
(record_phi_increments): Likewise.
(phi_incr_cost): Likewise.
(ncd_with_phi): Likewise.
(all_phi_incrs_profitable): Likewise.

From-SVN: r232494

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

From-SVN: r232488

9 years agoDaily bump.
GCC Administrator [Sun, 17 Jan 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232478

9 years agoDaily bump.
GCC Administrator [Sat, 16 Jan 2016 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232458

9 years agoDaily bump.
GCC Administrator [Fri, 15 Jan 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232396

9 years ago[ARM][4.9 backport] Fix PR target/68648
Kyrylo Tkachov [Thu, 14 Jan 2016 17:27:42 +0000 (17:27 +0000)] 
[ARM][4.9 backport] Fix PR target/68648

PR target/68648
* config/arm/arm.md (*andsi_iorsi3_notsi): Try to simplify
the complement of operands[3] during splitting.

* gcc.dg/torture/pr68648.c: New test.

From-SVN: r232375

9 years agoDaily bump.
GCC Administrator [Thu, 14 Jan 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232357

9 years agore PR target/63347 (m68k misoptimisation with -fschedule-insns)
Jeff Law [Wed, 13 Jan 2016 22:55:31 +0000 (15:55 -0700)] 
re PR target/63347 (m68k misoptimisation with -fschedule-insns)

PR target/63347
* haifa-sched.c (prune_ready_list): If we have a SCHED_GROUP_P insn
that needs to be queued, just queue it for a single cycle.

PR target/63347
* gcc.target/m68k/pr63347.c: New test.

From-SVN: r232354

9 years agoDaily bump.
GCC Administrator [Wed, 13 Jan 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232302

9 years agoRemove noexcept from function template that can throw
Jonathan Wakely [Tue, 12 Jan 2016 18:11:28 +0000 (18:11 +0000)] 
Remove noexcept from function template that can throw

PR libstdc++/69092
* include/bits/basic_string.h (basic_string::_S_copy_chars<_Iterator>):
Remove _GLIBCXX_NOEXCEPT.
testsuite/21_strings/basic_string/cons/char/69092.cc: New.

From-SVN: r232289

9 years agolibstdc++/68995 qualify calls to __callable_functor
Jonathan Wakely [Tue, 12 Jan 2016 18:11:20 +0000 (18:11 +0000)] 
libstdc++/68995 qualify calls to __callable_functor

PR libstdc++/68995
* include/std/functional (_Function_handler::_M_invoke): Qualify
__callable_functor.
* testsuite/20_util/function/68995.cc: New.

From-SVN: r232288

9 years ago[Backport][PR69082][ARM]Backport "[PATCH][ARM]Tighten the conditions for
Renlin Li [Tue, 12 Jan 2016 17:32:18 +0000 (17:32 +0000)] 
[Backport][PR69082][ARM]Backport "[PATCH][ARM]Tighten the conditions for
arm_movw, arm_movt".

gcc/

2016-01-12  Renlin Li  <renlin.li@arm.com>

PR target/69082
Backport from mainline.
2015-08-24  Renlin Li  <renlin.li@arm.com>

* config/arm/arm-protos.h (arm_valid_symbolic_address_p): Declare.
* config/arm/arm.c (arm_valid_symbolic_address_p): Define.
* config/arm/arm.md (arm_movt): Use arm_valid_symbolic_address_p.
* config/arm/constraints.md ("j"): Add check for high code.

From-SVN: r232284

9 years agoBackport: [Patch AArch64] Reinstate CANNOT_CHANGE_MODE_CLASS to fix pr67609
James Greenhalgh [Tue, 12 Jan 2016 14:04:26 +0000 (14:04 +0000)] 
Backport: [Patch AArch64] Reinstate CANNOT_CHANGE_MODE_CLASS to fix pr67609

gcc/

Backport from mainline.
2015-12-09  James Greenhalgh  <james.greenhalgh@arm.com>

PR rtl-optimization/67609
* config/aarch64/aarch64.c
(aarch64_cannot_change_mode_class): Don't permit word_mode
subregs of full vector modes.
* config/aarch64/aarch64.md (aarch64_movdi_<mode>low): Use
zero_extract rather than truncate.
(aarch64_movdi_<mode>high): Likewise.

gcc/testsuite/

Backport from mainline.
2015-12-09  James Greenhalgh  <james.greenhalgh@arm.com>

PR rtl-optimization/67609
* gcc.dg/torture/pr67609.c: New.

From-SVN: r232270

9 years agopa.c (pa_emit_move_sequence): Handle floating point reloads for other unsupported...
John David Anglin [Tue, 12 Jan 2016 01:41:59 +0000 (01:41 +0000)] 
pa.c (pa_emit_move_sequence): Handle floating point reloads for other unsupported memory operands.

* config/pa/pa.c (pa_emit_move_sequence): Handle floating point
reloads for other unsupported memory operands.

From-SVN: r232255

9 years agoDaily bump.
GCC Administrator [Tue, 12 Jan 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232246

9 years ago[PR 66616] Check for thunks when adding extra constants to clones
Martin Jambor [Mon, 11 Jan 2016 09:59:48 +0000 (10:59 +0100)] 
[PR 66616] Check for thunks when adding extra constants to clones

2016-01-11  Martin Jambor  <mjambor@suse.cz>

PR ipa/66616
* ipa-cp.c (propagate_constants_accross_call): Move thuk check...
(call_passes_through_thunk_p): ...here.
(find_more_scalar_values_for_callers_subset): Perform thunk checks
like propagate_constants_accross_call does.
* cgraphclones.c (duplicate_thunk_for_node): Copy can_change_signature
flag from the node to the new flag.

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

From-SVN: r232213

9 years agoDaily bump.
GCC Administrator [Mon, 11 Jan 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232204

9 years agoDaily bump.
GCC Administrator [Sun, 10 Jan 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232192

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

From-SVN: r232182

9 years agore PR middle-end/68983 (ICE: in store_field, at expr.c:6659)
Jason Merrill [Fri, 8 Jan 2016 16:02:10 +0000 (11:02 -0500)] 
re PR middle-end/68983 (ICE: in store_field, at expr.c:6659)

PR c++/68983

PR c++/67557
* call.c (unsafe_copy_elision_p): Look through COMPOUND_EXPR.

From-SVN: r232171

9 years agore PR c++/66921 (failure to determine size of static constexpr array that is nested...
Jason Merrill [Fri, 8 Jan 2016 16:02:04 +0000 (11:02 -0500)] 
re PR c++/66921 (failure to determine size of static constexpr array that is nested within a templated class)

PR c++/66921
* decl.c (cp_complete_array_type): Allow an initializer that
already has array type.

From-SVN: r232170

9 years ago[PR 68851] Do not collect thunks in collect_callers
Martin Jambor [Fri, 8 Jan 2016 12:34:34 +0000 (13:34 +0100)] 
[PR 68851] Do not collect thunks in collect_callers

2016-01-08  Martin Jambor  <mjambor@suse.cz>

PR ipa/68851
gcc/
* cgraph.c (collect_callers_of_node_1): Do not collect thunks.
(collect_callers): Change comment.

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

From-SVN: r232160

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

From-SVN: r232144

9 years agoDaily bump.
GCC Administrator [Thu, 7 Jan 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232118

9 years agobackport: re PR other/67627 (libatomic parallel build failure)
Szabolcs Nagy [Wed, 6 Jan 2016 17:43:24 +0000 (17:43 +0000)] 
backport: re PR other/67627 (libatomic parallel build failure)

2016-01-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>

Backport from mainline:
2016-01-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>

PR other/67627
* Makefile.am (all-multi): Add dependency.
* Makefile.in: Regenerate.

From-SVN: r232107

9 years agoDaily bump.
GCC Administrator [Wed, 6 Jan 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232094

9 years agoFix PR number in revision 231910 ChangeLogs
Peter Bergner [Tue, 5 Jan 2016 17:19:23 +0000 (11:19 -0600)] 
Fix PR number in revision 231910 ChangeLogs

From-SVN: r232079

9 years agoDaily bump.
GCC Administrator [Tue, 5 Jan 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232067

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

From-SVN: r232043

9 years agoDaily bump.
GCC Administrator [Sun, 3 Jan 2016 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232036

9 years agoDaily bump.
GCC Administrator [Sat, 2 Jan 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232031

9 years agoDaily bump.
GCC Administrator [Fri, 1 Jan 2016 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r232021

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

From-SVN: r232009

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

From-SVN: r231998

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

From-SVN: r231986

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

From-SVN: r231968

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

From-SVN: r231962

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

From-SVN: r231958

9 years agobackport: freebsd64.h: Delete FREEBSD_DYNAMIC_LINKER32/64 defines.
Andreas Tobler [Fri, 25 Dec 2015 21:12:14 +0000 (22:12 +0100)] 
backport: freebsd64.h: Delete FREEBSD_DYNAMIC_LINKER32/64 defines.

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

    Backport from mainline
    2015-12-25  Andreas Tobler  <andreast@gcc.gnu.org>

    * config/rs6000/freebsd64.h: Delete FREEBSD_DYNAMIC_LINKER32/64
    defines. Use FBSD_DYNAMIC_LINKER instead.
    Rename and simplify LINK_OS_FREEBSD_SPEC_DEF32/64 to
    LINK_OS_FREEBSD_SPEC_DEF.

From-SVN: r231957

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

From-SVN: r231949

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

From-SVN: r231940

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

From-SVN: r231920

9 years agobackport: re PR target/68772 (Many -gstabs tests FAIL with Xcode 7 as)
Peter Bergner [Tue, 22 Dec 2015 20:51:12 +0000 (14:51 -0600)] 
backport: re PR target/68772 (Many -gstabs tests FAIL with Xcode 7 as)

gcc/
Backport from mainline
PR target/68772
* config/rs6000/rs6000.h (ASM_CPU_SPEC): For -mcpu=powerpc64le,
pass %(asm_cpu_power8).

gcc/testsuite/
Backport from mainline
PR target/68772
* gcc.target/powerpc/pr68872.c: New test.

From-SVN: r231910

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

From-SVN: r231890

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

From-SVN: r231865

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

From-SVN: r231853

9 years agore PR target/68729 (../Xbae/Methods.c:1772:1: ICE: in extract_insn, at recog.c:2343)
John David Anglin [Sat, 19 Dec 2015 01:54:34 +0000 (01:54 +0000)] 
re PR target/68729 (../Xbae/Methods.c:1772:1: ICE: in extract_insn, at recog.c:2343)

PR target/68729
* config/pa/pa.c (pa_emit_move_sequence): Reorganize handling of
floating-point reloads. Only reload operands that are not valid
floating-point memory operands.

From-SVN: r231847

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

From-SVN: r231842

9 years agore PR target/68779 (HPPA/PARISC 32-bit Linux kernel build triggers multiple ICEs)
John David Anglin [Fri, 18 Dec 2015 00:40:55 +0000 (00:40 +0000)] 
re PR target/68779 (HPPA/PARISC 32-bit Linux kernel build triggers multiple ICEs)

PR target/68779
* config/pa/pa.md (atomic_loaddi): Honor -mdisable-fpregs.
(atomic_loaddi_1): Likewise.
(atomic_storedi): Likewise.
(atomic_storedi_1): Likewise.
Move all atomic patterns to end of file.

From-SVN: r231795

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

From-SVN: r231791

9 years agore PR c++/67576 (expression of typeid( expression ) is evaluated twice)
Jason Merrill [Thu, 17 Dec 2015 16:52:25 +0000 (11:52 -0500)] 
re PR c++/67576 (expression of typeid( expression ) is evaluated twice)

PR c++/67576

PR c++/25466
* rtti.c (build_typeid): Use save_expr, not stabilize_reference.

From-SVN: r231781

9 years agore PR c++/67557 (Calling copy constructor of base class in constructor of derived...
Jason Merrill [Thu, 17 Dec 2015 16:52:19 +0000 (11:52 -0500)] 
re PR c++/67557 (Calling copy constructor of base class in constructor of derived class produces crashing code)

PR c++/67557

* call.c (is_base_field_ref): New.
(unsafe_copy_elision_p): New.
(build_over_call): Use it.

From-SVN: r231780

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

From-SVN: r231729

9 years agoFix cv-qualifiers in std::bind invocation
Jonathan Wakely [Wed, 16 Dec 2015 17:09:52 +0000 (17:09 +0000)] 
Fix cv-qualifiers in std::bind invocation

PR libstdc++/68912
* include/std/functional (_Bind::operator()): Use lvalue functor to
deduce return type.
* testsuite/20_util/bind/68912.cc: New.

From-SVN: r231702

9 years agoFix ambiguity with multiple enable_shared_from_this bases
Jonathan Wakely [Wed, 16 Dec 2015 17:09:47 +0000 (17:09 +0000)] 
Fix ambiguity with multiple enable_shared_from_this bases

PR libstdc++/56383
* testsuite/20_util/enable_shared_from_this/56383.cc: New.
* include/bits/shared_ptr_base.h (__enable_shared_from_this): Make
friend declaration match previous declaration of
__enable_shared_from_this_helper.
* include/bits/shared_ptr.h (enable_shared_from_this): Likewise.

From-SVN: r231701

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

From-SVN: r231666

9 years agobackport: re PR libstdc++/68863 (Regular expressions: Backreferences don't work in...
Tim Shen [Tue, 15 Dec 2015 05:59:01 +0000 (05:59 +0000)] 
backport: re PR libstdc++/68863 (Regular expressions: Backreferences don't work in negative lookahead)

Backport from mainline
2015-12-15  Tim Shen  <timshen@google.com>

PR libstdc++/68863
* include/bits/regex_executor.tcc (_Executor::_M_lookahead):
Copy the captured content for lookahead, so that the backreferences
inside can refer to them.
* testsuite/28_regex/algorithms/regex_match/ecma/char/68863.cc:
New testcase.

From-SVN: r231643

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

From-SVN: r231636

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

From-SVN: r231602

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

From-SVN: r231589

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

From-SVN: r231578

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

From-SVN: r231549

9 years agobackport: freebsd64.h: Remove the redefinition of WCHAR_TYPE.
Andreas Tobler [Thu, 10 Dec 2015 20:24:28 +0000 (21:24 +0100)] 
backport: freebsd64.h: Remove the redefinition of WCHAR_TYPE.

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

    Backport from mainline
    2015-12-09  Andreas Tobler  <andreast@gcc.gnu.org>

    * config/rs6000/freebsd64.h: Remove the redefinition of WCHAR_TYPE.

From-SVN: r231544

9 years agore PR tree-optimization/61515 (Extremely long compile time for generated code)
Jeff Law [Thu, 10 Dec 2015 19:40:23 +0000 (12:40 -0700)] 
re PR tree-optimization/61515 (Extremely long compile time for generated code)

       PR tree-optimization/61515
        PR tree-optimization/46590
        Backport from mainline.
        * tree-ssa-threadedge.c (invalidate_equivalences): Walk the unwinding
        stack rather than looking at every SSA_NAME's value.

From-SVN: r231542

9 years agobackport: re PR target/68701 ("gcc -m32 -finstrument-functions -ffixed-ebp" produces...
Uros Bizjak [Thu, 10 Dec 2015 16:43:49 +0000 (17:43 +0100)] 
backport: re PR target/68701 ("gcc -m32 -finstrument-functions -ffixed-ebp" produces internal compiler error)

Backport from mainline
2015-12-08  Uros Bizjak  <ubizjak@gmail.com>

PR target/68701
* config/i386/i386.c (ix86_option_override_internal): Enable
-maccumulate-outgoing-args when %ebp is fixed due to stack
realignment requirements.

testsuite/ChangeLog:

Backport from mainline
2015-12-08  Uros Bizjak  <ubizjak@gmail.com>

PR target/68701
* gcc.target/i386/pr68701-1.c: New test.
* gcc.target/i386/pr68701-2.c: Ditto.

From-SVN: r231529

9 years agofptr.c (__canonicalize_funcptr_for_compare): Remove code to initialize call to __dl_f...
John David Anglin [Thu, 10 Dec 2015 01:36:26 +0000 (01:36 +0000)] 
fptr.c (__canonicalize_funcptr_for_compare): Remove code to initialize call to __dl_fixup once.

* config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
to initialize call to __dl_fixup once.

From-SVN: r231488

9 years agore PR target/68729 (../Xbae/Methods.c:1772:1: ICE: in extract_insn, at recog.c:2343)
John David Anglin [Thu, 10 Dec 2015 00:46:41 +0000 (00:46 +0000)] 
re PR target/68729 (../Xbae/Methods.c:1772:1: ICE: in extract_insn, at recog.c:2343)

PR target/68729
* config/pa/pa.c (pa_emit_move_sequence): Don't check that mode is
consistent with modes of the input and output operands when doing
reloads to and from floating point registers.  Do reload for all
address forms.

From-SVN: r231484

9 years agoDaily bump.
GCC Administrator [Thu, 10 Dec 2015 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r231479

9 years agosse4_1-roundps-1.c: Remove ASM_SUFFIX define.
Uros Bizjak [Wed, 9 Dec 2015 20:28:37 +0000 (21:28 +0100)] 
sse4_1-roundps-1.c: Remove ASM_SUFFIX define.

* gcc.target/i386/sse4_1-roundps-1.c: Remove ASM_SUFFIX define.
* gcc.target/i386/sse4_1-roundps-2.c: Ditto.
* gcc.target/i386/sse4_1-roundps-3.c: Ditto.
* gcc.target/i386/sse4_1-roundsd-1.c: Ditto.
* gcc.target/i386/sse4_1-roundsd-2.c: Ditto.
* gcc.target/i386/sse4_1-roundsd-3.c: Ditto.
* gcc.target/i386/sse4_1-roundss-1.c: Ditto.
* gcc.target/i386/sse4_1-roundss-2.c: Ditto.
* gcc.target/i386/sse4_1-roundss-3.c: Ditto.

* gcc.target/i386/sse4_1-round.h (do_round): Fix inline asm statements.
* gcc.target/i386/sse4_1-roundsd-4.c (do_round): Ditto.
* gcc.target/i386/sse4_1-roundss-4.c (do_round): Ditto.

From-SVN: r231475

9 years agocalls.c (expand_call): Wrap precompute_register_parameters with NO_DEFER_POP/OK_DEFER...
Uros Bizjak [Wed, 9 Dec 2015 18:50:19 +0000 (19:50 +0100)] 
calls.c (expand_call): Wrap precompute_register_parameters with NO_DEFER_POP/OK_DEFER_POP to prevent...

* calls.c (expand_call): Wrap precompute_register_parameters with
NO_DEFER_POP/OK_DEFER_POP to prevent deferred pops.

* calls.c (expand_call): Precompute register parameters before stack
alignment is performed.

From-SVN: r231469

9 years agopr64882.c: New test.
Uros Bizjak [Wed, 9 Dec 2015 18:46:50 +0000 (19:46 +0100)] 
pr64882.c: New test.

* gcc.dg/torture/pr64882.c: New test.

From-SVN: r231468

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

From-SVN: r231432

9 years agobackport: re PR sanitizer/64820 (Libsanitizer fails with ((AddrIsAlignedByGranularity...
Max Ostapenko [Tue, 8 Dec 2015 11:34:28 +0000 (13:34 +0200)] 
backport: re PR sanitizer/64820 (Libsanitizer fails with ((AddrIsAlignedByGranularity(addr + size))) != (0)" (0x0, 0x0) if ssp is enabled.)

2015-12-08  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>

     Backport from mainline.
     2015-03-16  Max Ostapenko  <m.ostapenko@partner.samsung.com>

     PR sanitizer/64820

     gcc/
     * cfgexpand.c (align_base): New function.
     (alloc_stack_frame_space): Call it.
     (expand_stack_vars): Align prev_frame to be sure
     data->asan_vec elements aligned properly.

     gcc/testsuite/
     * c-c++-common/asan/pr64820.c: New test.

From-SVN: r231405

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

From-SVN: r231389

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

From-SVN: r231345

9 years agore PR ada/56274 (libada bootstrap failure on kfreebsd ("pthread_rwlock_t" not declare...
Eric Botcazou [Sun, 6 Dec 2015 15:29:03 +0000 (15:29 +0000)] 
re PR ada/56274 (libada bootstrap failure on kfreebsd ("pthread_rwlock_t" not declared in "OS_Interface"))

PR ada/56274
* s-osinte-kfreebsd-gnu.ads (pthread_rwlock_t): New subtype.
(pthread_rwlockattr_t): Likewise.

From-SVN: r231339

9 years agore PR ada/49944 (Bootstrapping on x86_64-pc-kfreebsd-gnu fails with "s-taprop.adb...
Ludovic Brenta [Sun, 6 Dec 2015 14:11:54 +0000 (14:11 +0000)] 
re PR ada/49944 (Bootstrapping on x86_64-pc-kfreebsd-gnu fails with "s-taprop.adb:856:10: "pthread_attr_setaffinity_np" is undefined (more references follow)")

PR ada/49944
* s-osinte-freebsd.ads: Minor reformatting.
(Stack_Base_Available): Correct comments.
* s-osinte-kfreebsd-gnu.ads (Time_Slice_Supported, nanosleep,
clock_id_t, clock_gettime, Stack_Base_Available, Get_Page_Size,
mprotect, pthread_mutexattr_setprotocol,pthread_mutexattr_getprotocol
pthread_mutexattr_setprioceiling, pthread_mutexattr_getprioceiling,
pthread_attr_setscope, pthread_attr_getscope,
pthread_attr_setinheritsched, pthread_attr_getinheritsched,
Time_Slice_Supported): Copy from s-osinte-freebsd.ads.
* gcc-interface/Makefile.in (x86/kfreebsd): Use the POSIX version of
the System.Task_Primitives.Operations package.

From-SVN: r231335

9 years agore PR ada/49940 (Bootstrapping on x86_64-pc-kfreebsd-gnu fails with "s-taprop.adb...
Ludovic Brenta [Sun, 6 Dec 2015 14:00:45 +0000 (14:00 +0000)] 
re PR ada/49940 (Bootstrapping on x86_64-pc-kfreebsd-gnu fails with "s-taprop.adb:717:32: "lwp_self" is undefined")

PR ada/49940
* s-osinte-kfreebsd-gnu.ads (lwp_self): New imported function.

From-SVN: r231332

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

From-SVN: r231324

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

From-SVN: r231312

9 years agobackport: freebsd64.h (ELFv2_ABI_CHECK): Add new macro.
Andreas Tobler [Fri, 4 Dec 2015 20:25:56 +0000 (21:25 +0100)] 
backport: freebsd64.h (ELFv2_ABI_CHECK): Add new macro.

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

    Backport from mainline
    2015-12-01  Andreas Tobler  <andreast@gcc.gnu.org>

    * config/rs6000/freebsd64.h (ELFv2_ABI_CHECK): Add new macro.
    (SUBSUBTARGET_OVERRIDE_OPTIONS): Use it to decide whether to set
    rs6000_current_abi to ABI_AIX or ABI_ELFv2.

From-SVN: r231306

9 years agobackport: re PR libffi/65726 (libffi fails to build when not bootstrapping: configure...
Andreas Tobler [Fri, 4 Dec 2015 20:25:13 +0000 (21:25 +0100)] 
backport: re PR libffi/65726 (libffi fails to build when not bootstrapping: configure: error: C++ preprocessor "/lib/cpp" fails sanity check)

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

    Backport from mainline
    2015-12-01  Andreas Tobler  <andreast@gcc.gnu.org>

    PR libffi/65726
    * Makefile.def (lang_env_dependencies): Make libffi depend
    on cxx.
    * Makefile.in: Regenerate.

From-SVN: r231305

9 years agore PR ada/68169 (s-osinte-rtems.ads is out of synch with type definitions of current...
Jan Sommer [Fri, 4 Dec 2015 18:42:10 +0000 (18:42 +0000)] 
re PR ada/68169 (s-osinte-rtems.ads is out of synch with type definitions of current newlib)

PR ada/68169
* s-oscons-tmplt.c: Generate pthread constants for RTEMS
* s-osinte-rtems.ads: Declare pthread structs as opaque types in Ada

From-SVN: r231299

9 years agoFix c++/67337 (segfault in mangle.c)
Markus Trippelsdorf [Fri, 4 Dec 2015 11:46:39 +0000 (11:46 +0000)] 
Fix c++/67337 (segfault in mangle.c)

PR c++/67337
* mangle.c (write_template_prefix): Guard against context==NULL.

From-SVN: r231258

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

From-SVN: r231240

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

From-SVN: r231214

9 years ago[PR67383][ARM][4.9]Backport of "Allow any register for DImode values in Thumb2"
Renlin Li [Wed, 2 Dec 2015 14:06:31 +0000 (14:06 +0000)] 
[PR67383][ARM][4.9]Backport of "Allow any register for DImode values in Thumb2"

This partially fix PR67383. It allows the reload more flexibility to choose
spilling pseudo registers.

gcc/ChangeLog:

2015-12-02  Renlin Li  <renlin.li@arm.com>

Backport from mainline.
2014-04-22  Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>

* config/arm/arm.c (arm_hard_regno_mode_ok): Loosen
restrictions on core registers for DImode values in Thumb2.

From-SVN: r231177

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

From-SVN: r231138

9 years agofptr.c (__canonicalize_funcptr_for_compare): Initialize fixup values if saved GOT...
John David Anglin [Wed, 2 Dec 2015 00:01:48 +0000 (00:01 +0000)] 
fptr.c (__canonicalize_funcptr_for_compare): Initialize fixup values if saved GOT address doesn't match runtime address.

* config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
fixup values if saved GOT address doesn't match runtime address.
(fixup_branch_offset): Reorder list.

From-SVN: r231136

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

From-SVN: r231091

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

From-SVN: r231054