[Bug middle-end/78703] -fprintf-return-value floating point handling incorrect in locales with a mulltibyte decimal point

2017-01-26 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78703 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/78703] -fprintf-return-value floating point handling incorrect in locales with a mulltibyte decimal point

2017-01-26 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78703 --- Comment #10 from Martin Sebor --- Author: msebor Date: Thu Jan 26 23:07:02 2017 New Revision: 244956 URL: https://gcc.gnu.org/viewcvs?rev=244956=gcc=rev Log: PR middle-end/78703 - fprintf-return-value floating point handling incorrect in

[Bug middle-end/78703] -fprintf-return-value floating point handling incorrect in locales with a mulltibyte decimal point

2017-01-26 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78703 --- Comment #9 from Martin Sebor --- Author: msebor Date: Thu Jan 26 21:14:18 2017 New Revision: 244953 URL: https://gcc.gnu.org/viewcvs?rev=244953=gcc=rev Log: PR middle-end/78703 -fprintf-return-value floating point handling incorrect in

[Bug middle-end/78703] -fprintf-return-value floating point handling incorrect in locales with a mulltibyte decimal point

2017-01-23 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78703 --- Comment #8 from Martin Sebor --- Author: msebor Date: Tue Jan 24 01:10:10 2017 New Revision: 244847 URL: https://gcc.gnu.org/viewcvs?rev=244847=gcc=rev Log: PR middle-end/78703 - -fprintf-return-value floating point handling incorrect in

[Bug middle-end/78703] -fprintf-return-value floating point handling incorrect in locales with a mulltibyte decimal point

2017-01-23 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78703 --- Comment #7 from Martin Sebor --- Author: msebor Date: Tue Jan 24 01:06:34 2017 New Revision: 244846 URL: https://gcc.gnu.org/viewcvs?rev=244846=gcc=rev Log: PR middle-end/78703 - -fprintf-return-value floating point handling incorrect in

[Bug middle-end/78703] -fprintf-return-value floating point handling incorrect in locales with a mulltibyte decimal point

2017-01-23 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78703 --- Comment #6 from Martin Sebor --- Author: msebor Date: Tue Jan 24 00:55:19 2017 New Revision: 244845 URL: https://gcc.gnu.org/viewcvs?rev=244845=gcc=rev Log: PR middle-end/78703 - -fprintf-return-value floating point handling incorrect in

[Bug middle-end/78703] -fprintf-return-value floating point handling incorrect in locales with a mulltibyte decimal point

2017-01-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78703 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #5 from Martin Sebor

[Bug middle-end/78703] -fprintf-return-value floating point handling incorrect in locales with a mulltibyte decimal point

2016-12-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78703 --- Comment #4 from Martin Sebor --- I agree. It's hard to strike a balance between false positives and false negatives. FYI: The pass tracks three byte counters for every sprintf call: exact (for values we know are exact), minimum

[Bug middle-end/78703] -fprintf-return-value floating point handling incorrect in locales with a mulltibyte decimal point

2016-12-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78703 --- Comment #3 from Jakub Jelinek --- For -fprintf-return-value, it is desirable to count with the worst case, but I'm not sure it is the right behavior for the warning. If we are aware of just 1 and 2 byte decimal points in the wild, forcing

[Bug middle-end/78703] -fprintf-return-value floating point handling incorrect in locales with a mulltibyte decimal point

2016-12-06 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78703 Martin Sebor changed: What|Removed |Added Keywords||wrong-code

[Bug middle-end/78703] -fprintf-return-value floating point handling incorrect in locales with a mulltibyte decimal point

2016-12-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78703 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1