Re: [PATCH] Fix UBSAN errors in ipa-cp.

2020-09-24 Thread Martin Liška
On 9/23/20 5:02 PM, Martin Jambor wrote: Hi, On Wed, Sep 23 2020, Martin Liška wrote: There's patch that does that. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Ready to be installed? Thanks, Martin From ff5f78110684ed9aedde15d19e856b3acf649971 Mon Sep 17 00:00:00 2

Re: [PATCH] Fix UBSAN errors in ipa-cp.

2020-09-23 Thread Martin Jambor
Hi, On Wed, Sep 23 2020, Martin Liška wrote: > There's patch that does that. > > Patch can bootstrap on x86_64-linux-gnu and survives regression tests. > > Ready to be installed? > Thanks, > Martin > From ff5f78110684ed9aedde15d19e856b3acf649971 Mon Sep 17 00:00:00 2001 > From: Martin Liska > Dat

Re: [PATCH] Fix UBSAN errors in ipa-cp.

2020-09-23 Thread Martin Jambor
Hi, On Wed, Sep 23 2020, Jan Hubicka wrote: >> There's patch that does that. >> >> Patch can bootstrap on x86_64-linux-gnu and survives regression tests. >> >> Ready to be installed? >> Thanks, >> Martin > >> From ff5f78110684ed9aedde15d19e856b3acf649971 Mon Sep 17 00:00:00 2001 >> From: Martin

Re: [PATCH] Fix UBSAN errors in ipa-cp.

2020-09-23 Thread Jan Hubicka
> There's patch that does that. > > Patch can bootstrap on x86_64-linux-gnu and survives regression tests. > > Ready to be installed? > Thanks, > Martin > From ff5f78110684ed9aedde15d19e856b3acf649971 Mon Sep 17 00:00:00 2001 > From: Martin Liska > Date: Wed, 23 Sep 2020 15:10:43 +0200 > Subjec

Re: [PATCH] Fix UBSAN errors in ipa-cp.

2020-09-23 Thread Martin Liška
There's patch that does that. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Ready to be installed? Thanks, Martin >From ff5f78110684ed9aedde15d19e856b3acf649971 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Wed, 23 Sep 2020 15:10:43 +0200 Subject: [PATCH] Port IPA C

Re: [PATCH] Fix UBSAN errors in ipa-cp.

2020-09-23 Thread Martin Liška
On 9/23/20 2:32 PM, Jan Hubicka wrote: Perhaps it is time to turn the profile count scaled valued to sreals like we do in inline heuristics and other places? Yep, I'll try to come up with a patch. Martin

Re: [PATCH] Fix UBSAN errors in ipa-cp.

2020-09-23 Thread Jan Hubicka
> I see the following UBSAN errors: > > ./xgcc -B. /home/marxin/Programming/gcc/gcc/testsuite/g++.dg/ipa/pr96806.C > -std=c++11 -O -fipa-cp -fipa-cp-clone --param=ipa-cp-max-recursive-depth=94 > --param=logical-op-non-short-circuit=0 > /home/marxin/Programming/gcc2/gcc/ipa-cp.c:3866:20: runtime

[PATCH] Fix UBSAN errors in ipa-cp.

2020-09-23 Thread Martin Liška
I see the following UBSAN errors: ./xgcc -B. /home/marxin/Programming/gcc/gcc/testsuite/g++.dg/ipa/pr96806.C -std=c++11 -O -fipa-cp -fipa-cp-clone --param=ipa-cp-max-recursive-depth=94 --param=logical-op-non-short-circuit=0 /home/marxin/Programming/gcc2/gcc/ipa-cp.c:3866:20: runtime error: sign