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

Paul Robinson <paul_robin...@playstation.sony.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
                 CC|                            |paul_robinson@playstation.s
                   |                            |ony.com
             Status|NEW                         |RESOLVED

--- Comment #1 from Paul Robinson <paul_robin...@playstation.sony.com> ---
> The debugger shows that line 2 is executed while it shouldn't be.

I expect you're saying that because of the "if (a) break;" however
the inner for-loop has two forms of undefined behavior, so how the
compiler chooses to handle the program is not specified.  We can't
make proclamations about "correct" debugger behavior in this case.

Resolving as INVALID.

By the way, it would be helpful if you use `cat -n a.c` which will
number the lines, and it will be easier to talk about your example
programs.

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