This is the mail archive of the gcc-patches@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]

Re: [patch, fortran] byte-wise access to masks


Thomas Koenig wrote:
this patch removes the need to convert kind=1 and kind=2
masks before calling the library functions.  This saves the
user from experiencing memory bloat when the user wants to
save memory by using kind=1 or kind=2 masks.  The logical
matmul functions get the same treatment.

No testcase because this patch isn't really supposed to change
anything.

Regression-tested on i686-pc-linux-gnu.  This absolutely needs
to be tested on a big-endian system before committing.  OK
once this has been done?

Here are the key results from "make check-fortran" on powerpc-apple-darwin8. The edit_real_1 and large_real_kind* failures are known ones on that platform. The zero_sized_1 failure, however, appears to be due to your patch; I tried again with your patch reverted, and it goes away.


Running /Users/brooks/gcc-trunk/svn-source/gcc/testsuite/gfortran.dg/dg.exp ...
FAIL: gfortran.dg/edit_real_1.f90  -O0  execution test
FAIL: gfortran.dg/edit_real_1.f90  -O1  execution test
FAIL: gfortran.dg/edit_real_1.f90  -O2  execution test
FAIL: gfortran.dg/edit_real_1.f90  -O3 -fomit-frame-pointer  execution test
FAIL: gfortran.dg/edit_real_1.f90  -O3 -fomit-frame-pointer -funroll-loops  execution test
FAIL: gfortran.dg/edit_real_1.f90  -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions  execution test
FAIL: gfortran.dg/edit_real_1.f90  -O3 -g  execution test
FAIL: gfortran.dg/edit_real_1.f90  -Os  execution test
FAIL: gfortran.dg/large_real_kind_2.F90  -O0  execution test
FAIL: gfortran.dg/large_real_kind_2.F90  -O1  execution test
FAIL: gfortran.dg/large_real_kind_2.F90  -O2  execution test
FAIL: gfortran.dg/large_real_kind_2.F90  -O3 -fomit-frame-pointer  execution test
FAIL: gfortran.dg/large_real_kind_2.F90  -O3 -fomit-frame-pointer -funroll-loops  execution test
FAIL: gfortran.dg/large_real_kind_2.F90  -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions  execution test
FAIL: gfortran.dg/large_real_kind_2.F90  -O3 -g  execution test
FAIL: gfortran.dg/large_real_kind_2.F90  -Os  execution test
FAIL: gfortran.dg/large_real_kind_form_io_2.f90  -O0  execution test
FAIL: gfortran.dg/large_real_kind_form_io_2.f90  -O1  execution test
FAIL: gfortran.dg/large_real_kind_form_io_2.f90  -O2  execution test
FAIL: gfortran.dg/large_real_kind_form_io_2.f90  -O3 -fomit-frame-pointer  execution test
FAIL: gfortran.dg/large_real_kind_form_io_2.f90  -O3 -fomit-frame-pointer -funroll-loops  execution test
FAIL: gfortran.dg/large_real_kind_form_io_2.f90  -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions  execution test
FAIL: gfortran.dg/large_real_kind_form_io_2.f90  -O3 -g  execution test
FAIL: gfortran.dg/large_real_kind_form_io_2.f90  -Os  execution test
FAIL: gfortran.dg/zero_sized_1.f90  -O0  execution test
FAIL: gfortran.dg/zero_sized_1.f90  -O1  execution test
FAIL: gfortran.dg/zero_sized_1.f90  -O2  execution test
FAIL: gfortran.dg/zero_sized_1.f90  -O3 -fomit-frame-pointer  execution test
FAIL: gfortran.dg/zero_sized_1.f90  -O3 -fomit-frame-pointer -funroll-loops  execution test
FAIL: gfortran.dg/zero_sized_1.f90  -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions  execution test
FAIL: gfortran.dg/zero_sized_1.f90  -O3 -g  execution test
FAIL: gfortran.dg/zero_sized_1.f90  -Os  execution test

- Brooks



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