Fix logical_combine OR operation. Again.

2020-11-09 Thread Andrew MacLeod via Gcc-patches
Doh. The original fix for PR97657 was incorrect.  It papered over a problem by reducing opportunities it could find. Given   if (c_2 || c_3) If the FALSE edge is taken, this is ! (c_2 || c_3) which is equivalent to !c_2 && !c_3.. so performing the intersection as combine_logical was origina

Re: [PATCH] generalized range_query class for multiple contexts

2020-11-09 Thread Andrew MacLeod via Gcc-patches
On 11/5/20 2:29 PM, Martin Sebor wrote: On 10/1/20 11:25 AM, Martin Sebor wrote: I have applied the patch and ran some tests.  There are quite a few failures (see the list below).  I have only looked at a couple.  The one in in gcc.dg/tree-ssa/builtin-sprintf-warn-3.c boils down to the follow

testsuite: Adjust pr96789.c to exclude vect_load_lanes

2020-11-09 Thread Kewen.Lin via Gcc-patches
Hi, As Lyon pointed out, the newly introduced test case gcc.dg/tree-ssa/pr96789.c fails on arm-none-linux-gnueabihf. Loop vectorizer is able to vectorize the two loops which operate on array tmp with load_lanes feature support. It makes dse3 get unexpected inputs and do nothing. This patch is to

[PATCH] PR target/97682 - Fix to reuse t1 register between call address and epilogue.

2020-11-09 Thread Monk Chiang
- When expanding the call pattern, choose t1 register be a jump register. Epilogue also uses a t1 register to adjust Stack point. The call pattern and epilogue will initial t1 twice, if both are generated in the same function. The call pattern will emit 'la t1,symbol' and 'jalr t1'in

Re: [PATCH 1/2] cfgloop: Extend loop iteration macros to loop only over sub-loops

2020-11-09 Thread Richard Biener
On Mon, 9 Nov 2020, Martin Jambor wrote: > Hi, > > This patch adds loop iteration macros FOR_EACH_ENCLOSED_LOOP and > FOR_EACH_ENCLOSED_LOOP_FN which can loop only over inner loops of a > given loop. > > The patch is required for a follow-up patch which enables loop > invariant motion to only wo

Re: *PING* Re: [Patch] Fortran: Fix function decl's location [PR95847]

2020-11-09 Thread Thomas Koenig via Gcc-patches
Hi Tobias, *PING* OK. Thanks for the patch! Best regards Thomas

Re: [PATCH] C-family : Add attribute 'unavailable'.

2020-11-09 Thread Richard Biener
On Mon, 9 Nov 2020, Iain Sandoe wrote: > Hi, > > I?ve been carrying this patch around on my Darwin branches for a very long > time? > > tested across the Darwin patch and on x86_64-linux-gnu, > OK for master? > thanks > Iain > > = commit message > > If an interface is marked 'deprecated' t

<    1   2