[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
Tue Dec 6 15:54:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78696
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org
--- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> ---
The optimization can be disabled for format strings containing floating point
directives by using -frounding-math. The locale-specific radix character is a
POSIX extension to C that I missed. I agree that it means that the
optimization cannot be enabled when there are floating point directives in the
format string that may include it.
More information about the Gcc-bugs
mailing list