[PATCH 4/10] OpenACC 2.0 support for libgomp - host plugin

2014-09-23 Thread Julian Brown
This patch was originally by Thomas Schwinge and was posted here: https://gcc.gnu.org/ml/gcc-patches/2014-02/msg01172.html It implements a plugin for host execution that can be used for testing non-shared-memory semantics on a "virtual" target device. It's merged with a minor follow-up patch, a

[PATCH 3/10] OpenACC 2.0 support for libgomp - Don't update copy_from for existing mappings

2014-09-23 Thread Julian Brown
This patch is by Ilya Verbin and was originally posted here: https://gcc.gnu.org/ml/gcc-patches/2014-02/msg01011.html This is a fix for OpenMP semantics re: mapping of memory for a target device. Julian -xx-xx Ilya Verbin * target.c (gomp_map_vars_existing): Don't update copy_f

[PATCH 6/10] OpenACC 2.0 support for libgomp - Fortran bits

2014-09-23 Thread Julian Brown
This patch is by Thomas Schwinge and Jakub Jelinek, and was originally posted here: https://gcc.gnu.org/ml/gcc-patches/2014-07/msg00656.html It adds some mappings required by the OpenACC implementation for Fortran. Julian -xx-xx Thomas Schwinge Jakub Jelinek * tar

[PATCH 5/10] OpenACC 2.0 support for libgomp - offload image registration

2014-09-23 Thread Julian Brown
This patch is by Ilya Verbin and was originally posted here: https://gcc.gnu.org/ml/gcc-patches/2014-03/msg00591.html It implements a scheme for offloaded target-device code to register itself with the libgomp runtime. Julian -xx-xx Ilya Verbin * libgomp.map (GOMP_4.0.1): New s

[PATCH 8/10] OpenACC 2.0 support for libgomp - temporarily work around missing __builtin_acc_on_device

2014-09-23 Thread Julian Brown
The patches implementing __builtin_acc_on_device are still in processing. For the time being this patch removes the dependency on that builtin in the OpenACC runtime. Julian -xx-xx Julian Brown libgomp/ * oacc-init.c (acc_on_device): Temporarily hard-code for host

Re: [PATCH, testsuite]: PR 58757: Check for FP denormal values without triggering denormal exceptions

2014-09-23 Thread Joseph S. Myers
On Tue, 23 Sep 2014, Uros Bizjak wrote: > On Tue, Sep 23, 2014 at 7:57 PM, Joseph S. Myers > wrote: > > >> Attached patch avoids triggering denormal exceptions when FP insns are > >> used to check for non-zero denormal values. > > > > But I thought the point of the test was to verify that the co

[PATCH 9/10] OpenACC 2.0 support for libgomp - outline documentation

2014-09-23 Thread Julian Brown
This patch provides some documentation for the new OpenACC bits in libgomp. Julian -xx-xx Thomas Schwinge James Norris libgomp/ * libgomp.texi: Outline documentation for OpenACC. commit c1b3a366e95ff50d8f30fb0e942c0c25a51108c7 Author: Julian Brown Date: Mo

[jit] Update TODO.rst

2014-09-23 Thread David Malcolm
Committed to branch dmalcolm/jit: gcc/jit/ChangeLog.jit: * TODO.rst: Rename "Initial Release" section to "API", and remove completed items: builtins, docs, pkgconfig file, fuzz testing. Move ability to name contexts and stmt_list per block ideas to a new "Nice to h

Re: [PATCH] Add D demangling support to libiberty

2014-09-23 Thread Ian Lance Taylor
On Fri, Sep 19, 2014 at 12:51 AM, Iain Buclaw wrote: > On 4 August 2014 16:52, Ian Lance Taylor wrote: >> On Sun, Aug 3, 2014 at 11:12 AM, Iain Buclaw wrote: >>> >>> - I haven't signed any copyright assignments to GCC. But I have >>> papers from Donald ready to send across. >> >> Definitely nec

Re: [PATCH, testsuite]: PR 58757: Check for FP denormal values without triggering denormal exceptions

2014-09-23 Thread Marc Glisse
On Tue, 23 Sep 2014, Joseph S. Myers wrote: On Tue, 23 Sep 2014, Uros Bizjak wrote: On Tue, Sep 23, 2014 at 7:57 PM, Joseph S. Myers wrote: Attached patch avoids triggering denormal exceptions when FP insns are used to check for non-zero denormal values. But I thought the point of the tes

Re: __intN patch 3/5: main __int128 -> __intN conversion.

