You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Base the following code, all the pointer malloced are not used outside the function, so all of them are dead code. We'll see that
gfortran will delete the dead code the the very early tree-dump, and only leave 3 movl to retrun the arguments(reference to https://godbolt.org/z/3dMc1n1x1). while flang doen't do similar optimization.
Base the following code, all the pointer malloced are not used outside the function, so all of them are dead code. We'll see that
gfortran will delete the dead code the the very early tree-dump, and only leave 3 movl to retrun the arguments(reference to https://godbolt.org/z/3dMc1n1x1). while flang doen't do similar optimization.
The text was updated successfully, but these errors were encountered: