https://bugs.llvm.org/show_bug.cgi?id=47189
Bug ID: 47189
Summary: Infinite loop inside static function incorrectly
optimized away
Product: libraries
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Interprocedural Optimizations
Assignee: unassignedb...@nondot.org
Reporter: butche...@survarium.xyz
CC: llvm-bugs@lists.llvm.org
Created attachment 23855
--> https://bugs.llvm.org/attachment.cgi?id=23855&action=edit
C demo program
LLVM incorrectly optimizes infinite loop and surrounding function when static
keyword is used. Behavior can be observed using optimization level -O1 or
higher.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs