[llvm-bugs] [Bug 27645] Wrong "error: cannot jump from this indirect goto statement to one of its possible targets"

via llvm-bugs llvm-bugs at lists.llvm.org
Wed May 4 09:03:16 PDT 2016


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

Reid Kleckner <rnk at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |rnk at google.com
         Resolution|---                         |INVALID

--- Comment #1 from Reid Kleckner <rnk at google.com> ---
Clang decides very early that 'char a[n]' is a VLA, and we are not going to
give it the smarts to discover that 'n' is a constant. The optimizer can sort
that out later, but that shouldn't feed into our decision on whether the
program is ill-formed or not.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160504/b7acdcde/attachment.html>


More information about the llvm-bugs mailing list