https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84824
linzj <manjian2006 at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manjian2006 at gmail dot com
--- Comment #8 from linzj <manjian2006 at gmail dot com> ---
Created attachment 43675
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43675&action=edit
patch to discuss
This patch aims to make the escape result for call statement accurate.
But I find the test case still not working.
So I make sra think the local artifact variable may not live in the memory.
Thing to discuss:
1. new escape result logic.
2. sra new logic to determine whether should go on.
I have not run the test yet.