> Fixed in revision 240219.

The test fails on x86_64-apple-darwin15 (at least):

FAIL: gfortran.dg/pr68078.f90   -O0  output pattern test
FAIL: gfortran.dg/pr68078.f90   -O1  output pattern test
FAIL: gfortran.dg/pr68078.f90   -O2  output pattern test
FAIL: gfortran.dg/pr68078.f90   -O3 -fomit-frame-pointer -funroll-loops 
-fpeel-loops -ftracer -finline-functions  output pattern test
FAIL: gfortran.dg/pr68078.f90   -O3 -g  output pattern test
FAIL: gfortran.dg/pr68078.f90   -Os  output pattern test
FAIL: gfortran.dg/pr68078.f90   -g -flto  output pattern test

The failures are

Output was:
pr68078.exe(37410,0xa381f000) malloc: *** mach_vm_map(size=8388608) failed 
(error code=3)
*** error: can't allocate region securely
*** set a breakpoint in malloc_error_break to debug
 foo_ptr allocation failed
pr68078.exe(37410,0xa381f000) malloc: *** mach_vm_map(size=8388608) failed 
(error code=3)
*** error: can't allocate region securely
*** set a breakpoint in malloc_error_break to debug
 foo_obj allocation failed

Should match:
 *foo_ptr allocation failed(
|^M
|^M) *foo_obj allocation failed(
|^M
|^M) *foo_array allocation failed(
|^M
|^M)

with -O0

and

Output was:
pr68078.exe(39345,0xa381f000) malloc: *** mach_vm_map(size=8388608) failed 
(error code=3)
*** error: can't allocate region securely
*** set a breakpoint in malloc_error_break to debug
 foo_ptr allocation failed

Should match:
 *foo_ptr allocation failed(
|^M
|^M) *foo_obj allocation failed(
|^M
|^M) *foo_array allocation failed(
|^M
|^M)

for the other options.

Dominique

Reply via email to