[Bug tree-optimization/78696] [7 Regression] -fprintf-return-value misoptimizes %.Ng where N is greater than 10
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 7 05:03:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78696
--- Comment #13 from Martin Sebor <msebor at gcc dot gnu.org> ---
Created attachment 40272
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40272&action=edit
Lightly tested patch.
(In reply to Martin Sebor from comment #6)
After some more testing, although the patch I showed happens to fix the problem
in the test case, it's not actually correct. I found a few other subtle issues
in the function that need to fixed. I'm testing a more comprehensive patch
that should fix it the right way.
More information about the Gcc-bugs
mailing list