[llvm-bugs] [Bug 46216] New: -fgnu89-inline is not accepted with -std=clc++

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jun 5 09:32:05 PDT 2020


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

            Bug ID: 46216
           Summary: -fgnu89-inline is not accepted with -std=clc++
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: OpenCL
          Assignee: unassignedclangbugs at nondot.org
          Reporter: marco.antognini at arm.com
                CC: anastasia.stulova at arm.com, llvm-bugs at lists.llvm.org

While it's possible to use -fgnu89-inline with -std=cl2.0, it's being rejected
with -std=clc++ with the following error:

error: invalid argument '-fgnu89-inline' not allowed with 'OpenCL'

-- 
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/20200605/91dac74f/attachment.html>


More information about the llvm-bugs mailing list