Skip to content

What is the guideline when encountering ICE? #6

@patrickroberts

Description

@patrickroberts

See instances of // ICE in tests/beman/any_view/constexpr.test.cpp for reference.

For now, I've disabled the static_assert tests that cause an ICE on GCC or MSVC, and only for the specific compilers that error. As was my experience with my previous implementation of any_view, combining dynamic allocation, type-erasure, and constant evaluation generally tends to cause issues for compilers, and while this is not entirely surprising, it poses the question of what to do from here.

I don't mind filing bug reports with GCC and MSVC, but given that constexpr support for any_view isn't currently on track for standardization as of P3411R1, I don't want these bug reports to be potentially perceived as useless or wasteful of others' time, especially while representing the Beman Project.

Does anyone else have any opinions on this topic they'd like to share?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions