https://llvm.org/bugs/show_bug.cgi?id=23565
Bug ID: 23565
Summary: using __attribute__((address_space(256))) crashes
compiler in user mode
Product: clang
Version: unspecified
Hardware: PC
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Created attachment 14337
--> https://llvm.org/bugs/attachment.cgi?id=14337&action=edit
the test file
I was trying to test a code generation sequence for a function in kernel, clang
crashes when trying to compile the code for user mode.
#define SEGMENT_RELATIVE volatile __attribute__((address_space(256)))
void * test_segment()
{
char SEGMENT_RELATIVE* uber_ptr = (char SEGMENT_RELATIVE *) 0UL;
return (void*)(uber_ptr + 1);
}
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs