https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105473

--- Comment #20 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Please check this. Second pair of eyes needed.

$ ./a.out 
 i= 1  input="2,5," with point x =    2.0    5.0  OK
 i= 1  input="2,5," with comma x =  666.0  999.0 ERR

 i= 2  input="2;5," with point x =    2.0  999.0 ERR
 i= 2  input="2;5," with comma x =    2.0    5.0  OK

 i= 3  input="2 5," with point x =    2.0    5.0  OK
 i= 3  input="2 5," with comma x =    2.0    5.0  OK

 i= 4  input="2.5," with point x =    2.5  999.0 end
 i= 4  input="2.5," with comma x =  666.0  999.0 ERR

 i= 5  input="2,5;" with point x =    2.0    5.0 ERR
 i= 5  input="2,5;" with comma x =    2.5  999.0 end

 i= 6  input="2;5;" with point x =    2.0  999.0 ERR
 i= 6  input="2;5;" with comma x =    2.0    5.0  OK

 i= 7  input="2 5;" with point x =    2.0    5.0 ERR
 i= 7  input="2 5;" with comma x =    2.0    5.0  OK

 i= 8  input="2.5;" with point x =    2.5  999.0 ERR
 i= 8  input="2.5;" with comma x =  666.0  999.0 ERR

 i= 9  input="2,5 " with point x =    2.0    5.0  OK
 i= 9  input="2,5 " with comma x =    2.5  999.0 end

 i=10  input="2;5 " with point x =    2.0  999.0 ERR
 i=10  input="2;5 " with comma x =    2.0    5.0  OK

 i=11  input="2 5 " with point x =    2.0    5.0  OK
 i=11  input="2 5 " with comma x =    2.0    5.0  OK

 i=12  input="2.5 " with point x =    2.5  999.0 end
 i=12  input="2.5 " with comma x =  666.0  999.0 ERR

 i=13  input="2,5." with point x =    2.0    5.0  OK
 i=13  input="2,5." with comma x =  666.0  999.0 ERR

 i=14  input="2;5." with point x =    2.0  999.0 ERR
 i=14  input="2;5." with comma x =    2.0  999.0 ERR

 i=15  input="2 5." with point x =    2.0    5.0  OK
 i=15  input="2 5." with comma x =    2.0  999.0 ERR

 i=16  input="2.5." with point x =  666.0  999.0 ERR
 i=16  input="2.5." with comma x =  666.0  999.0 ERR

Reply via email to