Skip to content

[llvm-gcc] Crash casting function to void #768

@markus-oberhumer

Description

@markus-oberhumer
Bugzilla Link 396
Resolution FIXED
Resolved on Feb 22, 2010 12:43
Version 1.0
OS All
Attachments Preprocessed source code to trigger the internal error., Much reduced testcase.

Extended Description

llvm-gcc -c llvm_bug.cpp
cc1plus: ../../gcc/llvm-expand.c:153: cast_if_type_not_equal: Assertion
((Ty)->ID == PointerTyID || ((Ty->ID < FunctionTyID) && (Ty)->ID != VoidTyID)) && "Cannot cast to non-first-class type!"' failed. llvm_bug.cpp: In function void CCDB_6d15f99c::set_output_overrun(SSignature*,
size_t)':
llvm_bug.cpp:1613: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://llvm.cs.uiuc.edu for instructions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillacompile-failUse [accepts-invalid] and [rejects-valid] insteadllvm-toolsAll llvm tools that do not have corresponding tag

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions