Re: [PATCH, libgomp] Rewire OpenACC async

2015-12-05 Thread Chung-Lin Tang
On 2015/12/1 08:01 PM, Julian Brown wrote: > On Tue, 24 Nov 2015 18:27:24 +0800 > Chung-Lin Tang wrote: > >> Hi, this patch reworks some of the way that asynchronous copyouts are >> implemented for OpenACC in libgomp. >> >> Before this patch, we had a somewhat confusing way of implementing >> thi

Re: [PATCH, C++] Wrap OpenACC wait in EXPR_STMT

2015-12-05 Thread Chung-Lin Tang
On 2015/12/3 06:32 PM, Chung-Lin Tang wrote: > On 2015/12/3 6:11 PM, Jakub Jelinek wrote: >> On Thu, Dec 03, 2015 at 06:05:36PM +0800, Chung-Lin Tang wrote: Oh wait, it looks like the C++ front end is not actually using the functions defined in the C/C++-shared gcc/c-family/c-omp.c, but h

RE: [PR68001, CilkPlus] Fix for PR68001

2015-12-05 Thread Zamyatin, Igor
> > > > > FAIL: obj-c++.dg/property/dotsyntax-11.mm -fgnu-runtime (test for > > errors, line 51) > > FAIL: obj-c++.dg/property/dotsyntax-11.mm -fgnu-runtime (test for > > errors, line 56) > > FAIL: obj-c++.dg/property/dotsyntax-11.mm -fgnu-runtime (test for > > errors, line 59) > > > > Andreas.

[PATCH 2/6] [DJGPP] libgcc: Add djgpp to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.

2015-12-05 Thread Andris Pavenis
Included patch adds *-*-msdosdjgpp to lists of i[34567]86-*-* soft-fp targets. Andris PS. Sending from different address as posts from other address seems not to go through 2015-12-05 Andris Pavenis * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-* soft-fp targets >From 9e5259eab

[PATCH 3/6] [DJGPP] libbacktrace/configure.ac: specify that DJGPP do not have mmap()

2015-12-05 Thread Andris Pavenis
Patch specifies that DJGPP do not have mmap() even when sys/mman.h is available. libbacktrace is perhaps currently unusable for DJGPP but otherwise mmap() usability misdetection breaks cross-compiler build for DJGPP target (for example Linux hosted cross-compiler) Andris 2015-12-05 Andris Pave

[PATCH 4/6] [DJGPP] config/i386/djgpp: Update definitions of signed types

2015-12-05 Thread Andris Pavenis
Included patch updates typedefs of integer types in config/i386/djgpp-stdint.h. Patch is similar but not identical as attached to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41557 Andris 2015-12-05 Andris Pavenis * config/i386/djgpp-stdint.h: update typedefs for integer types >From 3533f7a8

[PATCH 5/6] [DJGPP] gcc/config/i386: update DJGPP configuration related files

2015-12-05 Thread Andris Pavenis
Patch include updates to DJGPP related files in gcc/config/i386. There are too many changes to gcc/config/i386/djgpp.h and gcc/config/i386/xm-djgpp.h to list them completely in changelog entry. Andris 2015-11-25 Andris Pavenis Subject: [PATCH 6/6] [DJGPP] gcc/config/i386: update DJGPP configu

[PATCH 6/6] [DJGPP] configure.ac: enable LTO

2015-12-05 Thread Andris Pavenis
Patch enables LTO support for DJGPP in top level configure.ac Andris 2015-12-05 Andris Pavenis * configure.ac: enable LTO for *-*-msdosdjgpp >From 9df385353dd1f6c275e0ce9266ab4bbb3a80cd44 Mon Sep 17 00:00:00 2001 From: Andris Pavenis Date: Sat, 14 Nov 2015 20:38:32 +0200 Subject: [PATCH 6/6]

Re: [Patch, fortran] PR68534 - No error on mismatch in number of arguments between submodule and module interface

2015-12-05 Thread Paul Richard Thomas
Committed revision as 231319. Thanks for testing the patch. Paul On 5 December 2015 at 17:41, Steve Kargl wrote: > On Sat, Dec 05, 2015 at 04:20:54PM +0100, Paul Richard Thomas wrote: >> >> The cause of the segfault, I believe, was an error: 'sym' being used >> instead of 'progname': Could you

[PATCH] Fix libgfortran build on hppa64-hp-hpux11.11

2015-12-05 Thread John David Anglin
The use of libbacktrace in libgfortran exposed a libgfortran build issue on hppa64-hp-hpux11.11. This target doesn't have any __sync builtins, so we need to set libbacktrace_cv_sys_sync to no when with_target_subdir is set and configure tests are not done. This exposed a compilation issue in elf

