Dominique,

Vous avez raison.  I attached the wrong patch.  I've resent the message with 
the correct patch.

I tried to make pr69955.f90 run only on 64-bit Linux:

! { dg-do run { target x86_64-*-linux* } }

I'm not sure there's a portable way to query virtual memory usage, and testing 
this on one platform seemed to be better than nothing.

Did I get the target wrong?  Or do I need to figure out how to make this work 
on Darwin?

Louis


 ---- On Thu, 06 Oct 2016 10:04:36 -0700 Dominique d'Humières 
<domi...@lps.ens.fr> wrote ---- 
 > Dear Louis, 
 >  
 > > PR fortran/57910 
 > > * trans-expr.c (gfc_add_interface_mapping): Don't try to 
 > > dereference call-by-value scalar argument. 
 > > 
 > > The patch seems to work without breaking other tests. 
 > From the patch, I think the PR number is wrong and should be 69955. 
 >  
 > The test fails on darwin with 
 >  
 > At line 71 of file /opt/gcc/work/gcc/testsuite/gfortran.dg/pr69955.f90 (unit 
 > = 21) 
 > Fortran runtime error: Cannot open file '/proc/974/statm': No such file or 
 > directory 
 >  
 > Thanks for working on this issue, 
 >  
 > Dominique 
 >  
 > 


Reply via email to