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

--- Comment #2 from Martin Jambor <jamborm at gcc dot gnu.org> ---
Created attachment 61613
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61613&action=edit
Reduced test-case

This is a reduced self-contained (other than the libstdc++ dependency)
test-case that I obtained by repeatedly expanding the includes and
running cvise on the result that hopefully exhibits the same bug.

Compiling it with GCC 14:

  /home/mjambor/gcc/14/inst/bin/g++ -S -std=c++11 reduced-pythran-err.cpp

succeeds while attempting to do so with GCC 15:

  /home/mjambor/gcc/15/inst/bin/g++ -S -std=c++11 reduced-pythran-err.cpp

Fails with a similar error message:

reduced-pythran-err.cpp:62:53: error: no match for 'operator==' (operand types
are 'std::__tuple_element_t<0,
std::tuple<std::iterator<std::random_access_iterator_tag, std::tuple<>, long
int, std::tuple<>*, std::tuple<>&> > >' {aka
'std::iterator<std::random_access_iterator_tag, std::tuple<> >'} and
'std::__tuple_element_t<0,
std::tuple<std::iterator<std::random_access_iterator_tag, std::tuple<>, long
int, std::tuple<>*, std::tuple<>&> > >' {aka
'std::iterator<std::random_access_iterator_tag, std::tuple<> >'})

Reply via email to