Your patch causes regression in the Fortran frontend

Tobias Schlüter tobias.schlueter@physik.uni-muenchen.de
Tue Sep 21 18:22:00 GMT 2004


The patch you submitted on Sept 13th,
<http://gcc.gnu.org/ml/gcc-cvs/2004-09/msg00581.html>, with ChangeLog entry

	PR tree-opt/10528
	* tree-inline.c (copy_body_r): Recompute bits for ADDR_EXPR,
	after copying its argument.

causes the following regressions in the Fortran frontend on i686-pc-linux:

FAIL: gfortran.fortran-torture/execute/contained_3.f90 compilation,  -O2
FAIL: gfortran.fortran-torture/execute/contained_3.f90 compilation,  -O3
-fomit-frame-pointer
FAIL: gfortran.fortran-torture/execute/contained_3.f90 compilation,  -O3
-fomit-frame-pointer -funroll-loops
FAIL: gfortran.fortran-torture/execute/contained_3.f90 compilation,  -O3
-fomit-frame-pointer -funroll-all-loops -finline-functions
FAIL: gfortran.fortran-torture/execute/contained_3.f90 compilation,  -O3 -g
FAIL: gfortran.fortran-torture/execute/contained_3.f90 compilation,  -Os
FAIL: gfortran.fortran-torture/execute/st_function.f90 compilation,  -O2
FAIL: gfortran.fortran-torture/execute/st_function.f90 compilation,  -O3
-fomit-frame-pointer
FAIL: gfortran.fortran-torture/execute/st_function.f90 compilation,  -O3
-fomit-frame-pointer -funroll-loops
FAIL: gfortran.fortran-torture/execute/st_function.f90 compilation,  -O3
-fomit-frame-pointer -funroll-all-loops -finline-functions
FAIL: gfortran.fortran-torture/execute/st_function.f90 compilation,  -O3 -g
FAIL: gfortran.fortran-torture/execute/st_function.f90 compilation,  -Os

I.e. all of these disappear if the above change is backed out.

Regards,
- Tobi



More information about the Gcc mailing list