Re: [PATCH] Add anitizer_linux_x86_64.lo if __x86_64__ is defined by $CC

2017-10-04 Thread Jakub Jelinek
On Sat, Sep 30, 2017 at 06:12:39PM -0700, H.J. Lu wrote: > Since size of "void *" is 4 bytes for x32, check if __x86_64__ is defined > by $CC, instead of > > if test x$ac_cv_sizeof_void_p = x8; then > > to decide wether anitizer_linux_x86_64.lo should be used. > > I am testing this on i686 and x

Re: [RFA] [PATCH] Add a warning for invalid function casts

2017-10-04 Thread Eric Gallager
On Tue, Oct 3, 2017 at 3:33 PM, Bernd Edlinger wrote: > Hi! > > I have implemented a warning -Wcast-function-type that analyzes > type casts which change the function signatures. > > I would consider function pointers with different result type > invalid, also if both function types have a non-nul

Re: [PATCH] C++ warning on vexing parse

2017-10-04 Thread Eric Gallager
On Tue, Oct 3, 2017 at 1:08 PM, Nathan Sidwell wrote: > [non-c++ people on CC, there's a reason ...] > > This patch adds a new warning, concerning unnecessary parentheses on a > declaration. For instance: >prettyprinter (pp); > That's a declaration of a pp variable of type prettyprinter -- no

Re: Make tests less istreambuf_iterator implementation dependent

2017-10-04 Thread Jonathan Wakely
On 04/10/17 18:21 +0200, François Dumont wrote: On 03/10/2017 16:20, Jonathan Wakely wrote: Doesn't the modified test PASS anyway, even without changing how _M_c is used? No it doesn't because the first check for eof capture the 'a' char which is never reseted so after string construction it

Re: [PATCH] Improve alloca alignment

2017-10-04 Thread Jeff Law
On 10/04/2017 08:53 AM, Eric Botcazou wrote: >> This seems like a SPARC target problem to me -- essentially it's >> claiming a higher STACK_BOUNDARY than it really has. > > No, it is not, I can guarantee you that the stack pointer is always aligned > to > 64-bit boundaries on SPARC, otherwise al

Re: [PATCH][AArch64] Add BIC-imm and ORR-imm SIMD pattern

2017-10-04 Thread Steve Ellcey
On Wed, 2017-10-04 at 16:41 +0100, Richard Earnshaw (lists) wrote: > On 02/10/17 10:05, Sudi Das wrote: > >  > > 2017-10-02 Sudakshina Das   > > > > * config/aarch64/aarch64-protos.h (enum simd_immediate_check): New > > check type > > for aarch64_simd_valid_immediate. > > (aarch64_out

[PATCH, rs6000] Process deferred rescans between mini-passes

2017-10-04 Thread Bill Schmidt
Hi, The Power8 swap optimization pass contains a mini-pass to replace certain patterns prior to swap optimization proper. In order for this not to distort the dataflow information for swap optimization, we should process all the deferred rescans between the two passes. Currently that is not done

[patch, fortran] Set implicit ASYNCHRONOUS attribute

2017-10-04 Thread Thomas Koenig
Hello world, the attached patch sets the implicit ASYNCHRONPUS according to F2008, 9.6.2.5: # If a variable is used in an asynchronous data transfer statement as # • an item in an input/output list, # • a group object in a namelist, or # • a SIZE= specifier # the base object of the data-ref is i

PING: [libsanitizer, PATCH] Add anitizer_linux_x86_64.lo if __x86_64__ is defined by $CC

2017-10-04 Thread H.J. Lu
On 9/30/17, H.J. Lu wrote: > Since size of "void *" is 4 bytes for x32, check if __x86_64__ is defined > by $CC, instead of > > if test x$ac_cv_sizeof_void_p = x8; then > > to decide wether anitizer_linux_x86_64.lo should be used. > > I am testing this on i686 and x86-64. OK for trunk and GCC 7 b

Re: [PATCH] Improve V?TImode shifts (PR target/82370)

2017-10-04 Thread H.J. Lu
On 10/4/17, Jakub Jelinek wrote: > Hi! > > The following patch tweaks the TImode vector shifts similarly > to the earlier vector shift patch, so that for shifts by immediate > we can accept a memory input. Additionally, it removes the vec_shl_* I prefer 2 patches, a separate patch to drop vec_sh

Re: correct attribute ifunc C++ type safety (PR 82301)

2017-10-04 Thread Martin Sebor
On 09/28/2017 08:25 AM, Nathan Sidwell wrote: On 09/24/2017 06:03 PM, Martin Sebor wrote: r253041 enhanced type checking for alias and ifunc attributes to detect declarations of incompatible aliases, or ifunc resolvers that return pointers to functions of an incompatible type. More extensive te

[PATCH] Remove useless isa attributes from various sse.md patterns

2017-10-04 Thread Jakub Jelinek
Hi! While working on the previous patch, I've noticed we have quite a few seemingly useless isa attributes (first I've noticed isa attribute which had one value for all alternatives, which IMHO should just been done in insn condition instead). fma_avx512f isa is only used on insns that have TARGE

[PATCH] Improve V?TImode shifts (PR target/82370)

2017-10-04 Thread Jakub Jelinek
Hi! The following patch tweaks the TImode vector shifts similarly to the earlier vector shift patch, so that for shifts by immediate we can accept a memory input. Additionally, it removes the vec_shl_* expander, because the middle-end has dropped that a few years ago, and merges the left and righ

[PATCH] Improve AVX512 vector shift patterns (PR target/82370)

2017-10-04 Thread Jakub Jelinek
Hi! EVEX encoded vector shifts by immediate allow memory operand as input. We handle this right for the sra patterns by having 3 distinct define_insns, one TARGET_AVX512VL with masking, where the non-masked insn names start with *, that have (=v,v,v) and (=v,vm,N) alternatives and nonimmediate_ope

Re: Transform (x >> cst) != 0 to x >= (1 << cst) and (x >> cst) == 0 to x < (1 << cst)

2017-10-04 Thread Prathamesh Kulkarni
On 3 October 2017 at 14:10, Jeff Law wrote: > On 10/03/2017 03:00 PM, Marc Glisse wrote: >> On Tue, 3 Oct 2017, Jakub Jelinek wrote: >> >>> On Tue, Oct 03, 2017 at 12:54:39PM -0700, Prathamesh Kulkarni wrote: Hi, This follow-up patch implements the patterns mentioned in $subject. Bo

Re: [PATCH] Add sanopt support for UBSAN_PTR.

2017-10-04 Thread Jakub Jelinek
On Wed, Oct 04, 2017 at 11:05:23AM +0200, Martin Liška wrote: > Following patch adds support for optimizing out unnecessary UBSAN_PTR checks. > It handles separately positive and negative offsets, zero offset is ignored. > Apart from that, we utilize get_inner_reference for local and global > vari

Re: [C++ PATCH] give builtin types consistent name

2017-10-04 Thread Jason Merrill
On Wed, Oct 4, 2017 at 1:52 PM, Nathan Sidwell wrote: > The builtin type machinery is one of the places were we push decls into :: > under not-their-name. > > There's no real reason for this, and the fix is simple -- create a new > TYPE_DECL if we use a name from the ridpointer table. I took the

[C++ PATCH] give builtin types consistent name

2017-10-04 Thread Nathan Sidwell
The builtin type machinery is one of the places were we push decls into :: under not-their-name. There's no real reason for this, and the fix is simple -- create a new TYPE_DECL if we use a name from the ridpointer table. I took the opportunity of reordering record_builtin_type, which was a s

[PATCH] remove some unneeded parens

2017-10-04 Thread Nathan Sidwell
As described in https://gcc.gnu.org/ml/gcc-patches/2017-10/msg00122.html, I found a few places where declarations were excessively parenthesized. These seem to be the uncontroversial cases, so fixing thusly. Applying to trunk. nathan -- Nathan Sidwell 2017-10-04 Nathan Sidwell * toplev.

[C++ PATCH] Move mangling alias out of ::

2017-10-04 Thread Nathan Sidwell
To deal with changes in the ABI that affected manglings, we like pushing decls into :: under their mangled names. This is one of the 3 places we push decls under something not their DECL_NAME, and causes the namespace binding map to not be a simple hash table of DECLs. It also can give rise t

Re: [Patch AArch64] Stop generating BSL for simple integer code

2017-10-04 Thread James Greenhalgh
On Thu, Jul 27, 2017 at 06:49:01PM +0100, James Greenhalgh wrote: > > On Mon, Jun 12, 2017 at 02:44:40PM +0100, James Greenhalgh wrote: > > [Sorry for the re-send. I spotted that the attributes were not right for the > > new pattern I was adding. The change between this and the first version > >

[Committed] S/390: Fix mode in vector merge pattern.

2017-10-04 Thread Andreas Krebbel
vec_unpacks_hi_v4sf/vec_unpacks_lo_v4sf expand vec_mergeh and vec_mergel patterns also for z13 with V4SF modes so the patterns should better accept this. Fixed by changing the mode iterator to V_128_NOSINGLE which accepts V4SF unconditionally. Committed to mainline. gcc/ChangeLog: 2017-10-04 A

Re: Make tests less istreambuf_iterator implementation dependent

2017-10-04 Thread François Dumont
On 03/10/2017 16:20, Jonathan Wakely wrote: On 02/10/17 07:43 +0200, François Dumont wrote: On 28/09/2017 23:56, Jonathan Wakely wrote: On 28/09/17 21:59 +0200, François Dumont wrote: The current istreambuf_iterator implementation capture the current streambuf state each time it is tested fo

Re: [C++ PATCH] Fix comment

2017-10-04 Thread Nathan Sidwell
On 10/04/2017 11:29 AM, Jason Merrill wrote: On Wed, Oct 4, 2017 at 10:12 AM, Nathan Sidwell wrote: In answering a question about passing non-trivial types through ..., I discovered a misleading comment. It is NOT just like a value parm, because we don't locally copy it. Hmm, I think the err

Re: [PATCH][AArch64] Add BIC-imm and ORR-imm SIMD pattern

2017-10-04 Thread Richard Earnshaw (lists)
On 02/10/17 10:05, Sudi Das wrote: > > Hi Richard > > Thanks, I have made the change to the patch. > > > 2017-10-02 Sudakshina Das > > * config/aarch64/aarch64-protos.h (enum simd_immediate_check): New > check type > for aarch64_simd_valid_immediate. > (aarch64_output_simd

Re: C++ PATCH for c++/81525, auto and generic lambda

2017-10-04 Thread Jason Merrill
On Wed, Aug 9, 2017 at 3:20 PM, Jason Merrill wrote: > In this testcase, when building up an extra version of N to refer to > when instantiating the generic lambda, we were mistakenly replacing > the 'auto' with a template argument for the generic lambda. > > Tested x86_64-pc-linux-gnu, applying t

Re: [C++ Patch] PR 71946 ("asm in toplevel lambda function rejected")

2017-10-04 Thread Jason Merrill
OK. On Wed, Oct 4, 2017 at 8:50 AM, Paolo Carlini wrote: > Hi, > > Andrew noticed that the reason we reject entities like inline-asm or GNU's > statement-expressions in the lambda body is simply that we don't set the > parser->in_function_body flag. Thus the below, which appears to work > perfect

Re: [C++ PATCH] Fix comment

2017-10-04 Thread Jason Merrill
On Wed, Oct 4, 2017 at 10:12 AM, Nathan Sidwell wrote: > In answering a question about passing non-trivial types through ..., I > discovered a misleading comment. It is NOT just like a value parm, because > we don't locally copy it. Hmm, I think the error is in the behavior, not the comment. :)

Re: [PATCH] Pretty-print GOACC_REDUCTION arguments

2017-10-04 Thread Thomas Schwinge
Hi Tom! On Tue, 3 Oct 2017 10:56:59 +0200, Tom de Vries wrote: > On 09/27/2017 03:46 PM, Thomas Schwinge wrote: > > On Mon, 25 Sep 2017 16:57:52 +0200, Tom de Vries > > wrote: > >> currently for a GOACC_REDUCTION internal fn call we print: > >> ... > >> sum_5 = GOACC_REDUCTION (SETUP, _3, 0

Re: [PATCH] Fix PR82396: qsort comparator non-negative on sorted output

2017-10-04 Thread Eric Botcazou
> We have now had 5 days of no builds for a major target, which is a huge > inconvenience. So I don't think it is reasonable to wait any longer. well, to put things in perspective, you broke the SPARC compiler about one month ago and have done anything AFAIK since then to repair the breakage so..

Re: [PATCH] Improve alloca alignment

2017-10-04 Thread Eric Botcazou
> This seems like a SPARC target problem to me -- essentially it's > claiming a higher STACK_BOUNDARY than it really has. No, it is not, I can guarantee you that the stack pointer is always aligned to 64-bit boundaries on SPARC, otherwise all hell would break loose... > Presumably there's a good

Re: [PATCH] C++ warning on vexing parse

2017-10-04 Thread Jakub Jelinek
On Wed, Oct 04, 2017 at 10:44:11AM -0400, Jason Merrill wrote: > > 3) A couple of places do: > >T (name // line break to avoid wrap > > [LONGEXPR][OTHERLONGEXPR]); > > > > The parens aid the editor's formatter. The patch removes the parens, but I > > can see there may be disagreement. I

Re: [PATCH] C++ warning on vexing parse

2017-10-04 Thread Jason Merrill
On Tue, Oct 3, 2017 at 1:08 PM, Nathan Sidwell wrote: > [non-c++ people on CC, there's a reason ...] > > This patch adds a new warning, concerning unnecessary parentheses on a > declaration. For instance: >prettyprinter (pp); > That's a declaration of a pp variable of type prettyprinter -- no

[PATCH][GRAPHITE] Rewrite PHI handling in code-gen

2017-10-04 Thread Richard Biener
The following patch completely re-does PHI handling during code-generation. PHI handling is currently responsible for 99% of all code-generation issues. With the patch the number of code-generation issues in SPEC 2k6 decreases from 180 to 5, similar adjustments happen to the testsuite - only gf

[C++ PATCH] Fix comment

2017-10-04 Thread Nathan Sidwell
In answering a question about passing non-trivial types through ..., I discovered a misleading comment. It is NOT just like a value parm, because we don't locally copy it. class X { ..,non-poddy... }; void Foo (X, ...); void bin (X &p) { Foo (p, p); } Only the first arg to Foo goes via a cop

Re: [PATCH] Fix PR82396: qsort comparator non-negative on sorted output

2017-10-04 Thread Jakub Jelinek
On Wed, Oct 04, 2017 at 02:12:11PM +0100, Ramana Radhakrishnan wrote: > On Wed, Oct 4, 2017 at 12:01 PM, Richard Sandiford > wrote: > > Wilco Dijkstra writes: > >> Christophe Lyon wrote: > >> > >>> FWIW, I confirm that this patch fixes the build failure I reported at: > >>> https://gcc.gnu.org/ml

[committed] jit: implement gcc_jit_context_new_rvalue_from_vector

2017-10-04 Thread David Malcolm
This patch implements a new API entrypoint: /* Build a vector rvalue from an array of elements. "vec_type" should be a vector type, created using gcc_jit_type_get_vector. This API entrypoint was added in LIBGCCJIT_ABI_10; you can test for its presence using #ifdef LIBGCCJIT_HAVE_gc

Re: [PATCH] Fix PR82396: qsort comparator non-negative on sorted output

2017-10-04 Thread Ramana Radhakrishnan
On Wed, Oct 4, 2017 at 2:39 PM, Alexander Monakov wrote: > On Wed, 4 Oct 2017, Ramana Radhakrishnan wrote: >> However we need a scheduler maintainer or global reviewer to please >> help review this patch or help come up with an alternative patch. A >> primary platform broken for 5 days with a comm

Re: [PATCH] Fix PR82396: qsort comparator non-negative on sorted output

2017-10-04 Thread Alexander Monakov
On Wed, 4 Oct 2017, Ramana Radhakrishnan wrote: > However we need a scheduler maintainer or global reviewer to please > help review this patch or help come up with an alternative patch. A > primary platform broken for 5 days with a commit and no public > response from the original poster is really

[AArch64] Backport to gcc-7 PR71727 fix -mstrict-align

2017-10-04 Thread Christophe Lyon
Hi, I've recently committed a follow-up fix for PR71727 for -mstrict-align on aarch64 (r253242). I think it would be appropriate to apply it to gcc-7-branch. The patch from trunk applies cleanly to gcc-7-branch. Although the original bug was reported against 4.9.4, 5.3.1, 6.1.0, Naveen's patch wa

Re: [PATCH] Fix PR82396: qsort comparator non-negative on sorted output

2017-10-04 Thread Jakub Jelinek
On Wed, Oct 04, 2017 at 01:24:15PM +, Wilco Dijkstra wrote: > Well my understanding was that it is OK to fix a bootstrap failure. I believe > my > patch is trivial since it mostly removes redundant code. Also I took Jakub's > review as an OK as there were no technical objections. However since

Re: [PATCH] Fix PR82396: qsort comparator non-negative on sorted output

2017-10-04 Thread Wilco Dijkstra
Richard Sandiford wrote: > > I don't think it's reasonable to commit this as obvious.  You said > yourself in the covering message that "it doesn't at all restore > the original behaviour since we no longer compare the base address". > So even with the bootstrap failure, I think the patch needed re

Re: [PATCH] Fix PR82396: qsort comparator non-negative on sorted output

2017-10-04 Thread Ramana Radhakrishnan
On Wed, Oct 4, 2017 at 12:01 PM, Richard Sandiford wrote: > Wilco Dijkstra writes: >> Christophe Lyon wrote: >> >>> FWIW, I confirm that this patch fixes the build failure I reported at: >>> https://gcc.gnu.org/ml/gcc-patches/2017-09/msg01980.html >> >> Thanks, now committed as r253399. > > I don

Re: [PATCH #2], Define __FP_FAST_FMAF128 on PowerPC ISA 3.0

2017-10-04 Thread Segher Boessenkool
Hi! On Mon, Oct 02, 2017 at 07:52:50PM -0400, Michael Meissner wrote: > Whoops, I forgot to attach the patch. Heh. The rs6000 parts are of course okay (trivial / obvious, but maybe you are waiting for an ack). Thanks, Segher

[C++ Patch] PR 71946 ("asm in toplevel lambda function rejected")

2017-10-04 Thread Paolo Carlini
Hi, Andrew noticed that the reason we reject entities like inline-asm or GNU's statement-expressions in the lambda body is simply that we don't set the parser->in_function_body flag. Thus the below, which appears to work perfectly for that. Tested x86_64-linux. Thanks, Paolo. //

Re: [C++ PATCH] Fix pretty-printing of auto returning functions (PR c++/82373)

2017-10-04 Thread Nathan Sidwell
On 10/04/2017 04:13 AM, Jakub Jelinek wrote: Hi! If a function has auto return value that is deducted to return function pointer (or pointer array?), we pretty print it as e.g. auto N::foo)(int) The problem is that if show_return we use fndecl_declared_return_type (t) for the type prefix, but TR

Re: [PATCH] Prefer shorter VEX encoding of VP{AND,OR,XOR,ANDN} over EVEX when possible (PR target/82370)

2017-10-04 Thread Uros Bizjak
On Wed, Oct 4, 2017 at 10:33 AM, Jakub Jelinek wrote: > Hi! > > Most AVX* instructions have the same insn name between VEX and EVEX > encoded insns and whether it is EVEX or VEX encoded is determined by > the operands by the assembler (if there is masking/broadcast, or > %[xy]mm16+ operands are pr

Re: [committed] Propagate attributes, including optimization and target node, to OMP outlined regions (PR tree-optimization/82374)

2017-10-04 Thread Thomas Schwinge
Hi! On Wed, 4 Oct 2017 10:01:10 +0200, Jakub Jelinek wrote: > This patch propagates attributes, including opt and target nodes, from > the containing function to the OMP/OACC outlined region functions. > > Bootstrapped/regtested on x86_64-linux and i686-linux, committed to trunk. Hmm, in your t

Re: [PATCH] Fix PR82396: qsort comparator non-negative on sorted output

2017-10-04 Thread Richard Sandiford
Wilco Dijkstra writes: > Christophe Lyon wrote: > >> FWIW, I confirm that this patch fixes the build failure I reported at: >> https://gcc.gnu.org/ml/gcc-patches/2017-09/msg01980.html > > Thanks, now committed as r253399. I don't think it's reasonable to commit this as obvious. You said yourself

[committed] PR82413: Mismatched precisions in build_range_check

2017-10-04 Thread Richard Sandiford
build_range_check explicitly allows LOW and HIGH to be a different type from EXP, so we need to use w::to_widest when comparing a value based on HIGH with a value based on EXP's type. Tested on powerpc64le-linux-gnu and installed as obvious. Richard 2017-10-04 Richard Sandiford gcc/

Re: [Patch, fortran] PR77296 - [F03] Compiler Error with allocatable string and associate

2017-10-04 Thread Paul Richard Thomas
Committed as revision 253400. Thanks for the review and the test. Paul On 1 October 2017 at 14:24, Thomas Koenig wrote: > Hi Paul, > >> The attached patch fixes the PR and most of the remaining, if not all, >> problems associated with deferred string length targets in the >> associate construct

Re: [PATCH] Fix PR82396: qsort comparator non-negative on sorted output

2017-10-04 Thread Wilco Dijkstra
Christophe Lyon wrote: > FWIW, I confirm that this patch fixes the build failure I reported at: > https://gcc.gnu.org/ml/gcc-patches/2017-09/msg01980.html Thanks, now committed as r253399. Wilco

Re: [PING][PATCH][Aarch64] Improve int<->FP conversions

2017-10-04 Thread James Greenhalgh
On Sun, Oct 01, 2017 at 02:07:57AM +0100, Michael Collison wrote: > Sorry. Here is the patch. I think this needs a small amount fo rework in iterators.md - the names you've used don't follow conventions in that file (e.g. "V" normally has something to do with vectors) so could do with patching up.

[PATCH] Add sanopt support for UBSAN_PTR.

2017-10-04 Thread Martin Liška
Hello. Following patch adds support for optimizing out unnecessary UBSAN_PTR checks. It handles separately positive and negative offsets, zero offset is ignored. Apart from that, we utilize get_inner_reference for local and global variables, that also helps to reduce some. Some numbers: 1) postg

[openacc, testsuite, committed] Fix openacc float reduction testcases

2017-10-04 Thread Tom de Vries
Hi, I found 3 test-cases in libgomp/testsuite/libgomp.oacc-c-c++-common that do a 32-bit floating point reduction on integer values and verify the result using an equality test, while the result is larger than the largest integer that can be exactly represented in 32-bit fp (16777216). This

Re: [PATCH, ARM] fix .cfi inconsistency out of builtin_eh_return

2017-10-04 Thread Olivier Hainque
Hello Ramana, > On Oct 4, 2017, at 10:21 , Ramana Radhakrishnan > wrote: > This is OK . Great :-) > Sorry about the delay - I've been traveling a bit. No worries, thanks for the review! With Kind Regards, Olivier

[PATCH] Prefer shorter VEX encoding of VP{AND,OR,XOR,ANDN} over EVEX when possible (PR target/82370)

2017-10-04 Thread Jakub Jelinek
Hi! Most AVX* instructions have the same insn name between VEX and EVEX encoded insns and whether it is EVEX or VEX encoded is determined by the operands by the assembler (if there is masking/broadcast, or %[xy]mm16+ operands are present, or when using 512-bit vectors). This is not the case for th

Re: [PATCH, ARM] fix .cfi inconsistency out of builtin_eh_return

2017-10-04 Thread Ramana Radhakrishnan
On Thu, Aug 3, 2017 at 10:02 AM, Olivier Hainque wrote: > Hello, > > Activating dwarf2 based eh for real on VxWorks6 (patch to come) triggers a > libgcc build failure, where most functions resorting to __builtin_eh_return > fail this check from maybe_record_trace_start in dwarf2cfi.c: > > /*

Re: [PATCH] Fix PR82396: qsort comparator non-negative on sorted output

2017-10-04 Thread Christophe Lyon
On 3 October 2017 at 18:34, Wilco Dijkstra wrote: > r253236 broke AArch64 bootstrap. Earlier revision r253071 changed scheduling > behaviour on AArch64 as autopref scheduling no longer checks the base. > > This patch fixes the bootstrap failure and cleans up autopref scheduling. > The code is grea

[C++ PATCH] Fix pretty-printing of auto returning functions (PR c++/82373)

2017-10-04 Thread Jakub Jelinek
Hi! If a function has auto return value that is deducted to return function pointer (or pointer array?), we pretty print it as e.g. auto N::foo)(int) The problem is that if show_return we use fndecl_declared_return_type (t) for the type prefix, but TREE_TYPE (fntype) for the type suffix, and if th

[committed] Propagate attributes, including optimization and target node, to OMP outlined regions (PR tree-optimization/82374)

2017-10-04 Thread Jakub Jelinek
Hi! This patch propagates attributes, including opt and target nodes, from the containing function to the OMP/OACC outlined region functions. Bootstrapped/regtested on x86_64-linux and i686-linux, committed to trunk. 2017-10-04 Jakub Jelinek PR tree-optimization/82374 * omp-l

[PING#3, Makefile] improve libsubdir variable transmission to sub-makes on Windows

2017-10-04 Thread Olivier Hainque
Hello, Ping #3 for https://gcc.gnu.org/ml/gcc-patches/2017-09/msg00017.html please. Took the liberty to cc a maintainer. Thanks much in advance! With Kind Regards, Olivier > On Sep 25, 2017, at 08:49 , Olivier Hainque wrote: > > Hello, > > Ping #2 for https://gcc.gnu.org/ml/gcc-patches/20

[PING#2, ARM] fix .cfi inconsistency out of builtin_eh_return

2017-10-04 Thread Olivier Hainque
Hello, Ping # 2 for https://gcc.gnu.org/ml/gcc-patches/2017-08/msg00271.html * config/arm/arm.c (arm_set_return_address): Use MEM_VOLATILE_P on the target mem instead of RTX_FRAME_RELATED_P on the insn to prevent DSE. (thumb_set_return_address): Likewise. This one fix

Re: [PING**3, Makefile] improve default cpu selection for e500v2

2017-10-04 Thread Olivier Hainque
Hello, Ping # 3 for https://gcc.gnu.org/ml/gcc-patches/2017-08/msg01783.html please. Took the liberty to cc a maintainer. Thanks much in advance! With Kind Regards, Olivier > On Sep 25, 2017, at 08:51 , Olivier Hainque wrote: > > Hello, > > Ping #2 for https://gcc.gnu.org/ml/gcc-patches/2

[PATCH][GRAPHITE] Adjust CASE_CONVERT in extract_affine

2017-10-04 Thread Richard Biener
While my last change involving signed types was correct it wasn't optimal. We can avoid the modulo constraints if the conversion is widening (thus all values fit in the new type). Bootstrapped and tested on x86_64-unknown-linux-gnu, ok? Thanks, Richard. 2017-10-04 Richard Biener * g

Re: [PATCH][GRAPHITE] Test for code generation errors

2017-10-04 Thread Richard Biener
uOn Tue, 3 Oct 2017, Rainer Orth wrote: > Hi Richard, > > > What ISL Versions are affected? > > it's 0.18. > > >>Besides, there's > >> > >>+UNRESOLVED: gfortran.dg/graphite/pr42393-1.f90 -O > >>scan-tree-dump-times graphite "code generation error" 1 > >> > >>for both 32 and 64-bit. The lo