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

Richard Smith <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #5 from Richard Smith <[email protected]> ---
Ah, that's the problem.

The call to reaper() will be deleted because it has no side-effects (even
though it might not actually ever terminate, this doesn't matter, because the
language rules permit us to delete infinite loops that don't "make progress"
through a side-effect / atomic access).

Thus setup_and_run_reaper returns twice when built with optimizations enabled
(or if map->stop becomes true).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to