This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/16898] Aliasing problem with array descriptors
- From: "aj at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 May 2005 17:50:57 -0000
- Subject: [Bug fortran/16898] Aliasing problem with array descriptors
- References: <20040806143250.16898.pbrook@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From aj at gcc dot gnu dot org 2005-05-15 17:50 -------
I have on Linux/x86-64 these passes - which means all of them pass:
XPASS: gfortran.dg/ret_pointer_1.f90 -O0 execution test
XPASS: gfortran.dg/ret_pointer_1.f90 -O1 execution test
XPASS: gfortran.dg/ret_pointer_1.f90 -O2 execution test
XPASS: gfortran.dg/ret_pointer_1.f90 -O3 -fomit-frame-pointer execution test
XPASS: gfortran.dg/ret_pointer_1.f90 -O3 -fomit-frame-pointer -funroll-loops e
xecution test
XPASS: gfortran.dg/ret_pointer_1.f90 -O3 -fomit-frame-pointer -funroll-all-loop
s -finline-functions execution test
XPASS: gfortran.dg/ret_pointer_1.f90 -O3 -g execution test
XPASS: gfortran.dg/ret_pointer_1.f90 -Os execution test
On Linux/i686 I get less passes:
XPASS: gfortran.dg/ret_pointer_1.f90 -O0 execution test
XPASS: gfortran.dg/ret_pointer_1.f90 -O1 execution test
XPASS: gfortran.dg/ret_pointer_1.f90 -O3 -fomit-frame-pointer execution test
XPASS: gfortran.dg/ret_pointer_1.f90 -O3 -fomit-frame-pointer -funroll-loops
execution test
XPASS: gfortran.dg/ret_pointer_1.f90 -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions execution test
So, -Os and -O2 are broken on i686.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |aj at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16898