[llvm-bugs] [Bug 49826] New: Compiler crash
via llvm-bugs
llvm-bugs at lists.llvm.org
Sat Apr 3 07:57:59 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=49826
Bug ID: 49826
Summary: Compiler crash
Product: clang
Version: 11.0
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: mr.exodia.tpodt at gmail.com
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
neeilans at live.com, richard-llvm at metafoo.co.uk
Created attachment 24716
--> https://bugs.llvm.org/attachment.cgi?id=24716&action=edit
standalone reproduction
The following code appears to cause a strange crash during codegen.
1>fatal error: error in backend: stack allocation size is not a multiple of 8
#define LOG_FIXME(format, ...)
int PS4API sceAjmFinalize(const SceAjmContextId uiContext)
{
LOG_FIXME("Not implemented");
return SCE_OK;
}
With
#define _LOG_PRINT_(level, format, ...) __logger_handle.print(level,
__FUNCTION__, __FILE__, __LINE__, format, __VA_ARGS__)
#define LOG_FIXME(format, ...) _LOG_PRINT_(::logsys::Level::kFixme, format,
__VA_ARGS__);
There is no crash. Standalone reproduction is in the attachment
--
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/20210403/4c834d3c/attachment.html>
More information about the llvm-bugs
mailing list