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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2025-06-05

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Your build fails with:

In file included from /usr/src/Lang/gcc/gcc/jit/jit-playback.h:31,
                 from /usr/src/Lang/gcc/gcc/jit/dummy-frontend.cc:24:
/usr/src/Lang/gcc/gcc/jit/jit-recording.h: In member function ‘const
std::string
gcc::jit::recording::location::get_filename() const’:
/usr/src/Lang/gcc/gcc/jit/jit-recording.h:586:36: error: no matching function
for call to
‘std::__cxx11::basic_string<char>::basic_string(gcc::jit::recording::string*
const&)’
  586 |       return std::string(m_filename);
      |                                    ^


That code is not on trunk.

$ git grep -F 'return std::string(m_filename);' gcc/jit
$

So it looks like you've modified GCC, and this is an error in your changes.

Reply via email to