[Bug fortran/60462] get_command returns more than it should
kargl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 7 23:27:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60462
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kargl at gcc dot gnu.org
--- Comment #2 from kargl at gcc dot gnu.org ---
There's an incredible amount of missing detail.
% cat foo.f90
program foo
implicit none
character(len=80) s
call get_command(s)
print '(A)', trim(s)
end program foo
% gfc4x -o tapt foo.f90
% ./tapt -u ./mps afiro
./tapt -u ./mps afiro
% gfc48 -o tapt foo.f90
% ./tapt -u ./mps afiro
./tapt -u ./mps afiro
% gfc47 -o tapt foo.f90
% ./tapt -u ./mps afiro
./tapt -u ./mps afiro
Works as expected on 4.9.0, 4.8.3, and 4.7.4.
More information about the Gcc-bugs
mailing list