This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[C++ Patch] PR 80956 ("[7/8 Regression] ICE with abstract class vector")


Hi,

the main issue is already fixed in trunk but we still ICE on the reduced testcase attached by Jakub which has a broken std::initializer_list missing the definition. I think we can handle this case similarly to the existing check in do_pushtag, which would be also consistent with the plain error we give for, eg:

namespace std { template <class> class initializer_list; }

template class std::initializer_list<int>;

However, we still have the option of issuing a fatal_error, like we do in finish_struct.

In any case, I'm tweaking for consistency do_pushtag about %< and %>.

Tested x86_64-linux.

Thanks, Paolo.

///////////////////

Attachment: CL_80956
Description: Text document

Attachment: patch_80956
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]