This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/16898] Aliasing problem with array descriptors


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]