http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60596
--- Comment #2 from patnel97269-gfortran at yahoo dot fr --- Using your program, I get the same behavior I describe . Running with gfortran I get ./a.out < tmp.dat 400 0 0 Running with ifort I get ./a.out < tmp.dat 400 0 400 Why the size the shell input is 0 ?