2014-09-23 Thread Jonathan Wakely
On 25/08/14 23:03 -0400, DJ Delorie wrote: I'd like to see the updated version of the whole of patch 3 (tested to be actually independent of the other patches) for review, though I won't be reviewing the C++ parts. Here it is. Tested on x86_64. I include the msp430-modes.def patch for demon

Re: [patch] moving macro definitions to defaults.h

2014-09-23 Thread Andrew MacLeod
On 09/22/2014 01:02 PM, Joseph S. Myers wrote: On Mon, 22 Sep 2014, Andrew MacLeod wrote: Josephs solution was to identify these and instead put a default definition in default.h ... then change all the uses to #if instead.. ie, #if BLAH This way we can ensure that the definition has been see

[PATCH] Fix compile time warning caused by PIC_OFFSET_TABLE_REGNUM

2014-09-23 Thread Jiong Wang
PIC_OFFSET_TABLE_REGNUM is default to be INVALID_NUM, we need to make sure it's not used as unsigned type register index, otherwise there will be array index out of bound warning which will be treated as error. the code in shrink-wrap.c is not guarded by this check which will cause trouble for a

[jit] Add shift operators

2014-09-23 Thread David Malcolm
Committed to branch dmalcolm/jit: With this commit, jit.sum has: # of expected passes4600 gcc/jit/ChangeLog.jit: * TODO.rst (API): Shift operators are done. * docs/topics/expressions.rst (Binary): Add shift operators. * internal-api.c (binary_op_strings

Re: [PATCH, Pointer Bounds Checker 22/x] Inline

2014-09-23 Thread Jeff Law
On 08/18/14 09:35, Ilya Enkovich wrote: Here is an updated version. Thanks, Ilya -- 2014-08-15 Ilya Enkovich * ipa-inline.c (early_inliner): Check edge has summary allocated. * tree-inline.c: Include tree-chkp.h. (declare_return_variable): Add arg holding retu

Re: [patch] libstdc++/29988 Rb_Tree reuse allocated nodes

2014-09-23 Thread François Dumont
On 23/09/2014 13:22, Jonathan Wakely wrote: On 22/09/14 23:51 +0200, François Dumont wrote: New patch in a couple of day then. OK, thanks. It was faster than I though, here is the fixed patch tested under Linux x86_64. 2014-09-23 François Dumont PR libstdc++/29988 * include/bit

Re: [Bug libstdc++/62313] Data race in debug iterators

2014-09-23 Thread François Dumont
On 22/09/2014 00:04, Jonathan Wakely wrote: On 10/09/14 22:55 +0200, François Dumont wrote: Hi Here is a proposal to fix this data race issue. I finally generalized bitset approach to fix it by inheriting from the normal iterator first and then the _Safe_iterator_base type. None of the

Re: [Bug libstdc++/62313] Data race in debug iterators

2014-09-23 Thread Marek Polacek
On Tue, Sep 23, 2014 at 10:42:31PM +0200, François Dumont wrote: > No I hadn't and try since but without success. When I build with > -fsanitize=thread the produced binary just segfault at startup. It > complained about using -fPIE at compilation time and -lpie at link time but > even with those op

Re: [C/C++ PATCH] Handle enum bit-fields for -Wswitch (PR c/61405, PR c/53874)

2014-09-23 Thread Jason Merrill
OK. Jason

Re: [PATCH, Pointer Bounds Checker 19/x] Support bounds in expand

2014-09-23 Thread Jeff Law
On 06/05/14 08:46, Ilya Enkovich wrote: 2014-06-05 Ilya Enkovich * calls.c: Include tree-chkp.h, rtl-chkp.h, bitmap.h. (arg_data): Add fields special_slot, pointer_arg and pointer_offset. (store_bounds): New. (emit_call_1): Propagate instrumentation fla

Re: [PATCH] Fix compile time warning caused by PIC_OFFSET_TABLE_REGNUM

2014-09-23 Thread Jeff Law
On 09/23/14 13:15, Jiong Wang wrote: PIC_OFFSET_TABLE_REGNUM is default to be INVALID_NUM, we need to make sure it's not used as unsigned type register index, otherwise there will be array index out of bound warning which will be treated as error. the code in shrink-wrap.c is not guarded by this

Re: [PATCH, AArch64] Enable shrink wrap

2014-09-23 Thread Sebastian Pop
Marcus Shawcroft wrote: > On 4 September 2014 15:14, Jiong Wang wrote: > > this patch enabled stack shrink-wrap support on AArch64. > > > > no regression on aarch64-none-elf bare-metal. > > aarch64 bootstrap OK. > > > > ok to install? > > > > 2014-09-04 Renlin Li > > > > gcc/ > > * config/aarch6

Re: [PATCH]Add aarch64 to list of targets that support gold

2014-09-23 Thread Jing Yu
Hi Config-maintainers, Is this patch ok for trunk? Thanks! Jing On Thu, Sep 18, 2014 at 4:05 PM, Jing Yu wrote: > Hi, > > This patch changes top level configure to add aarch64 to list of > targets that support gold. Have tested binutils with this patch on > x86_64 and aarch64 platforms. > OK fo

Re: [PATCH] PR63300 'const volatile' sometimes stripped in debug info.

2014-09-23 Thread Jason Merrill
On 09/23/2014 08:17 AM, Andreas Arnez wrote: Without such handling there are cases where more DIEs than necessary are created, e.g. if we have the following types: some_base_t *const some_base_t *volatile restrict some_base_t *const volatile restrict Then the latter is based on the first instea

Re: Profile mode maintenance patch

2014-09-23 Thread François Dumont
On 23/09/2014 13:27, Jonathan Wakely wrote: On 21/09/14 23:29 +0200, François Dumont wrote: With all those modifications I have been able to run all testsuite in profile mode with success. I've looked over the patch and it looks fine. I don't know the details of the Profile Mode, so if you

Re: [RFA 1/2]: Don't ignore target_header_dir when deciding inhibit_libc

2014-09-23 Thread Thomas Schwinge
Hi! On Thu, 4 Sep 2014 23:40:40 +0200, Hans-Peter Nilsson wrote: > The directory at $target_header_dir is [...] > gcc: > * configure.ac (target_header_dir): Move block defining > this to before the block setting inhibit_libc. > (inhibit_libc): When considering $with_headers, j

Re: [patch] moving macro definitions to defaults.h

