]>
git.ipfire.org Git - thirdparty/gcc.git/log
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
Matthias Klose [Sun, 29 Nov 2015 22:42:25 +0000 (22:42 +0000)]
re PR ada/68564 (Ada fails to bootstrap on sparc64-linux-gnu)
2015-11-29 Matthias Klose <doko@ubuntu.com>
PR ada/68564
* gcc-interface/Makefile.in: Fix powerpc/powerpc64* and
mipsel/mips64el bitness detection.
Merge the mipsel/mips64el definitions into one.
From-SVN: r231053
GCC Administrator [Sun, 29 Nov 2015 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r231040
Matthias Klose [Sat, 28 Nov 2015 02:42:37 +0000 (02:42 +0000)]
re PR ada/68564 (Ada fails to bootstrap on sparc64-linux-gnu)
2015-11-28 Matthias Klose <doko@ubuntu.com>
PR ada/68564
* gcc-interface/Makefile.in: Fix sparc/sparc64 bitness detection.
From-SVN: r231030
GCC Administrator [Sat, 28 Nov 2015 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r231025
Andre Vehreschild [Fri, 27 Nov 2015 14:35:46 +0000 (15:35 +0100)]
re PR fortran/68218 (ALLOCATE with size given by a module function)
gcc/fortran/ChangeLog:
2015-11-27 Andre Vehreschild <vehre@gcc.gnu.org>
PR fortran/68218
* trans-array.c (gfc_array_init_size): Add gfc_evaluate_now() when
array spec in allocate is a function call.
gcc/testsuite/ChangeLog:
2015-11-27 Andre Vehreschild <vehre@gcc.gnu.org>
PR fortran/68218
* gfortran.dg/allocate_with_arrayspec_1.f90: New test.
From-SVN: r231017
GCC Administrator [Fri, 27 Nov 2015 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r230988
Vladimir Makarov [Thu, 26 Nov 2015 22:13:36 +0000 (22:13 +0000)]
re PR rtl-optimization/67954 (internal compiler error: in patch_jump_insn, at cfgrtl.c:1303)
2015-11-25 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/67954
* lra-constraints.c (curr_insn_transform): Add check on scratch
pseudo when change class to NO_REGS. Add an assert.
From-SVN: r230986
Kyrylo Tkachov [Thu, 26 Nov 2015 11:40:16 +0000 (11:40 +0000)]
[calls.c] PR rtl-optimization/67226: Take into account pretend_args_size when checking stack offsets for sibcall optimisation
Backport from mainline
2015-11-26 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
Bernd Schmidt <bschmidt@redhat.com>
PR rtl-optimization/67226
* calls.c (store_one_arg): Take into account
crtl->args.pretend_args_size when checking for overlap between
arg->value and argblock + arg->locate.offset during sibcall
optimization.
* gcc.c-torture/execute/pr67226.c: New test.
From-SVN: r230937
GCC Administrator [Thu, 26 Nov 2015 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r230919
Paul Thomas [Wed, 25 Nov 2015 05:28:10 +0000 (05:28 +0000)]
backport: re PR fortran/68196 (ICE on function result with procedure pointer component)
2015-11-25 Paul Thomas <pault@gcc.gnu.org>
Backport from trunk.
PR fortran/68196
* class.c (has_finalizer_component): Prevent infinite recursion
through this function if the derived type and that of its
component are the same.
* trans-types.c (gfc_get_derived_type): Do the same for proc
pointers by ignoring the explicit interface for the component.
PR fortran/66465
* check.c (same_type_check): If either of the expressions is
BT_PROCEDURE, use the typespec from the symbol, rather than the
expression.
2015-11-25 Paul Thomas <pault@gcc.gnu.org>
Backport from trunk.
PR fortran/68196
* gfortran.dg/proc_ptr_47.f90: New test.
Backport from trunk.
PR fortran/66465
* gfortran.dg/pr66465.f90: New test.
From-SVN: r230852
GCC Administrator [Wed, 25 Nov 2015 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r230848
Kyrylo Tkachov [Tue, 24 Nov 2015 14:27:51 +0000 (14:27 +0000)]
[RTL-ree] PR rtl-optimization/68194: Restrict copy instruction in presence of conditional moves
Backport from mainline
2015-11-24 Bernd Schmidt <bschmidt@redhat.com>
Kyrylo Tkachov <kyrylo.tkachov@arm.com>
PR rtl-optimization/68194
PR rtl-optimization/68328
PR rtl-optimization/68185
* ree.c (combine_reaching_defs): Reject copy_needed case if
copies_list is not empty.
* gcc.c-torture/execute/pr68185.c: New test.
* gcc.c-torture/execute/pr68328.c: Likewise.
From-SVN: r230813
GCC Administrator [Tue, 24 Nov 2015 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r230781
Kyrylo Tkachov [Mon, 23 Nov 2015 15:25:36 +0000 (15:25 +0000)]
[AArch64] PR target/68363 Check that argument is real INSN in aarch64_madd_needs_nop
Backport from mainline
2015-11-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
PR target/68363
* config/aarch64/aarch64.c (aarch64_madd_needs_nop): Reject arguments
that are not INSN_P.
* gcc.target/aarch64/pr68363_1.c: New test.
From-SVN: r230765
GCC Administrator [Mon, 23 Nov 2015 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r230731
GCC Administrator [Sun, 22 Nov 2015 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r230716
GCC Administrator [Sat, 21 Nov 2015 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r230690
GCC Administrator [Fri, 20 Nov 2015 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r230635
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
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
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
GCC Administrator [Thu, 19 Nov 2015 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r230583
GCC Administrator [Wed, 18 Nov 2015 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r230513
GCC Administrator [Tue, 17 Nov 2015 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r230446
GCC Administrator [Mon, 16 Nov 2015 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r230399
GCC Administrator [Sun, 15 Nov 2015 00:16:08 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r230386
GCC Administrator [Sat, 14 Nov 2015 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r230368
GCC Administrator [Fri, 13 Nov 2015 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r230279
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
GCC Administrator [Thu, 12 Nov 2015 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r230197
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
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
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
GCC Administrator [Wed, 11 Nov 2015 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r230139
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
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
GCC Administrator [Tue, 10 Nov 2015 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r230067
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
GCC Administrator [Mon, 9 Nov 2015 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r229978
GCC Administrator [Sun, 8 Nov 2015 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r229942
GCC Administrator [Sat, 7 Nov 2015 00:16:11 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r229904
GCC Administrator [Fri, 6 Nov 2015 00:16:06 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r229828
GCC Administrator [Thu, 5 Nov 2015 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r229788
GCC Administrator [Wed, 4 Nov 2015 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r229729
GCC Administrator [Tue, 3 Nov 2015 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r229687
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
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
GCC Administrator [Mon, 2 Nov 2015 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r229646
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
GCC Administrator [Sun, 1 Nov 2015 00:16:09 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r229637
GCC Administrator [Sat, 31 Oct 2015 00:16:08 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r229613
GCC Administrator [Fri, 30 Oct 2015 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r229563
GCC Administrator [Thu, 29 Oct 2015 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r229509
GCC Administrator [Wed, 28 Oct 2015 00:16:07 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r229467
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
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
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
GCC Administrator [Tue, 27 Oct 2015 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r229397
GCC Administrator [Mon, 26 Oct 2015 00:16:09 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r229304
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
GCC Administrator [Sun, 25 Oct 2015 00:16:06 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r229291
GCC Administrator [Sat, 24 Oct 2015 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r229280
GCC Administrator [Fri, 23 Oct 2015 00:16:07 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r229206
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
GCC Administrator [Thu, 22 Oct 2015 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r229157
GCC Administrator [Wed, 21 Oct 2015 00:16:07 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r229104
GCC Administrator [Tue, 20 Oct 2015 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r229010
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
GCC Administrator [Mon, 19 Oct 2015 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r228957
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
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
GCC Administrator [Sun, 18 Oct 2015 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r228934
GCC Administrator [Sat, 17 Oct 2015 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r228927
GCC Administrator [Fri, 16 Oct 2015 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r228856
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
GCC Administrator [Thu, 15 Oct 2015 00:16:04 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r228832
GCC Administrator [Wed, 14 Oct 2015 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r228791
GCC Administrator [Tue, 13 Oct 2015 00:16:06 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r228741
GCC Administrator [Mon, 12 Oct 2015 00:16:06 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r228697
GCC Administrator [Sun, 11 Oct 2015 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r228682