http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47567
--- Comment #3 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> 2011-02-05 01:32:42 UTC --- For this special case: print "(F1.0)", 0.0 ! => 0 expected * Up to now, we have interpreted the last sentence in F95 10.5.1.2.1 F95 10.2.1.1 to require this to print '0'. "Leading zeros are not permitted except for an optional zero immediately to the left of the decimal symbol if the magnitude of the value in the output field is less than one. The optional zero shall appear if there would otherwise be no digits in the output field." F2008 draft has the same wording. Of course this is a little bit in contradiction with another requirement that the decimal point be shown. I can easily change this to output the '*', but thought I would mention that what we have now was done on purpose and is even commented so in the code. I have all other test examples listed here fixed in a patch at this point.
