Re: Test case for improving PTA precision

2020-08-28 Thread Richard Biener via Gcc
On Fri, Aug 28, 2020 at 1:24 PM Erick Ochoa wrote: > > Hi, > > I'm testing the precision of IPA-PTA when compiling with -flto. I found > this case when a global variable is marked as escaping even if the > variable is a primitive type and no address is taken. > > This is the result of IPA-PTA whic

Test case for improving PTA precision

2020-08-28 Thread Erick Ochoa
Hi, I'm testing the precision of IPA-PTA when compiling with -flto. I found this case when a global variable is marked as escaping even if the variable is a primitive type and no address is taken. This is the result of IPA-PTA which I believe is wrong. buff2 = { ESCAPED NONLOCAL } buff1 = {