https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105918

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Spurious Warray-bounds in   |[12/13 Regression] Spurious
                   |std::to_chars               |Warray-bounds in
                   |                            |std::to_chars
   Target Milestone|---                         |12.2
           Keywords|                            |needs-bisection,
                   |                            |needs-reduction

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Shorter testcase (still need to reduce it futher):
#include <charconv>
void toChars(int number) {
    char temp[1];
    std::to_chars(temp, temp + 1, number);
}

Reply via email to