Skip to content

Crash in ICE evaluation with cast to reference type #11412

@efriedma-quic

Description

@efriedma-quic
Bugzilla Link 11040
Resolution FIXED
Resolved on Sep 29, 2011 16:49
Version unspecified
OS All
CC @DougGregor

Extended Description

Testcase:
const int x = 10;
int* y = reinterpret_cast<char&>(x);

Looks like the cast checking in CheckICE needs to be tightened up a bit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillac++

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions