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

--- Comment #3 from David Binderman <dcb314 at hotmail dot com> ---
(In reply to Sam James from comment #2)
> This is almost certainly a dupe of PR118822.
> 
> Is there a `while ( x = y )` or similar on that line?

No. Just a "}" as the error message indicates.

Surrounding code is

      value_cst cst = op.operate (std::move (val));
      ASSERT_EQ (&elfsym_stt_dom (EM_X86_64), cst.get_constant ().dom ());
      EXPECT_EQ (results[count], cst.get_constant ().value ());

      count++;
    }
  EXPECT_EQ (results.size (), count);

Reply via email to