Re: Regular darwin builds

2015-01-16 Thread Dominique d'Humières
Due to pr64625 I have looked more carefully to your logs and I did not see any entry for libgomp. Is it expected? TIA Dominique Le 15 déc. 2014 à 22:11, FX fxcoud...@gmail.com a écrit : Hi all, I’ve set up daily builds and regtests on a darwin box. The results should appear directly

[patch libstdc++] Add POSIX variant of shared_timed_mutex.

2015-01-16 Thread Torvald Riegel
This adds a POSIX-based implementation of shared_timed_mutex, using pthread_rwlock_* operations directly instead of implementing with mutexes and two condvars. This enables using an optimized pthread_rwlock_t on POSIX. Tested on x86_64-linux. OK? 2015-01-16 Torvald Riegel trie...@redhat.com

Re: Android native build of GCC

2015-01-16 Thread Cyd Haselton
On Fri, Jan 9, 2015 at 6:37 AM, Andrew Haley a...@redhat.com wrote: On 01/09/2015 12:30 PM, Richard Biener wrote: Does --disable-lto-plugin work? Over to you, Cyd. Andrew. An additional important note about --disable-lto, --disable-libsanitizer appears to be required with that option and

Re: LRA handling of subreg (on AARCH64 with ILP32)

2015-01-16 Thread Ramana Radhakrishnan
On Thu, Jan 15, 2015 at 4:11 AM, Andrew Pinski pins...@gmail.com wrote: Hi, I have some code where we generate some weird code that has stores followed by a load from the same location. For an example we get: add x14, sp, 240 add x15, sp, 232 str x14, [sp, 136] mov w2, w27 ldr w1, [sp,

LRA and CANNOT_CHANGE_MODE_CLASS

2015-01-16 Thread Andreas Krebbel
Hi, on S/390 I see invalid subregs being generated by LRA although CANNOT_CHANGE_MODE_CLASS is supposed to prevent these. The reason appears to be the code you've added with: commit c6a6cdaaea571860c94f9a9fe0f98c597fef7c81 Author: vmakarov vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4 Date:

Re: LRA and CANNOT_CHANGE_MODE_CLASS

2015-01-16 Thread Vladimir Makarov
On 2015-01-16 12:30 PM, Andreas Krebbel wrote: Hi, on S/390 I see invalid subregs being generated by LRA although CANNOT_CHANGE_MODE_CLASS is supposed to prevent these. The reason appears to be the code you've added with: commit c6a6cdaaea571860c94f9a9fe0f98c597fef7c81 Author: vmakarov

Re: Announcing Eric Botcazou as Visium port maintainer

2015-01-16 Thread Eric Botcazou
This was really just a formality given Eric's existing maintainer positions ;-) I'm pleased to announce that Eric Botcazou has been appointed as the maintainer for the Visium port. Thanks! As per an earlier discussion, I updated the MAINTAINERS file when the port was commited. -- Eric

Re: Fix profiledbootstrap with release checking

2015-01-16 Thread Markus Trippelsdorf
On 2015.01.16 at 00:15 +0100, Jan Hubicka wrote: Hi, can_remove_node_now_p assumes that the node in question has no direct calls, this however is not checked in inline_call that leads to alias to be removed from comdat group while it should not. Bootstrapped/regtested x86_64-linux,

Re: libgo patch committed: Update to Go 1.4

2015-01-16 Thread Rainer Orth
Ian Lance Taylor i...@golang.org writes: On Thu, Jan 15, 2015 at 8:30 AM, Rainer Orth r...@cebitec.uni-bielefeld.de wrote: This (and perhaps the previous gotools) patch broke Solaris bootstrap: /vol/gcc/src/hg/trunk/local/libgo/go/net/tcpsockopt_unix.go:23:73: error: reference to undefined

RE: [RFC, PATCH][LRA, MIPS] ICE: in decompose_normal_address, at rtlanal.c:5817

2015-01-16 Thread Robert Suchanek
OK. The MIPS and Sparc ports are probably going to hit this the hardest. So you've got a vested interest in dealing with any fallout :-) jeff That's fine. The MIPS port has been widely tested and I cross tested it on sparc-linux-gnu target so hopefully there won't any fallout. Robert

[PATCH][wwwdocs] Mention -freport-bug in release notes

2015-01-16 Thread Yury Gribov
Hi all, This is a wwwdocs patch to changes.html to announce -freport-bug flag. Ok to commit? -Y Index: htdocs/gcc-5/changes.html === RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-5/changes.html,v retrieving revision 1.65 diff -c -r1.65

RTL cprop vs. fixed hard regs

2015-01-16 Thread Alan Modra
https://lists.ozlabs.org/pipermail/linuxppc-dev/2014-December/123776.html shows gcc-5 miscompiling a powerpc64 linux kernel. The executive summary is that the rs6000 backend has a bug in its RTL description of indirect calls. We specify a parallel containing both the actual call and an action

Re: [PATCH]Enable gcc/testsuite/gcc.dg/builtin-apply2.c for aarch64

2015-01-16 Thread Marcus Shawcroft
On 15 January 2015 at 15:38, Renlin Li renlin...@arm.com wrote: gcc/testsuite/ChangeLog: 2015-01-15 Renlin Li renlin...@arm.com * gcc.dg/builtin-apply2.c: Remove aarch64 target from skip list. OK /Marcus

Re: [AArch64] Add a new scheduling description for the ARM Cortex-A57 processor

2015-01-16 Thread Marcus Shawcroft
On 15 January 2015 at 09:50, James Greenhalgh james.greenha...@arm.com wrote: 2015-01-15 James Greenhalgh james.greenha...@arm.com * config/arm/cortex-a57.md: New. * config/aarch64/aarch64.md: Include it. * config/aarch64/aarch64-cores.def (cortex-a57): Tune for it.

Re: Use static chain and libffi for Go closures

2015-01-16 Thread Uros Bizjak
Hello! All of this has been posted before. I believe the ABI change is something we should have for gcc 5. Yes, the libffi merge has been causing problems (on targets that don't even support libgo, annoyingly), but missing support for the new libffi interfaces is easier to remedy in a dot

[COMMITTED][PATCH/expand] PR64011 Adjust bitsize when partial overflow happen for big-endian

2015-01-16 Thread Jiong Wang
On 15/01/15 21:56, Joseph Myers wrote: On Thu, 15 Jan 2015, Jiong Wang wrote: + if (bitsize + bitnum unit bitnum unit) +{ + warning (OPT_Wextra, write of HOST_WIDE_INT_PRINT_UNSIGNEDbit data + outside the bound of destination object, data truncated into +

Re: Merge current set of OpenACC changes from gomp-4_0-branch

2015-01-16 Thread Uros Bizjak
Hello! In r219682, I have committed to trunk our current set of OpenACC changes, which we had prepared on gomp-4_0-branch. Thanks to everyone who has been contributing! This patch breaks bootstrap on alpha-linux-gnu: /space/homedirs/uros/gcc-build/./gcc/xgcc

Re: [PATCH, CHKP, PR64363] Don't instrument functions we cannot copy

2015-01-16 Thread Ilya Enkovich
On 15 Jan 15:03, Richard Biener wrote: On Thu, Jan 15, 2015 at 2:51 PM, Ilya Enkovich enkovich@gmail.com wrote: 2015-01-15 16:07 GMT+03:00 Richard Biener richard.guent...@gmail.com: On Thu, Jan 15, 2015 at 12:46 PM, Ilya Enkovich enkovich@gmail.com wrote: Hi, This patch is to

Re: Another ptx offloading patch

2015-01-16 Thread Richard Biener
On Thu, Jan 15, 2015 at 7:35 PM, Jeff Law l...@redhat.com wrote: On 11/20/14 05:33, Bernd Schmidt wrote: Now that I've managed to put together and test all the submitted OpenACC patches I found there was one piece missing. The problem is that omp-low on the host likes to generate function

Re: Merge current set of OpenACC changes from gomp-4_0-branch

2015-01-16 Thread Uros Bizjak
On Fri, Jan 16, 2015 at 11:39 AM, Uros Bizjak ubiz...@gmail.com wrote: Hello! In r219682, I have committed to trunk our current set of OpenACC changes, which we had prepared on gomp-4_0-branch. Thanks to everyone who has been contributing! This patch breaks bootstrap on alpha-linux-gnu:

Re: [AArch64/GCC] PR64304, miscompilation with -mgeneral-regs-only

2015-01-16 Thread Marcus Shawcroft
On 14 January 2015 at 15:31, Jiong Wang jiong.w...@arm.com wrote: 2015-01-15 Jiong. Wang (jiong.w...@arm.com) gcc/ PR64304 * config/aarch64/aarch64.md (define_insn *ashlmode3_insn): Deleted. (ashlmode3): Don't expand if operands[2] is not constant. gcc/testsuite/ *

Re: [PATCH] Fix for PR64353

2015-01-16 Thread Ilya Enkovich
On 14 Jan 19:40, Richard Biener wrote: On January 14, 2015 5:23:21 PM CET, Ilya Enkovich enkovich@gmail.com wrote: On 14 Jan 15:35, Richard Biener wrote: On Wed, Jan 14, 2015 at 3:28 PM, Ilya Enkovich enkovich@gmail.com wrote: Hi, SRA gimple passes may add loads to

Re: [PATCH, AARCH64] Fix ICE in CCMP (PR64015)

2015-01-16 Thread Marcus Shawcroft
On 15 January 2015 at 18:18, Richard Henderson r...@redhat.com wrote: On 12/15/2014 12:41 AM, Zhenqiang Chen wrote: +(define_expand cmpmode + [(set (match_operand 0 cc_register ) +(match_operator:CC 1 aarch64_comparison_operator + [(match_operand:GPI 2 register_operand ) +

Re: [debug-early] C++ clones and limbo DIEs

2015-01-16 Thread Richard Biener
On Fri, Jan 16, 2015 at 4:11 AM, Jason Merrill ja...@redhat.com wrote: On 01/15/2015 09:58 PM, Aldy Hernandez wrote: The attached patch generates early DIEs for the C++ clones in the C++ parser. This strikes me as an unnecessary abstraction violation. I'd hope that in the very distant

Re: [PATCH] Fix PR testsuite/64605

2015-01-16 Thread Gerald Pfeifer
On Thursday 2015-01-15 20:53, Ilya Verbin wrote: $ make check-target-libatomic ... ERROR: (DejaGnu) proc gcc-dg-test-1 libatomic_target_compile ../../../../gcc/libatomic/testsuite/libatomic.c/atomic-compare-exchange-1.c run { -g} does not exist. For a few days now I see the following in my

[libstdc++ PATCH, doc], refresh the C++11 implementation statuses to reflect the real status of constexpr

2015-01-16 Thread Ville Voutilainen
Duration, complex, char_traits and the random engines are already properly constexprified in the library implementation. I haven't built the manual with these changes. :) Also, I don't know how doc patches are usually submitted, so please be gentle. :P 2015-01-16 Ville Voutilainen

Re: Fix profiledbootstrap with release checking

2015-01-16 Thread Richard Biener
On Fri, Jan 16, 2015 at 9:34 AM, Markus Trippelsdorf mar...@trippelsdorf.de wrote: On 2015.01.16 at 00:15 +0100, Jan Hubicka wrote: Hi, can_remove_node_now_p assumes that the node in question has no direct calls, this however is not checked in inline_call that leads to alias to be removed

[PATCH, CHKP] [always_inline 1/2] Allow inlining for not instrumented calls to always_inline functions

2015-01-16 Thread Ilya Enkovich
Hi, Currently compiler emits an error in case of not instrumented call to instrumented alwyas_inline function. It happens because when we inline there is only instrumented version of function available and we don't inline thunks. This patch solves the problem by split of thunk production

Re: Merge current set of OpenACC changes from gomp-4_0-branch

2015-01-16 Thread Jakub Jelinek
On Fri, Jan 16, 2015 at 11:46:35AM +0100, Uros Bizjak wrote: On Fri, Jan 16, 2015 at 11:39 AM, Uros Bizjak ubiz...@gmail.com wrote: Hello! In r219682, I have committed to trunk our current set of OpenACC changes, which we had prepared on gomp-4_0-branch. Thanks to everyone who has been

[PATCH, CHKP] [always_inline 2/2] Fix segafult in SRA

2015-01-16 Thread Ilya Enkovich
Hi, In early SRA some_callers_have_mismatched_arguments_p function is called for function, all its thunks and aliases, but actually cannot handle function with thunks because assumes call_stmt for call_edge is not NULL. This patch rejects functions with thunks instead of ICE. Bootstrapped

Re: [AArch64] Add a new scheduling description for the ARM Cortex-A57 processor

2015-01-16 Thread Ramana Radhakrishnan
On 16/01/15 10:20, Marcus Shawcroft wrote: On 15 January 2015 at 09:50, James Greenhalgh james.greenha...@arm.com wrote: 2015-01-15 James Greenhalgh james.greenha...@arm.com * config/arm/cortex-a57.md: New. * config/aarch64/aarch64.md: Include it. *

RE: [PATCH, RFC] LRA subreg handling

2015-01-16 Thread Robert Suchanek
The differences (hard vs pseudo regs) are primarily an implementation detail. I was really looking to see if there was existing code which would turn an output reload into an in-out reload for these subregs. The in-out nature of certain subregs is something I've personally stumbled over in

Re: Fix profiledbootstrap with release checking

2015-01-16 Thread Markus Trippelsdorf
On 2015.01.16 at 12:03 +0100, Richard Biener wrote: On Fri, Jan 16, 2015 at 9:34 AM, Markus Trippelsdorf mar...@trippelsdorf.de wrote: On 2015.01.16 at 00:15 +0100, Jan Hubicka wrote: Hi, can_remove_node_now_p assumes that the node in question has no direct calls, this however is not

Re: [AArch64/GCC] PR64304, miscompilation with -mgeneral-regs-only

2015-01-16 Thread Jiong Wang
On 16/01/15 10:50, Marcus Shawcroft wrote: On 14 January 2015 at 15:31, Jiong Wang jiong.w...@arm.com wrote: 2015-01-15 Jiong. Wang (jiong.w...@arm.com) gcc/ PR64304 * config/aarch64/aarch64.md (define_insn *ashlmode3_insn): Deleted. (ashlmode3): Don't expand if operands[2] is not

Re: Fix a MinGW warning in libiberty/strerror.c

2015-01-16 Thread Eli Zaretskii
Ping! Date: Fri, 02 Jan 2015 12:54:47 +0200 From: Eli Zaretskii e...@gnu.org When compiling GDB 7.8.1, I get this warning in libiberty: gcc -c -DHAVE_CONFIG_H -O0 -g3 -D__USE_MINGW_ACCESS -I. -I./../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic

[Fortran, Patch] Fix for PR60357 and possibly also for 55932, 57857 and others

2015-01-16 Thread Andre Vehreschild
Hi all, please find attached a fix for pr60357. This patch includes work published by Janus Weil in the bug. I have made the extensions to support allocatable scalar components in structure constructors. This patch also addresses allocatable deferred length char arrays in structure constructors,

Re: [PATCH] Fix PR testsuite/64605

2015-01-16 Thread Ilya Verbin
On 16 Jan 11:57, Gerald Pfeifer wrote: For a few days now I see the following in my daily test runs: The error code is NONE The info on the error is: invalid command name libatomic_target_compile while executing ::tcl_unknown libatomic_target_compile lto67385.c lto67385.o

Re: Fix a MinGW warning in libiberty/strerror.c

2015-01-16 Thread Kai Tietz
Hi Eli, patch is reasonable and ok for me. Thanks Kai 2015-01-16 12:18 GMT+01:00 Eli Zaretskii e...@gnu.org: Ping! Date: Fri, 02 Jan 2015 12:54:47 +0200 From: Eli Zaretskii e...@gnu.org When compiling GDB 7.8.1, I get this warning in libiberty: gcc -c -DHAVE_CONFIG_H -O0 -g3

[PING, PATCH, Fortran] PR fortran/60289 Fixing character array allocation for class(*) type variable

2015-01-16 Thread Andre Vehreschild
*ping* On Mon, 29 Dec 2014 14:12:43 +0100 Andre Vehreschild ve...@gmx.de wrote: Hi all, this patches fixes PR60289 for allocating unlimited polymorphic entities retyping them to a char array. The patch depends on my former patch for pr60255 at:

Re: [PATCH] Fix for PR64353

2015-01-16 Thread Richard Biener
On Fri, Jan 16, 2015 at 11:51 AM, Ilya Enkovich enkovich@gmail.com wrote: On 14 Jan 19:40, Richard Biener wrote: On January 14, 2015 5:23:21 PM CET, Ilya Enkovich enkovich@gmail.com wrote: On 14 Jan 15:35, Richard Biener wrote: On Wed, Jan 14, 2015 at 3:28 PM, Ilya Enkovich

Re: [PATCH, CHKP, PR64363] Don't instrument functions we cannot copy

2015-01-16 Thread Richard Biener
On Fri, Jan 16, 2015 at 11:41 AM, Ilya Enkovich enkovich@gmail.com wrote: On 15 Jan 15:03, Richard Biener wrote: On Thu, Jan 15, 2015 at 2:51 PM, Ilya Enkovich enkovich@gmail.com wrote: 2015-01-15 16:07 GMT+03:00 Richard Biener richard.guent...@gmail.com: On Thu, Jan 15, 2015 at

Re: [PATCH] [AArch64, NEON] Improve vpmaxX vpminX intrinsics

2015-01-16 Thread Tejas Belagod
On 14/01/15 07:09, Yangfei (Felix) wrote: On 09/12/14 08:17, Yangfei (Felix) wrote: On 28 November 2014 at 09:23, Yangfei (Felix) felix.y...@huawei.com wrote: Hi, This patch converts vpmaxX vpminX intrinsics to use builtin functions instead of the previous inline assembly syntax.

Re: Fix a MinGW warning in libiberty/strerror.c

2015-01-16 Thread Eli Zaretskii
Date: Fri, 16 Jan 2015 12:34:25 +0100 From: Kai Tietz ktiet...@googlemail.com Cc: GCC Patches gcc-patches@gcc.gnu.org, gdb-patc...@sourceware.org gdb-patc...@sourceware.org Hi Eli, patch is reasonable and ok for me. Thanks. Do I need to hear from someone else approving this, or

Re: Fix a MinGW warning in libiberty/strerror.c

2015-01-16 Thread Kai Tietz
2015-01-16 12:50 GMT+01:00 Eli Zaretskii e...@gnu.org: Date: Fri, 16 Jan 2015 12:34:25 +0100 From: Kai Tietz ktiet...@googlemail.com Cc: GCC Patches gcc-patches@gcc.gnu.org, gdb-patc...@sourceware.org gdb-patc...@sourceware.org Hi Eli, patch is reasonable and ok for me. Thanks. Do

[PATCH] Fix PR61743 testcases

2015-01-16 Thread Richard Biener
This avoids vectorizing and thus chaning loop trip count. Tested on x86_64, applied. Richard. 2015-01-16 Richard Biener rguent...@suse.de PR tree-optimization/61743 * gcc.dg/tree-ssa/pr61743-1.c: Add -fno-tree-vectorize. * gcc.dg/tree-ssa/pr61743-2.c: Likewise.

Re: [Patch, libstdc++/64584, libstdc++/64585] Clear basic_regex after imbue and make assign exception tolerant

2015-01-16 Thread Jonathan Wakely
@@ -516,14 +509,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CXX11 templatetypename _FwdIter basic_regex(_FwdIter __first, _FwdIter __last, flag_type __f = ECMAScript) - : _M_flags(__f), - _M_loc(), - _M_original_str(__first, __last), -

Re: [match-and-simplify] Remove printing for expression

2015-01-16 Thread Prathamesh Kulkarni
On 12 January 2015 at 08:46, Richard Biener rguent...@suse.de wrote: On Sat, 10 Jan 2015, Prathamesh Kulkarni wrote: On 8 January 2015 at 17:52, Richard Biener rguent...@suse.de wrote: On Sun, 21 Dec 2014, Prathamesh Kulkarni wrote: Hi, I removed printing for expression: from

Re: [Patch, libstdc++/64584, libstdc++/64585] Clear basic_regex after imbue and make assign exception tolerant

2015-01-16 Thread Jonathan Wakely
@@ -675,12 +681,22 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION assign(const basic_string_Ch_type, _Ch_typeraits, _Alloc __s, flag_type __flags = ECMAScript) { + auto __traits = _M_traits; + auto __f = _M_flags; _M_flags = __flags; -

Re: [match-and-simplify] Remove printing for expression

2015-01-16 Thread Richard Biener
On Fri, 16 Jan 2015, Prathamesh Kulkarni wrote: On 12 January 2015 at 08:46, Richard Biener rguent...@suse.de wrote: On Sat, 10 Jan 2015, Prathamesh Kulkarni wrote: On 8 January 2015 at 17:52, Richard Biener rguent...@suse.de wrote: On Sun, 21 Dec 2014, Prathamesh Kulkarni wrote:

Re: [PATCH] Avoid -Werror=format-security errors in libcpp

2015-01-16 Thread Jakub Jelinek
On Thu, Jan 15, 2015 at 09:38:19PM +, Joseph Myers wrote: On Thu, 15 Jan 2015, Jakub Jelinek wrote: --- libcpp/expr.c.jj2015-01-14 11:01:34.0 +0100 +++ libcpp/expr.c 2015-01-14 14:35:52.851002344 +0100 @@ -672,16 +672,17 @@ cpp_classify_number (cpp_reader *pfile,

Re: [libstdc++ PATCH, doc], refresh the C++11 implementation statuses to reflect the real status of constexpr

2015-01-16 Thread Jonathan Wakely
On 16/01/15 13:01 +0200, Ville Voutilainen wrote: Duration, complex, char_traits and the random engines are already properly constexprified in the library implementation. I haven't built the manual with these changes. :) No problem, you need a load of docbook and TeX packages installed. I'll

[testsuite] Add visium testsuite in gcc.target

2015-01-16 Thread Eric Botcazou
It contains only 8 tests that were written for specific features. Tested on visium-elf, applied on the mainline. 2015-01-16 Eric Botcazou ebotca...@adacore.com * gcc.target/visium: New directory. -- Eric BotcazouIndex: gcc.target/visium/loop_clear.c

Re: Merge current set of OpenACC changes from gomp-4_0-branch

2015-01-16 Thread Gerald Pfeifer
Hi Thomas, On Thursday 2015-01-15 21:20, Thomas Schwinge wrote: In r219682, I have committed to trunk our current set of OpenACC changes, which we had prepared on gomp-4_0-branch. Thanks to everyone who has been contributing! this breaks bootstrap on FreeBSD 8/amd64 from what I can tell:

Re: [patch] update function comments for lto_symtab_encoder_encode_*

2015-01-16 Thread Ilya Verbin
On 15 Jan 09:40, Richard Biener wrote: Note that we still have the issue that we want to exercise both WHOPR and non-WHOPR in the testsuite but all testcases are so small that we'd automagically would use non-WHOPR mode (if such automatism was implemented...). Several tests in libgomp

RE: [PATCH, RFC] LRA subreg handling

2015-01-16 Thread Matthew Fortune
Jeff Law l...@redhat.com writes: On 01/15/15 03:13, Robert Suchanek wrote: Robert, can you look at reload.c::reload_inner_reg_of_subreg and verify that the comment just before its return statement is effectively the situation you're in. There are certainly cases where a SUBREG needs to

RE: [RFC, PATCH][LRA, MIPS] ICE: in decompose_normal_address, at rtlanal.c:5817

2015-01-16 Thread Matthew Fortune
OK. The MIPS and Sparc ports are probably going to hit this the hardest. So you've got a vested interest in dealing with any fallout :-) jeff That's fine. The MIPS port has been widely tested and I cross tested it on sparc-linux-gnu target so hopefully there won't any fallout.

Re: [PATCH] [AArch64, NEON] Improve vpmaxX vpminX intrinsics

2015-01-16 Thread Marcus Shawcroft
+2014-12-09 Felix Yang felix.y...@huawei.com + + * config/aarch64/aarch64-simd.md (aarch64_maxmin_unspmode): New + pattern. + * config/aarch64/aarch64-simd-builtins.def (smaxp, sminp, umaxp, + uminp, smax_nanp, smin_nanp): New builtins. + *

Re: [PATCH][Aarch64] PR64149: Remove -mlra/-mno-lra option for Aarch64.

2015-01-16 Thread Marcus Shawcroft
On 12 January 2015 at 15:12, Matthew Wahab matthew.wa...@arm.com wrote: 2015-01-08 Matthew Wahab matthew.wa...@arm.com PR target/64149 * config/aarch64/aarch64.opt: Remove lra option and aarch64_lra_flag variable. * config/aarch64/aarch64.c (TARGET_LRA_P):

[Fortran, Patch] Fix for pr61275 - Invalid initialization expression for ALLOCATABLE component in structure constructor at (1)

2015-01-16 Thread Andre Vehreschild
Hi all, please find attached a fix for pr61275. With the help of Tobias Burnus, who installed the changes necessary to replace deferred_parameter with artificial this patch now completes my latest fix on pr60357. This also means, that the patch for pr60357 is needed for this one to work!

[Patch, Fortran, committed] PR 45290: [F08] pointer initialization

2015-01-16 Thread Janus Weil
Hi all, I have just committed a small left-over patch for this PR as obvious: https://gcc.gnu.org/viewcvs/gcc?view=revisionrevision=219731 Cheers, Janus

[PATCH] Fix PR64614

2015-01-16 Thread Richard Biener
The following fixes PR64614, maybe-uninit warnings in switches and guards like X 3. The support for switches is quite limited (because the predicate infrastructure in the pass is quite limited), but it seems to handle this particular case at least. Bootstrapped and tested on

Re: [PATCH ARM]Prefer neon for stringops on a53/a57 in AArch32 mode

2015-01-16 Thread Ramana Radhakrishnan
On Thu, Nov 13, 2014 at 5:54 AM, Bin Cheng bin.ch...@arm.com wrote: Hi, As commented at https://gcc.gnu.org/ml/gcc-patches/2014-09/msg00684.html, this is a simple patch enabling neon memset inlining on cortex-a53/cortex-a57 in AArch32 mode. Test on

[patch libstdc++] Add POSIX variant of shared_timed_mutex.

2015-01-16 Thread Torvald Riegel
[Resend. Sorry for the noise on gcc@.] This adds a POSIX-based implementation of shared_timed_mutex, using pthread_rwlock_* operations directly instead of implementing with mutexes and two condvars. This enables using an optimized pthread_rwlock_t on POSIX. Tested on x86_64-linux. OK?

Re: [PATCH] Fix PR64614

2015-01-16 Thread Jakub Jelinek
On Fri, Jan 16, 2015 at 02:02:37PM +0100, Richard Biener wrote: The following fixes PR64614, maybe-uninit warnings in switches and guards like X 3. The support for switches is quite limited (because the predicate infrastructure in the pass is quite limited), but it seems to handle this

Re: [patch libstdc++] Add POSIX variant of shared_timed_mutex.

2015-01-16 Thread Jonathan Wakely
On 16/01/15 14:12 +0100, Torvald Riegel wrote: [Resend. Sorry for the noise on gcc@.] This adds a POSIX-based implementation of shared_timed_mutex, using pthread_rwlock_* operations directly instead of implementing with mutexes and two condvars. This enables using an optimized

[PATCH] Fix PR64568 for real

2015-01-16 Thread Richard Biener
Bootstrapped and tested on x86_64-unknown-linux-gnu, applied. Richard. 2015-01-16 Richard Biener rguent...@suse.de PR tree-optimization/64568 * tree-ssa-forwprop.c (pass_forwprop::execute): Guard complex load rewriting for TARGET_MEM_REFs. *

Re: [PATCH] Fix PR64614

2015-01-16 Thread Richard Biener
On Fri, 16 Jan 2015, Jakub Jelinek wrote: On Fri, Jan 16, 2015 at 02:02:37PM +0100, Richard Biener wrote: The following fixes PR64614, maybe-uninit warnings in switches and guards like X 3. The support for switches is quite limited (because the predicate infrastructure in the pass

Re: [COMMITTED] Merge libffi with upstream

2015-01-16 Thread Rainer Orth
Rainer Orth r...@cebitec.uni-bielefeld.de writes: Richard Henderson r...@redhat.com writes: Upstream libffi has added support for Go closures (using the static chain), and support for complex numbers. Perhaps less relevant is new support for arc, microblaze, moxie, nios, and or1k targets.

Re: [COMMITTED] Merge libffi with upstream

2015-01-16 Thread Jakub Jelinek
On Fri, Jan 16, 2015 at 02:31:25PM +0100, Rainer Orth wrote: * testsuite/lib/libffi.exp: Load target-supports.exp. (run-many-tests): Only set targetabis for 32-bit x86. diff --git a/libffi/testsuite/lib/libffi.exp b/libffi/testsuite/lib/libffi.exp ---

Re: [COMMITTED] Merge libffi with upstream

2015-01-16 Thread Rainer Orth
Jakub Jelinek ja...@redhat.com writes: @@ -311,7 +312,8 @@ proc run-many-tests { testcases extra_fl set targetabis { } if [string match $compiler_vendor gnu] { -if [istarget i?86-*-*] { +if { ([istarget i?86-*-*] || [istarget x86_64-*-*]) +

Re: [[ARM/AArch64][testsuite] 01/36] Add explicit dependency on Neon Cumulative Saturation flag (QC).

2015-01-16 Thread Tejas Belagod
On 13/01/15 15:17, Christophe Lyon wrote: __set_neon_cumulative_sat() modifies the contents on the QC flag, and some intrinsics do so too: this patch adds the explicit dependency on the asm statement, to avoid code reordering or removal. When writing QC, the asm statement now has a fake input

Re: [[ARM/AArch64][testsuite] 02/36] Be more verbose, and actually confirm that a test was checked.

2015-01-16 Thread Tejas Belagod
On 13/01/15 15:18, Christophe Lyon wrote: * gcc.target/aarch64/advsimd-intrinsics/arm-neon-ref.h (CHECK): Add trace. (CHECK_FP): Likewise. (CHECK_CUMULATIVE_SAT): Likewise. diff --git a/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/arm-neon-ref.h

Re: [COMMITTED] Merge libffi with upstream

2015-01-16 Thread H.J. Lu
On Fri, Jan 16, 2015 at 5:38 AM, Rainer Orth r...@cebitec.uni-bielefeld.de wrote: Jakub Jelinek ja...@redhat.com writes: @@ -311,7 +312,8 @@ proc run-many-tests { testcases extra_fl set targetabis { } if [string match $compiler_vendor gnu] { -if [istarget i?86-*-*] { +

[PATCH, Aarch64] Add FMA steering pass for Cortex-A57

2015-01-16 Thread Thomas Preud'homme
Hi all, Quoting the patch: For better performance, the destination of FMADD/FMSUB instructions should have the same parity as their accumulator register if the accumulator contains the result of a previous FMUL or FMADD/FMSUB instruction if targeting Cortex-A57 processors. Performance is also

Re: [PATCH][ARM] Make issue rate part of per-core tuning structs

2015-01-16 Thread Kyrill Tkachov
Hi, This is a ping and a question. Now that the xgene1 support has gone in, is it ok if I update this patch to include the xgene tuning struct? Will it still be acceptable for GCC5? Thanks, Kyrill On 09/01/15 11:32, Kyrill Tkachov wrote: Ping. Thanks, Kyrill On 12/12/14 13:57, Kyrill

Re: [PATCH][AArch64] Fix PR 64263: Do not try to split constants when destination is SIMD reg

2015-01-16 Thread Kyrill Tkachov
Ping. Thanks, Kyrill On 09/01/15 11:32, Kyrill Tkachov wrote: Ping. https://gcc.gnu.org/ml/gcc-patches/2014-12/msg01116.html Thanks, Kyrill On 12/12/14 15:33, Kyrill Tkachov wrote: Hi all, Since the movsi_aarch64 and movdi_aarch64 patterns became splitters we want to make sure that the

Re: [patch libstdc++] Add POSIX variant of shared_timed_mutex.

2015-01-16 Thread Paolo Carlini
Hi, On 01/16/2015 02:18 PM, Jonathan Wakely wrote: +#if defined(__GTHREADS_CXX0X) N.B. I advised Torvald that this macro was OK to check that we have pthread_rwlock_t available. It's not strictly correct, but currently only gthr-posix.h defines __GTHREADS_CXX0X so it works in practice. We

RE: [PATCH, Aarch64] Add FMA steering pass for Cortex-A57

2015-01-16 Thread Thomas Preud'homme
From: gcc-patches-ow...@gcc.gnu.org [mailto:gcc-patches- ow...@gcc.gnu.org] On Behalf Of Thomas Preud'homme ChangeLog entry is as follow: gcc/ChangeLog 2015-01-14 Thomas Preud'homme thomas.preudho...@arm.com * config.gcc: Add fma_steering.o to extra_objs for aarch64-*-*. *

Re: [PATCH][ARM] Make issue rate part of per-core tuning structs

2015-01-16 Thread Richard Earnshaw
On 16/01/15 13:46, Kyrill Tkachov wrote: Hi, This is a ping and a question. Now that the xgene1 support has gone in, is it ok if I update this patch to include the xgene tuning struct? Will it still be acceptable for GCC5? In principle, that should be OK. It's just work to make the

Re: [[ARM/AArch64][testsuite] 03/36] Add vmax, vmin, vhadd, vhsub and vrhadd tests.

2015-01-16 Thread Tejas Belagod
+#ifndef NO_FLOAT_VARIANT + VLOAD(vector, buffer, , float, f, 32, 2); + VLOAD(vector, buffer, q, float, f, 32, 4); +#endif +#ifndef NO_FLOAT_VARIANT + VDUP(vector2, , float, f, 32, 2, -15.5f); + VDUP(vector2, q, float, f, 32, 4, -14.5f); +#endif + +#ifndef NO_FLOAT_VARIANT +#define

Re: [RFC, PATCH][LRA, MIPS] ICE: in decompose_normal_address, at rtlanal.c:5817

2015-01-16 Thread Markus Trippelsdorf
On 2015.01.14 at 17:10 +, Robert Suchanek wrote: Here is the revised patch that would handle the other cases as per Richard's comments. I slightly modified Matthew's proposed patch and used split_const instead of get_related_value. AFAICS, the canonical form would always have the 'plus'

Re: [RFC, PATCH][LRA, MIPS] ICE: in decompose_normal_address, at rtlanal.c:5817

2015-01-16 Thread Markus Trippelsdorf
On 2015.01.16 at 14:56 +0100, Markus Trippelsdorf wrote: On 2015.01.14 at 17:10 +, Robert Suchanek wrote: + u = v; + r = b | a[4]; + return e; + There is a missing } in the testcase. Fixed in r219740 as obvious. -- Markus

Re: [[ARM/AArch64][testsuite] 04/36] Add vld1_lane tests.

2015-01-16 Thread Tejas Belagod
On 13/01/15 15:18, Christophe Lyon wrote: * gcc.target/aarch64/advsimd-intrinsics/vld1_lane.c: New file. diff --git a/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vld1_lane.c b/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vld1_lane.c new file mode 100644 index

Re: [PATCH][AArch64] Fix PR 64263: Do not try to split constants when destination is SIMD reg

2015-01-16 Thread Marcus Shawcroft
On 12 December 2014 at 15:33, Kyrill Tkachov kyrylo.tkac...@arm.com wrote: 2014-12-11 Kyrylo Tkachov kyrylo.tkac...@arm.com Ramana Radhakrishnan ramana.radhakrish...@arm.com PR target/64263 * config/aarch64/aarch64.md (*movsi_aarch64): Don't split if the

RE: [RFC, PATCH][LRA, MIPS] ICE: in decompose_normal_address, at rtlanal.c:5817

2015-01-16 Thread Matthew Fortune
On 2015.01.16 at 14:56 +0100, Markus Trippelsdorf wrote: On 2015.01.14 at 17:10 +, Robert Suchanek wrote: + u = v; + r = b | a[4]; + return e; + There is a missing } in the testcase. Fixed in r219740 as obvious. Thanks Markus. Sorry about that, I must have broken it

Re: Merge current set of OpenACC changes from gomp-4_0-branch

2015-01-16 Thread Gerald Pfeifer
Once I work around the previous failure, I quickly get another one on FreeBSD 8.4/amd64: /scratch/tmp/gerald/gcc-HEAD/libgomp/target.c:67:12: error: \xe2\x80\x98num_devices\xe2\x80\x99 defined but not used [-Werror=unused-variable] static int num_devices; ^ This one did not

Re: Merge current set of OpenACC changes from gomp-4_0-branch

2015-01-16 Thread Jakub Jelinek
On Thu, Jan 15, 2015 at 09:20:07PM +0100, Thomas Schwinge wrote: * builtin-types.def (BT_FN_VOID_INT_INT_VAR) (BT_FN_VOID_INT_PTR_SIZE_PTR_PTR_PTR_INT_INT_VAR) (BT_FN_VOID_INT_OMPFN_PTR_SIZE_PTR_PTR_PTR_INT_INT_INT_INT_INT_VAR): New function types. This broke bootstrap

[patch] Define std::codecvtchar16_t,... and std::codecvtchar32_t,...

2015-01-16 Thread Jonathan Wakely
This adds the two codecvt specializations added by C++11 for UTF-8 conversions. The functions in src/c++11/codecvt.cc are also needed for the other new facets such as codecvt_utf8, which I'm still working on. I had hoped to implement all these facts with iconv, but it's pretty hard to do for

[PATCH] IPA ICF: add no_icf attribute for a function

2015-01-16 Thread Martin Liška
Hello. This patch adds support for __attribute__((no_icf)) that prevents a function being merged with a different one. Tested on x86_64-linux-pc. Ready for trunk? Thanks, Martin From 234fc8018f9810e2adf6d975d6d0051631ef8c02 Mon Sep 17 00:00:00 2001 From: mliska mli...@suse.cz Date: Fri, 16 Jan

Re: [AArch64] Add a new scheduling description for the ARM Cortex-A57 processor

2015-01-16 Thread James Greenhalgh
On Fri, Jan 16, 2015 at 10:20:40AM +, Marcus Shawcroft wrote: On 15 January 2015 at 09:50, James Greenhalgh james.greenha...@arm.com wrote: 2015-01-15 James Greenhalgh james.greenha...@arm.com * config/arm/cortex-a57.md: New. * config/aarch64/aarch64.md: Include

Re: [PATCH 7/8] Model cache auto-prefetcher in scheduler

2015-01-16 Thread Maxim Kuvyrkov
On Nov 19, 2014, at 12:27 PM, Ramana Radhakrishnan ramana.radhakrish...@arm.com wrote: Hi Ramana, Hi Vladimir, I still don't have SPEC2000/SPEC2006 benchmark numbers for this patch. Since stage3 is about to finish, I'm going to commit the target independent part of the patch now (it was

Re: [PATCH 7/8] Model cache auto-prefetcher in scheduler

2015-01-16 Thread Ramana Radhakrishnan
On Fri, Jan 16, 2015 at 3:06 PM, Maxim Kuvyrkov maxim.kuvyr...@linaro.org wrote: On Nov 19, 2014, at 12:27 PM, Ramana Radhakrishnan ramana.radhakrish...@arm.com wrote: Hi Ramana, Hi Vladimir, I still don't have SPEC2000/SPEC2006 benchmark numbers for this patch. Since stage3 is about

RE: [PATCH] Fix for PR64081 in RTL loop unroller

2015-01-16 Thread Zamyatin, Igor
Not sure it's possible to merge DF_REG_DEF_CHAIN walk and DF_REF_CHAIN walk... OK. Just use the same overall structure if we can't pull the test out into a single function that could be called from both places. Thanks, is updated patch ok for trunk? Igor Changelog: gcc 2015-01-16

Re: [[ARM/AArch64][testsuite] 05/36] Add vldX_dup test.

2015-01-16 Thread Tejas Belagod
On 13/01/15 15:18, Christophe Lyon wrote: * gcc.target/aarch64/advsimd-intrinsics/vldX_dup.c: New file. diff --git a/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vldX_dup.c b/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vldX_dup.c new file mode 100644 index

Re: [AArch64] Add a new scheduling description for the ARM Cortex-A57 processor

2015-01-16 Thread Ramana Radhakrishnan
On Fri, Jan 16, 2015 at 3:06 PM, James Greenhalgh james.greenha...@arm.com wrote: On Fri, Jan 16, 2015 at 10:20:40AM +, Marcus Shawcroft wrote: On 15 January 2015 at 09:50, James Greenhalgh james.greenha...@arm.com wrote: 2015-01-15 James Greenhalgh james.greenha...@arm.com

Re: Merge current set of OpenACC changes from gomp-4_0-branch

2015-01-16 Thread David Malcolm
On Fri, 2015-01-16 at 15:39 +0100, Jakub Jelinek wrote: On Thu, Jan 15, 2015 at 09:20:07PM +0100, Thomas Schwinge wrote: * builtin-types.def (BT_FN_VOID_INT_INT_VAR) (BT_FN_VOID_INT_PTR_SIZE_PTR_PTR_PTR_INT_INT_VAR)

Re: [[ARM/AArch64][testsuite] 06/36] Add vmla and vmls tests.

2015-01-16 Thread Tejas Belagod
+VECT_VAR_DECL(expected,poly,8,16) [] = { 0x33, 0x33, 0x33, 0x33, +0x33, 0x33, 0x33, 0x33, +0x33, 0x33, 0x33, 0x33, +0x33, 0x33, 0x33, 0x33 }; +VECT_VAR_DECL(expected,poly,16,8)

Re: [[ARM/AArch64][testsuite] 07/36] Add vmla_lane and vmls_lane tests.

2015-01-16 Thread Tejas Belagod
+VECT_VAR_DECL(expected,poly,8,16) [] = { 0x33, 0x33, 0x33, 0x33, +0x33, 0x33, 0x33, 0x33, +0x33, 0x33, 0x33, 0x33, +0x33, 0x33, 0x33, 0x33 }; +VECT_VAR_DECL(expected,poly,16,8)

Re: [PATCH] Fix for PR64353

2015-01-16 Thread Ilya Enkovich
On 16 Jan 12:38, Richard Biener wrote: On Fri, Jan 16, 2015 at 11:51 AM, Ilya Enkovich enkovich@gmail.com wrote: On 14 Jan 19:40, Richard Biener wrote: On January 14, 2015 5:23:21 PM CET, Ilya Enkovich enkovich@gmail.com wrote: On 14 Jan 15:35, Richard Biener wrote: On Wed,

Re: [RFC] POWER8 default for PPC64LE

2015-01-16 Thread Bill Schmidt
Hi David, Something's not quite right here -- we've been having bootstrap failures with BE and LE PPC64 Linux. Maybe a missing include? g++ -c -g -DIN_GCC-fno-exceptions -fno-rtti -fasynchronous-unwind-tables - W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format

  1   2   3   4   5   >