Re: Handle POINTER_PLUS_EXPR in jump functions

2020-10-16 Thread Jan Hubicka
> > > > > > 2020-10-15 Jakub Jelinek > > > > > > * gcc.dg/ipa/modref-1.c: Remove space between param offset: and number > > > in scan-ipa-dump. > > > (b): Declare return type to void. > > > (main): Declare return type to int. Change c to array of 3 chars. > > > * gcc.dg/tree-ssa/mod

Re: Handle POINTER_PLUS_EXPR in jump functions

2020-10-15 Thread Jakub Jelinek via Gcc-patches
On Thu, Oct 15, 2020 at 02:39:26PM +0200, Jan Hubicka wrote: > > Both of these tests FAIL everywhere: > > FAIL: gcc.dg/ipa/modref-1.c (test for excess errors) > > FAIL: gcc.dg/ipa/modref-1.c scan-ipa-dump modref "param offset: 1" > > FAIL: gcc.dg/ipa/modref-1.c scan-ipa-dump modref "param offset: 2

Re: Handle POINTER_PLUS_EXPR in jump functions

2020-10-15 Thread Jan Hubicka
> On Wed, Oct 14, 2020 at 03:40:33PM +0200, Jan Hubicka wrote: > > this patch adds logic to handle POINTER_PLUS_EXPR in compute_parm_map > > that I originally did not since I tought that all such adjustments are > > done by ancestor function. > > > > Bootstrapped/regtested x86_64-linux, will commi

Re: Handle POINTER_PLUS_EXPR in jump functions

2020-10-15 Thread Jakub Jelinek via Gcc-patches
On Wed, Oct 14, 2020 at 03:40:33PM +0200, Jan Hubicka wrote: > this patch adds logic to handle POINTER_PLUS_EXPR in compute_parm_map > that I originally did not since I tought that all such adjustments are > done by ancestor function. > > Bootstrapped/regtested x86_64-linux, will commit it shortly