Skip to content

clang hang #9385

@regehr

Description

@regehr
Bugzilla Link 9013
Resolution FIXED
Resolved on Jan 20, 2011 23:30
Version trunk
OS Linux
CC @tkremenek

Extended Description

This bug appeared during the last week or so.

'clang -O2' loops apparently forever when trying to compile the code below.

This is r123879 on x86 Linux.

static int foo (int si1, int si2)
{
return si1 - si2;
}

void bar (void)
{
unsigned char l_197;
for (;; l_197 = foo (l_197, 1))
;
}

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