Re: [PATCH 1/6] [DJGPP] libstdc++-v3/config/os/djgpp/error_constants.h: Update according to errno codes available for DJGPP

2015-12-05 Thread Andris Pavenis
On 12/05/2015 06:35 PM, Andris Pavenis wrote: Included patch updates libstdc++-v3/config/os/djgpp/error_constants.h according to defines available in DJGPP errno.h. I'm reposting a patch as earlier post (Nov 15, 2015) have bug in changelog entry Andris 2015-12-05 Andris Pavenis * config/os/d

Re: [PATCH] RFC: Use Levenshtein spelling suggestions in Fortran FE

2015-12-05 Thread Mikael Morin
Hello, to get things moving again, a few comments on top of David Malcolm's: Le 01/12/2015 13:55, Bernhard Reutner-Fischer a écrit : David Malcolm nice Levenshtein distance spelling check helpers were used in some parts of other frontends. This proposed patch adds some spelling corrections to

Re: RFC: Merge the GUPC branch into the GCC 6.0 trunk

2015-12-05 Thread Gary Funck
On 12/02/15 10:40:50, Richard Biener wrote: > On Tue, 1 Dec 2015, Gary Funck wrote: > > The main change recommended to reduce tree space was moving the > > "layout factor" (blocking factor) out of the tree node, and using > > only two bits there, one bit for a relatively common case of 0, > > and t

[PATCH] c++/68711 - [5 regression] SEGV on an invalid offsetof of a member of a virtual base

2015-12-05 Thread Martin Sebor
The attached patch restores the "invalid access to non-static data member" error for invalid offsetof-like expressions involving members of virtually derived base classes that was inadvertently made ineffective as a result of the merge of the C++ delayed folding branch. Martin gcc/testsuite/Chang

[PATCH,committed] PR fortran/50201 -- quadmath_snprintf isn't weak

2015-12-05 Thread Steve Kargl
Committed to trunk and 5-bracnh after testing. 2015-12-05 Juoko Orava PR fortran/50201 * io/write_float.def: Avoid marking quadmath_snprintf as an untyped weak reference, which fixing linking with -static. -- Steve Index: libgfortran/io/write_float.def

Re: [UPC 07/22] lowering, pointer-to-shared ops

2015-12-05 Thread Gary Funck
On 12/01/15 12:42:48, Richard Biener wrote: > On Mon, 30 Nov 2015, Gary Funck wrote: > [...] > > + get_lc_mode_name (mname, (op_mode)); > > + sprintf (libfunc_name, "__get%s%s%s%s", > > + strict_mode ? "s" : "", > > + doprofcall ? "g" : "", > > + mname, > > + (op_mod

Re: [UPC 07/22] lowering, pointer-to-shared ops

2015-12-05 Thread Gary Funck
On 12/01/15 12:42:48, Richard Biener wrote: > On Mon, 30 Nov 2015, Gary Funck wrote: > [...] > > + if (bitpos) > > +{ > > + t_offset = size_int (bitpos / BITS_PER_UNIT); > > + if (offset) > > + t_offset = fold (build_binary_op (loc, PLUS_EXPR, > > + offset,

Re: [UPC 14/22] constant folding changes

2015-12-05 Thread Gary Funck
On 12/01/15 12:46:01, Richard Biener wrote: > On Mon, 30 Nov 2015, Gary Funck wrote: > > UPC pointers-to-shared (aka shared pointers) are not interchangeable > > with integers as they are in regular "C". Therefore, additions > > and subtraction operations which involve UPC shared pointers > > shou

Re: [UPC 02/22] tree-related changes

2015-12-05 Thread Gary Funck
On 12/03/15 12:07:35, Richard Biener wrote: > On Wed, 2 Dec 2015, Gary Funck wrote: > > OK. As I mentioned in a previous reply, originally we prefixed > > all "UPC" specific tree node fields and functions with UPC_ or upc_, > > but as we transitioned away from UPC as a separate language > > (ala Ob

Fix ipa-icf.c segfault

2015-12-05 Thread Jan Hubicka
Hi, this patch fixes segfault that crept into my prevoius patch. Bootstrapped/regtested x86_64-linux, comitted. Honza * ipa-icf.c (sem_function::merge): Check that local_original exists. Index: ipa-icf.c === --- ipa-icf.c

Re: RFC: Merge the GUPC branch into the GCC 6.0 trunk

2015-12-05 Thread Richard Biener
On December 5, 2015 11:57:27 PM GMT+01:00, Gary Funck wrote: >On 12/02/15 10:40:50, Richard Biener wrote: >> On Tue, 1 Dec 2015, Gary Funck wrote: >> > The main change recommended to reduce tree space was moving the >> > "layout factor" (blocking factor) out of the tree node, and using >> > only t