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

Mark de Wever <ko...@xs4all.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---
           Assignee|unassignedclangbugs@nondot. |ko...@xs4all.nl
                   |org                         |

--- Comment #6 from Mark de Wever <ko...@xs4all.nl> ---
(In reply to Arnd Bergmann from comment #5)
> I still don't see a warning with yesterday's
> 10.0.0-+20191205031116+3d43c73f26f-1~exp1~20191205021716.2649 build from
> apt.llvm.org:
> 
> $ echo "static char a; int main(void) { switch ((int)&a) {} return
> (int)&a;}" | clang-10 -xc -c - -o /dev/null -Wall -Weverything
> # empty output
> 
> Is there something you did differently?

Yes it seems I tested with a C++ file, which is not the case for the Linux
kernel. Testing your issue as a C file isn't fixed. Timothy's original C issue
is fixed.

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