[llvm-bugs] [Bug 25454] New: Invalid cast on csmith generated code

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Nov 9 02:34:37 PST 2015


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

            Bug ID: 25454
           Summary: Invalid cast on csmith generated code
           Product: new-bugs
           Version: 3.7
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: serge.guelton at telecom-bretagne.eu
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 15249
  --> https://llvm.org/bugs/attachment.cgi?id=15249&action=edit
Original C file triggering the crash

The attached C code triggers an assert when compiled with clang -O2 (no issues
with clang -O1).

The code itself is generated by csmith, so it's quite convoluted. I used a
combination of bugpoint and manual modification to slim down the input bytecode
to something more reasonable, hope it helps.

-- 
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/20151109/d34dbec5/attachment-0001.html>


More information about the llvm-bugs mailing list