http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60191

--- Comment #3 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
(In reply to janus from comment #2)
> The function "make_real" is not invoked directly, but through the type-bound
> "a%real", which is called three times in the test case. Does the failure
> occur already at the first one (i.e. line 67)? Can you give a reduced test
> case?

Yes it is in line 67. Maybe I will have
> The type-bound call is transformed into a procedure-pointer-component
> call, i.e. "a._vptr->real (&a)". Do all the proc_ptr_comp_* test cases work
> on ARMv7?

Yes, the test cases that failed with the last snapshot are:

FAIL: gfortran.dg/dynamic_dispatch_1.f03  -O0  execution test
FAIL: gfortran.dg/dynamic_dispatch_3.f03  -O0  execution test
FAIL: gfortran.dg/select_type_4.f90  -O2  execution test
FAIL: gfortran.dg/select_type_4.f90  -O3 -fomit-frame-pointer  execution test
FAIL: gfortran.dg/select_type_4.f90  -O3 -fomit-frame-pointer -funroll-loops 
execution test
FAIL: gfortran.dg/select_type_4.f90  -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions  execution test
FAIL: gfortran.dg/select_type_4.f90  -O3 -g  execution test
FAIL: gfortran.dg/stat_1.f90  -O0  execution test
FAIL: gfortran.dg/stat_1.f90  -O1  execution test
FAIL: gfortran.dg/stat_1.f90  -O2  execution test
FAIL: gfortran.dg/stat_1.f90  -O3 -fomit-frame-pointer  execution test
FAIL: gfortran.dg/stat_1.f90  -O3 -fomit-frame-pointer -funroll-loops 
execution test
FAIL: gfortran.dg/stat_1.f90  -O3 -fomit-frame-pointer -funroll-all-loops
-finline-functions  execution test
FAIL: gfortran.dg/stat_1.f90  -O3 -g  execution test
FAIL: gfortran.dg/stat_1.f90  -Os  execution test
FAIL: gfortran.dg/stat_2.f90  -O0  execution test
FAIL: gfortran.dg/stat_2.f90  -O1  execution test
FAIL: gfortran.dg/stat_2.f90  -O2  execution test
FAIL: gfortran.dg/stat_2.f90  -O3 -fomit-frame-pointer  execution test
FAIL: gfortran.dg/stat_2.f90  -O3 -fomit-frame-pointer -funroll-loops 
execution test
FAIL: gfortran.dg/stat_2.f90  -O3 -fomit-frame-pointer -funroll-all-loops
-finline-functions  execution test
FAIL: gfortran.dg/stat_2.f90  -O3 -g  execution test
FAIL: gfortran.dg/stat_2.f90  -Os  execution test
FAIL: gfortran.dg/vect/pr32380.f  -O   scan-tree-dump-times vect "vectorized 6
loops" 1

Maybe I will have some time to look at the other test cases next week.

> Does the failure only happen with trunk or also with earlier
> versions?

I did only try the trunk,
I'd expect the build-configuration (using hard float)
to influence the ABI.
This will likely not happen on a ARMv5, without FPU registers.

Reply via email to