This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Implement the easy part of -fargument-noalias-global
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: gcc-patches Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 6 Apr 2005 18:15:58 -0400
- Subject: Re: [PATCH] Implement the easy part of -fargument-noalias-global
- References: <99bf915dbd9c0e14b6158137bc3333c0@physics.uc.edu>
On Apr 6, 2005, at 5:58 PM, Andrew Pinski wrote:
The following patch implements the easiest part of
-fargument-noalias-global,
which we can represent in the current tree aliasing infrastructure.
Just a note. With this patch, we are able to optimize the following
fortran
function on the tree level:
MODULE random_standard_normal_mod
implicit none
real*8 sum
contains
subroutine sum1 (a, n)
real*8 a(n)
integer i,n
sum = 0
do i = 1, n
sum = sum + a (i)
end do
end subroutine
end MODULE
Thanks,
Andrew Pinski