[LLVMbugs] [Bug 14388] New: Array exception type should be decayed to pointer automatically

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Nov 19 18:35:41 PST 2012


http://llvm.org/bugs/show_bug.cgi?id=14388

             Bug #: 14388
           Summary: Array exception type should be decayed to pointer
                    automatically
           Product: clang
           Version: trunk
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: wenhan.gu at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 9572
  --> http://llvm.org/bugs/attachment.cgi?id=9572
source code

Hi all,

By exception handling spec, Array or Function should be decayed to Pointer
automatically.
In x86, it works fine on both TypeInfo and TypeFilter.
However, in ARM, it works only on TypeInfo. Function exception specification
list doesn't encode correctly.

Here's my command: 
clang++ -target armv7-unknown-linux-gnueabi test.cpp -emit-llvm -S -o test.ll


Thanks!

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list