Skip to content

ice: Unexpected split condition predicate #3177

@regehr

Description

@regehr
Bugzilla Link 2805
Resolution FIXED
Resolved on Sep 18, 2008 18:45
Version unspecified
OS Linux

Extended Description

Seen using r56295 on Ubuntu Hardy in ia32.

regehr@john-home:~/volatile/tmp39$ llvm-gcc -O1 small.c
cc1: LoopIndexSplit.cpp:1303: void::LoopIndexSplit::calculateLoopBounds(::LoopIndexSplit::SplitInfo&): Assertion `0 && "Unexpected split condition predicate"' failed.
small.c:16: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://developer.apple.com/bugreporter for instructions.

regehr@john-home:~/volatile/tmp39$ cat small.c

typedef unsigned int uint32_t;
uint32_t g_330;
uint32_t
func_45 (uint32_t p_47)
{
for (p_47 = 0; (p_47 < 22); ++p_47)
{
if (p_47)
{
func_70 (1);
}
else
g_330 = 1;
}
func_56 (func_95 (p_47));
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzilla

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions