https://bugs.llvm.org/show_bug.cgi?id=47189

David Blaikie <dblai...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |dblai...@gmail.com
         Resolution|---                         |INVALID

--- Comment #1 from David Blaikie <dblai...@gmail.com> ---
Infinite loops are Undefined Behavior in C++ (I believe in C as well). 

See the "progress guarantee" part here:
https://en.cppreference.com/w/cpp/language/memory_model (you can find similar
wording in the C++ standard itself, but this is easier to link to/read/etc)

-- 
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

Reply via email to