https://bugs.llvm.org/show_bug.cgi?id=39424
Bug ID: 39424
Summary: Clang fails to generate code for C11 atomics being
returned
Product: clang
Version: 7.0
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangb...@nondot.org
Reporter: hugh.a.ga...@gmail.com
CC: llvm-bugs@lists.llvm.org
Created attachment 21033
--> https://bugs.llvm.org/attachment.cgi?id=21033&action=edit
An example program with the LLVM IR generated for each function
Clang fails to generate any valid instructions when compiling any function
which returns an atomic_load from an atomic which has been declared and
initialized in that function.
My attachment here is the code which demonstrates the issue, if needed.
clang trunk on godbolt.org also seems to show this issue as well,
https://godbolt.org/z/o9UCO3 for the same example as the attached file.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs