[LLVMbugs] [Bug 23565] New: using __attribute__((address_space(256))) crashes compiler in user mode

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon May 18 13:26:00 PDT 2015


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: unassignedclangbugs at nondot.org
          Reporter: mrdvlpr.xnu at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150518/3590f8fa/attachment.html>


More information about the llvm-bugs mailing list