]>
git.ipfire.org Git - thirdparty/gcc.git/log
GCC Administrator [Fri, 22 Jan 2016 00:16:06 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r232714
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
GCC Administrator [Thu, 21 Jan 2016 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r232642
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
GCC Administrator [Wed, 20 Jan 2016 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r232596
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
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
GCC Administrator [Tue, 19 Jan 2016 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r232544
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
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
GCC Administrator [Mon, 18 Jan 2016 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r232488
GCC Administrator [Sun, 17 Jan 2016 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r232478
GCC Administrator [Sat, 16 Jan 2016 00:16:06 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r232458
GCC Administrator [Fri, 15 Jan 2016 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r232396
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
GCC Administrator [Thu, 14 Jan 2016 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r232357
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
GCC Administrator [Wed, 13 Jan 2016 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r232302
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
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
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
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
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
GCC Administrator [Tue, 12 Jan 2016 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r232246
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
GCC Administrator [Mon, 11 Jan 2016 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r232204
GCC Administrator [Sun, 10 Jan 2016 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r232192
GCC Administrator [Sat, 9 Jan 2016 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r232182
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
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
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
GCC Administrator [Fri, 8 Jan 2016 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r232144
GCC Administrator [Thu, 7 Jan 2016 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r232118
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
GCC Administrator [Wed, 6 Jan 2016 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r232094
Peter Bergner [Tue, 5 Jan 2016 17:19:23 +0000 (11:19 -0600)]
Fix PR number in revision 231910 ChangeLogs
From-SVN: r232079
GCC Administrator [Tue, 5 Jan 2016 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r232067
GCC Administrator [Mon, 4 Jan 2016 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r232043
GCC Administrator [Sun, 3 Jan 2016 00:16:06 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r232036
GCC Administrator [Sat, 2 Jan 2016 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r232031
GCC Administrator [Fri, 1 Jan 2016 00:16:06 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r232021
GCC Administrator [Thu, 31 Dec 2015 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r232009
GCC Administrator [Wed, 30 Dec 2015 00:16:09 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r231998
GCC Administrator [Tue, 29 Dec 2015 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r231986
GCC Administrator [Mon, 28 Dec 2015 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r231968
GCC Administrator [Sun, 27 Dec 2015 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r231962
GCC Administrator [Sat, 26 Dec 2015 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r231958
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
GCC Administrator [Fri, 25 Dec 2015 00:16:07 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r231949
GCC Administrator [Thu, 24 Dec 2015 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r231940
GCC Administrator [Wed, 23 Dec 2015 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r231920
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
GCC Administrator [Tue, 22 Dec 2015 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r231890
GCC Administrator [Mon, 21 Dec 2015 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r231865
GCC Administrator [Sun, 20 Dec 2015 00:16:06 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r231853
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
GCC Administrator [Sat, 19 Dec 2015 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r231842
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
GCC Administrator [Fri, 18 Dec 2015 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r231791
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
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
GCC Administrator [Thu, 17 Dec 2015 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r231729
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
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
GCC Administrator [Wed, 16 Dec 2015 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r231666
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
GCC Administrator [Tue, 15 Dec 2015 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r231636
GCC Administrator [Mon, 14 Dec 2015 00:16:10 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r231602
GCC Administrator [Sun, 13 Dec 2015 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r231589
GCC Administrator [Sat, 12 Dec 2015 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r231578
GCC Administrator [Fri, 11 Dec 2015 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r231549
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
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
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
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
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
GCC Administrator [Thu, 10 Dec 2015 00:16:06 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r231479
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
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
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
GCC Administrator [Wed, 9 Dec 2015 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r231432
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
GCC Administrator [Tue, 8 Dec 2015 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r231389
GCC Administrator [Mon, 7 Dec 2015 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r231345
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
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
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
GCC Administrator [Sun, 6 Dec 2015 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r231324
GCC Administrator [Sat, 5 Dec 2015 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r231312
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
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
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
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
GCC Administrator [Fri, 4 Dec 2015 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r231240
GCC Administrator [Thu, 3 Dec 2015 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r231214
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
GCC Administrator [Wed, 2 Dec 2015 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r231138
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
GCC Administrator [Tue, 1 Dec 2015 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r231091
GCC Administrator [Mon, 30 Nov 2015 00:16:06 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r231054