[llvm-bugs] [Bug 37858] New: _Atomic with restrict not accepted
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Jun 19 12:09:24 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=37858
Bug ID: 37858
Summary: _Atomic with restrict not accepted
Product: clang
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: tydeman at tybor.com
CC: llvm-bugs at lists.llvm.org
This one line of code:
static int * _Atomic restrict f13(void){return NULL;}
Gets this error:
error: restrict requires a pointer or reference ('_Atomic(int *)' is invalid)
Bug 24451 seems related.
--
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/20180619/eab8554a/attachment.html>
More information about the llvm-bugs
mailing list