[PATCH][fortran] Rework allocator library interface

Thomas Koenig Thomas.Koenig@online.de
Mon Dec 11 20:45:00 GMT 2006


On Mon, Dec 11, 2006 at 06:14:56PM +0100, Richard Guenther wrote:

> Bootstrapped and tested on x86_64-unknown-linux-gnu.
> 
> Ok for mainline?  (4.2?)

Regression-test fails for me on i686-pc-linux-gnu:

Running /home/ig25/gcc/trunk/gcc/testsuite/gfortran.dg/dg.exp ...
FAIL: gfortran.dg/allocatable_function_1.f90  -O0  scan-tree-dump-times free 10
FAIL: gfortran.dg/allocatable_function_1.f90  -O1  scan-tree-dump-times free 10
FAIL: gfortran.dg/allocatable_function_1.f90  -O2  scan-tree-dump-times free 10
FAIL: gfortran.dg/allocatable_function_1.f90  -O3 -fomit-frame-pointer  scan-tree-dump-times free 10
FAIL: gfortran.dg/allocatable_function_1.f90  -O3 -fomit-frame-pointer -funroll-loops  scan-tree-dump-times free 10
FAIL: gfortran.dg/allocatable_function_1.f90  -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions  scan-tree-dump-times free 10
FAIL: gfortran.dg/allocatable_function_1.f90  -O3 -g  scan-tree-dump-times free 10
FAIL: gfortran.dg/allocatable_function_1.f90  -Os  scan-tree-dump-times free 10

This is probably due to too new alias information making some calls
to free redundant.

FAIL: gfortran.dg/array_section_1.f90  -O0  execution test
FAIL: gfortran.dg/array_section_1.f90  -O1  execution test
FAIL: gfortran.dg/array_section_1.f90  -O2  execution test
FAIL: gfortran.dg/array_section_1.f90  -O3 -fomit-frame-pointer  execution test
FAIL: gfortran.dg/array_section_1.f90  -O3 -fomit-frame-pointer -funroll-loops execution test
FAIL: gfortran.dg/array_section_1.f90  -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions  execution test
FAIL: gfortran.dg/array_section_1.f90  -O3 -g  execution test
FAIL: gfortran.dg/array_section_1.f90  -Os  execution test

A problem with a function with side effects here.

	Thomas



More information about the Fortran mailing list