Skip to content

compare against undef in a vector crashes the compiler #2707

@shawnl

Description

@shawnl
5183	bool const_values_equal(CodeGen *g, ConstExprValue *a, ConstExprValue *b) {
5184	    assert(a->type->id == b->type->id);
5185	    assert(a->special == ConstValSpecialStatic);
5186	    assert(b->special == ConstValSpecialStatic);

ignoring ConstValSpecialUndef

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugObserved behavior contradicts documented or intended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions