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



--- Comment #36 from Dominique d'Humieres <dominiq at lps dot ens.fr> 
2012-12-22 19:13:23 UTC ---

> Can you strace (or whatever) the code and tell me what lseek()

> returns?  Is it really EINVAL like the error message suggests?



The best I can do (without understanding it) is



(1) if I use dtruss (should be equivalent to strace) on a, I get



[macbook] f90/bug% 25210/0x2baef9e:  lseek(0x3, 0x0, 0x1)         = -1 Err#29

25210/0x2baef9e:  lseek(0x3, 0xFFFFFFFFFFFFFFF4, 0x1)         = -1 Err#29



(2) if I use it on b, I get



[macbook] f90/bug% 25218/0x2baf031:  lseek(0x3, 0x0, 0x1)         = -1 Err#29

25218/0x2baf031:  lseek(0x3, 0x4, 0x1)         = -1 Err#29

Reply via email to