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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
     Ever confirmed|0                           |1
           Priority|P3                          |P1
   Last reconfirmed|                            |2024-12-19
             Status|UNCONFIRMED                 |ASSIGNED

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
For this exact testcase (better with s/unsigned long/__SIZE_TYPE__/ or decltype
(sizeof 0)) the ICE obviously started with my
r15-6339-g40f243e91796671701ded90919d1ca32ba9076ad
change, but when using
namespace std {
template <class> struct initializer_list {
private:
  int *_M_array;
  __SIZE_TYPE__ _M_len;
};
struct vector {
  vector(initializer_list<char>);
};
}
std::vector kat_data{
#embed "pr118124.dat"
};
where pr118124.dat is
namespace std {
template <class> struct initializer_list {
private:
  int *_M_array;
  áSIZE_TYPE__ _M_len;
};
struct vector {

this started already with
r15-5958-g0223119f1a6351543c6e96a9735e05cbd4583889
I'll have a look.

Reply via email to