[llvm-bugs] [Bug 39821] New: Preprocessor recursion ends in segfault

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Nov 28 04:51:05 PST 2018


            Bug ID: 39821
           Summary: Preprocessor recursion ends in segfault
           Product: new-bugs
           Version: 7.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: vincent.hamp at higaski.at
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

It's currently possible to segfault the compiler when the preprocessor
recursion depth gets deep enough. I've added a simple test case based on
BOOST_PP which triggers the segfault on my machine. Feel free to use the very
first define of N to adjust the recursion depth.

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/20181128/bb1f3f98/attachment-0001.html>

More information about the llvm-bugs mailing list