Skip to content

clang: crash on union with typeof in debug codegen #3395

@llvmbot

Description

@llvmbot
Bugzilla Link 3023
Resolution FIXED
Resolved on Nov 07, 2008 22:52
Version unspecified
OS Linux
Reporter LLVM Bugzilla Contributor

Extended Description

SVN r58855.

int convert(int i) {
union { typeof(i) in; int out; } u;
u.in = i;
return u.out;
}

$ clang -emit-llvm test.c
$ clang -emit-llvm -g test.c
Segmentation fault

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillaclang:codegenIR generation bugs: mangling, exceptions, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions