[llvm-bugs] [Bug 26540] New: Runtime crash with -O0

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Feb 9 02:27:24 PST 2016


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

            Bug ID: 26540
           Summary: Runtime crash with -O0
           Product: OpenMP
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Runtime Library
          Assignee: unassignedbugs at nondot.org
          Reporter: ismail at i10z.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 15859
  --> https://llvm.org/bugs/attachment.cgi?id=15859&action=edit
Testcase

The attached code when compiled with -O0 will fail at runtime:

clang++ -Wno-c++11-narrowing -fopenmp -O0 smallpt.cpp
./a.out 100
Rendering (100 spp) 20.47%[1]    23947 segmentation fault (core dumped) 
./a.out 100

Admittedly the code is very ugly but libgomp seems to work so might be an
interesting testcase.

-- 
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/20160209/bea297d7/attachment.html>


More information about the llvm-bugs mailing list