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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2025-06-22

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
Smaller testcase:

---
short __mingw_swformat_format;
__builtin_va_list __mingw_swformat_arg;
int __mingw_swformat_fc;
typedef struct {
  void *fp;
  int bch[1024]
} _IFP;
void __mingw_swformat(_IFP *s) {
  if (s->fp)
    while (__mingw_swformat_format)
      if (__mingw_swformat_fc == 'A')
        *__builtin_va_arg(__mingw_swformat_arg, double *) = 0;
}
void
__mingw_vswscanf (void)
{
  _IFP ifp;
  __mingw_swformat(&ifp);
}
---

Reply via email to