Skip to content

Pick patches adding -ffinite-loops/-fno-finite-loops to 12.x release #48563

@fhahn

Description

@fhahn
Bugzilla Link 49219
Resolution FIXED
Resolved on Feb 20, 2021 08:34
Version trunk
OS All
Blocks #48246
CC @zygoloid,@tstellar
Fixed by commit(s) 51bf4c0 b5b3111

Extended Description

Clang 12.x adds must progress to loops/functions in C++11 and later and to some loops in C11 and later, which in turn enables more aggressive loop deletion.

Some code-bases may not be ready for this behavior and recently we added -ffinite-loops/-fno-finite-loops to Clang, to allow the user to disable the new behavior.

It would be good to pick this to the 12.x release branch.

Unfortunately the patches do not apply cleanly on 12.x

I resolved the conflicts and put up https://reviews.llvm.org/D96850

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillaclangClang issues not falling into any other category

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions