Re: [PATCH] json parsing: avoid relying on floating point equality [PR117677]

2024-11-21 Thread David Malcolm
On Thu, 2024-11-21 at 06:34 +0800, H.J. Lu wrote: > On Thu, Nov 21, 2024 at 4:52 AM David Malcolm > wrote: > > > Sorry about the breakage. > > > > I wasn't able to reproduce the failures myself, but the following > > patch seems plausible as a fix; does it fix the affected > > configurations? >

Re: [PATCH] json parsing: avoid relying on floating point equality [PR117677]

2024-11-20 Thread H.J. Lu
On Thu, Nov 21, 2024 at 4:52 AM David Malcolm wrote: > Sorry about the breakage. > > I wasn't able to reproduce the failures myself, but the following > patch seems plausible as a fix; does it fix the affected > configurations? > It fixed bootstrap on Linux/i686 for me. Thanks. > > gcc/Change

[PATCH] json parsing: avoid relying on floating point equality [PR117677]

2024-11-20 Thread David Malcolm
Sorry about the breakage. I wasn't able to reproduce the failures myself, but the following patch seems plausible as a fix; does it fix the affected configurations? gcc/ChangeLog: PR bootstrap/117677 * json-parsing.cc (selftest::test_parse_number): Replace ASSERT_EQ of 'do