https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105473
--- Comment #37 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- Created attachment 57855 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57855&action=edit Preliminary patch to address some incorrect behavior This attached patch, gives some better results for the testcase in the previous commenr. $ ./a.out comma, isreal = F, testinput = ; n= 42 ios= 0 point, isreal = F, testinput = ; n= 42 ios= 0 comma, isreal = F, testinput = , n= 42 ios= 5010 point, isreal = F, testinput = , n= 42 ios= 0 comma, isreal = F, testinput = . n= 42 ios= 5010 point, isreal = F, testinput = . n= 42 ios= 5010 comma, isreal = F, testinput = 5. n= 42 ios= 5010 point, isreal = F, testinput = 5. n= 42 ios= 5010 comma, isreal = F, testinput = 5, n= 42 ios= 5010 point, isreal = F, testinput = 5, n= 5 ios= 0 comma, isreal = F, testinput = 5; n= 5 ios= 0 point, isreal = F, testinput = 5; n= 5 ios= 0 comma, isreal = F, testinput = 7 . n= 7 ios= 0 point, isreal = F, testinput = 7 . n= 7 ios= 0 comma, isreal = F, testinput = 7 , n= 7 ios= 0 point, isreal = F, testinput = 7 , n= 7 ios= 0 comma, isreal = F, testinput = 7 ; n= 7 ios= 0 point, isreal = F, testinput = 7 ; n= 7 ios= 0 comma, isreal = T, testinput = 8. r= 42.00 ios= 5010 point, isreal = T, testinput = 8. r= 8.00 ios= 0 comma, isreal = T, testinput = 8, r= 8.00 ios= 0 point, isreal = T, testinput = 8, r= 8.00 ios= 0 comma, isreal = T, testinput = 8; r= 8.00 ios= 0 point, isreal = T, testinput = 8; r= 8.00 ios= 0 comma, isreal = T, testinput = 9 . r= 9.00 ios= 0 point, isreal = T, testinput = 9 . r= 9.00 ios= 0 comma, isreal = T, testinput = 9 , r= 9.00 ios= 0 point, isreal = T, testinput = 9 , r= 9.00 ios= 0 comma, isreal = T, testinput = 9 ; r= 9.00 ios= 0 point, isreal = T, testinput = 9 ; r= 9.00 ios= 0 comma, isreal = T, testinput = 3,3. r= 42.00 ios= 5010 point, isreal = T, testinput = 3.3. r= 42.00 ios= 5010 comma, isreal = T, testinput = 3,3, r= 42.00 ios= 5010 comma, isreal = T, testinput = 3,3; r= 3.30 ios= 0 point, isreal = T, testinput = 3.3; r= 3.30 ios= 0 comma, isreal = T, testinput = 4,4 . r= 4.40 ios= 0 point, isreal = T, testinput = 4.4 . r= 4.40 ios= 0 comma, isreal = T, testinput = 4,4 , r= 4.40 ios= 0 point, isreal = T, testinput = 4.4 , r= 4.40 ios= 0 comma, isreal = T, testinput = 4,4 ; r= 4.40 ios= 0 point, isreal = T, testinput = 4.4 ; r= 4.40 ios= 0