Skip to content

miscompilation due to gcc inliner? #3371

@regehr

Description

@regehr
Bugzilla Link 2999
Resolution FIXED
Resolved on Jan 18, 2009 20:52
Version unspecified
OS Linux
Depends On llvm/llvm-bugzilla-archive#3232
Attachments failure-inducing input
CC @asl,@isanbard

Extended Description

This testcase, unfortunately, is kind of ugly and scary. It appears to be miscompiled by LLVM r58541 on Ubuntu Hardy on x86. This is a regression since 2.3.

regehr@john-home:/volatile/tmp55$ llvm-gcc -O0 small.c -o small
regehr@john-home:
/volatile/tmp55$ ./small
0
regehr@john-home:/volatile/tmp55$ llvm-gcc -O1 small.c -o small
regehr@john-home:
/volatile/tmp55$ ./small
1

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