[llvm-bugs] [Bug 39946] New: clang crash with invalid recursive struct

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Dec 10 17:28:32 PST 2018


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

            Bug ID: 39946
           Summary: clang crash with invalid recursive struct
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: shachaf at gmail.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk

This C program crashes clang, both 6.0.0-1ubuntu2 on my machine and trunk on
godbolt.org:

struct A { struct A field; };
void f(struct A *x) { *x = 0; }

-- 
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/20181211/a0138ca4/attachment.html>


More information about the llvm-bugs mailing list