https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78696
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=78703
--- Comment #8 from Martin Sebor <msebor at gcc dot gnu.org> ---
(In reply to [email protected] from comment #5)
Thanks for the pointer to 7.1.1#2. I wasn't aware of that either.
With the removal of the %p handling the pass doesn't make any assumptions about
implementation-specific behavior. I agree that in light of the locale-specific
behavior the presence of floating point directives in the format string that
emit a decimal point needs to disable the return value optimization. I've
raised bug 78703 for that. I'll submit a separate patch for bug.