2014-09-23 Thread Joseph S. Myers
On Tue, 23 Sep 2014, Andrew MacLeod wrote: > if() and target hooks arent exactly easy either.. Indeed - but I think the modularity goal is for the vast bulk of target macros to become hooks (not necessarily a one-to-one conversion, in some cases the right representation of the semantics may nee

Re: [PATCH, Pointer Bounds Checker 20/x] Follow transparent alias chains

2014-09-23 Thread Jeff Law
On 09/15/14 01:14, Ilya Enkovich wrote: Ping 2014-06-03 13:01 GMT+04:00 Richard Biener : On Mon, Jun 2, 2014 at 5:15 PM, Ilya Enkovich wrote: Hi, In the most case we follow transparent alias chains wne assemble names. But in some cases it is not performed. For instrumented functions it is

Re: [PATCH, AArch64] Enable shrink wrap

2014-09-23 Thread Jiong Wang
2014-09-23 21:59 GMT+01:00 Sebastian Pop : > Marcus Shawcroft wrote: >> On 4 September 2014 15:14, Jiong Wang wrote: >> > this patch enabled stack shrink-wrap support on AArch64. >> > >> > no regression on aarch64-none-elf bare-metal. >> > aarch64 bootstrap OK. >> > >> > ok to install? >> > >> > 2

Re: [PATCH, AArch64] Enable shrink wrap

2014-09-23 Thread Andrew Pinski
On Tue, Sep 23, 2014 at 2:51 PM, Jiong Wang wrote: > 2014-09-23 21:59 GMT+01:00 Sebastian Pop : >> Marcus Shawcroft wrote: >>> On 4 September 2014 15:14, Jiong Wang wrote: >>> > this patch enabled stack shrink-wrap support on AArch64. >>> > >>> > no regression on aarch64-none-elf bare-metal. >>>

[wwwdocs] Fix up the latest announcement a bit

2014-09-23 Thread Gerald Pfeifer
...specifically the name of Balaji V. Iyer. Applied. Gerald Index: index.html === RCS file: /cvs/gcc/wwwdocs/htdocs/index.html,v retrieving revision 1.937 diff -u -r1.937 index.html --- index.html 15 Sep 2014 12:24:15 - 1.

[gomp4] OpenACC wait directive

2014-09-23 Thread Cesar Philippidis
This patch adds support for the async clause in the wait directive in fortran. It should be pretty straight forward. The fortran FE already supports the wait directive, but the async clause was introduced to the wait directive in OpenACC 2.0 and that was missing in gomp-4_0-branch. Is this OK for g

Re: [RFA 1/2]: Don't ignore target_header_dir when deciding inhibit_libc

2014-09-23 Thread Hans-Peter Nilsson
> From: Thomas Schwinge > Date: Tue, 23 Sep 2014 23:21:05 +0200 > Hi! > > On Thu, 4 Sep 2014 23:40:40 +0200, Hans-Peter Nilsson xis.com> wrote: > > The directory at $target_header_dir is [...] > > > gcc: > > * configure.ac (target_header_dir): Move block defining > > this to before the

Re: [wwwdocs] Buildstat update for 4.9

2014-09-23 Thread Gerald Pfeifer
On Monday 2014-09-15 21:08, Tom G. Christensen wrote: > Testresults for 4.9.1: > aarch64-linux-gnu (cross) > arm-unknown-linux-gnu > hppa-unknown-linux-gnu > i686-unknown-linux-gnu > mips-unknown-linux-gnu > mipsel-unknown-linux-gnu > powerpc-unknown-linux-gnu > sparc-unknown-linux-

Re: Profile mode maintenance patch

2014-09-23 Thread Jonathan Wakely
On 23 September 2014 22:19, François Dumont wrote: > On 23/09/2014 13:27, Jonathan Wakely wrote: >> >> On 21/09/14 23:29 +0200, François Dumont wrote: >>> >>>With all those modifications I have been able to run all testsuite in >>> profile mode with success. >> >> >> I've looked over the patch

Re: [PATCH] PR63300 'const volatile' sometimes stripped in debug info.

2014-09-23 Thread Mark Wielaard
On Tue, Sep 23, 2014 at 05:12:12PM -0400, Jason Merrill wrote: > On 09/23/2014 08:17 AM, Andreas Arnez wrote: > >Without such handling there > >are cases where more DIEs than necessary are created, e.g. if we have > >the following types: > > > >some_base_t *const > >some_base_t *volatile restrict >

Re: [PATCH] Merger of the "dmalcolm/jit" branch

2014-09-23 Thread Joseph S. Myers
Various *_finalize functions are missing comments explaining their semantics. Also the return type should be on the line before the function name. Shouldn't the jit.pdf, jit.install-html etc. Make-lang.in hooks actually build / install the documentation for this JIT? > +#include "config.h" >

RE: [PATCH] Fix PR63266: Keep track of impact of sign extension in bswap

2014-09-23 Thread Thomas Preud'homme
Ping? > -Original Message- > From: gcc-patches-ow...@gcc.gnu.org [mailto:gcc-patches- > ow...@gcc.gnu.org] On Behalf Of Thomas Preud'homme > Sent: Tuesday, September 16, 2014 6:25 PM > To: gcc-patches@gcc.gnu.org > Subject: [PATCH] Fix PR63266: Keep track of impact of sign extension in > b

[PATCH, ARM]Option support to new ARM MCU Cortex-M7

2014-09-23 Thread Terry Guo
Hi there, The attached patch intends to provide option support to newly announced core Cortex-M7 and related FPU: http://www.arm.com/about/newsroom/arm-supercharges-mcu-market-with-high-perf ormance-cortex-m7-processor.php http://www.arm.com/products/processors/cortex-m/cortex-m7-processor.php Th

Re: Speedup int_bit_from_pos

2014-09-23 Thread Jan Hubicka
> Jan Hubicka writes: > > +/* Like bit_position, but return as an integer. It must be representable > > in > > + that way (since it could be a signed value, we don't have the > > + option of returning -1 like int_size_in_byte can. */ > > + > > +static inline HOST_WIDE_INT > > +int_bit_posit

Re: std::regex: inserting std::wregex to std::vector loses some std::wregex values

2014-09-23 Thread Tim Shen
On Tue, Sep 16, 2014 at 5:28 PM, Tim Shen wrote: > So I'll change the patch to move _M_traits to _NFA, and add a new > basic_regex::_M_loc member. Here it is :). Bootstrapped and tested with debug flag. > Should the abi compatible fix be another patch for branch 4.9? In > which the move ctor is

Re: [PATCH] Do not remove labels with LABEL_PRESERVE_P

2014-09-23 Thread Ilya Enkovich
2014-09-23 20:06 GMT+04:00 Jeff Law : > On 09/23/14 10:01, Steven Bosscher wrote: >> >> On Fri, Sep 19, 2014 at 10:03 PM, Jeff Law wrote: >>> >>> On 09/19/14 13:36, Ilya Enkovich wrote: Hi, During my work on enabling pseudo PIC register I've found that cfg cleaunp >>>

Re: Enable EBX for x86 in 32bits PIC code

2014-09-23 Thread Ilya Enkovich
2014-09-23 20:10 GMT+04:00 Jeff Law : > On 09/23/14 10:03, Jakub Jelinek wrote: >> >> On Tue, Sep 23, 2014 at 10:00:00AM -0600, Jeff Law wrote: >>> >>> On 09/23/14 08:34, Jakub Jelinek wrote: On Tue, Sep 23, 2014 at 05:54:37PM +0400, Ilya Enkovich wrote: > > use fixed EBX at least

<    1   2