[llvm-bugs] [Bug 41733] New: Improve error message for unsupported type with mode attribute

via llvm-bugs llvm-bugs at lists.llvm.org
Fri May 3 08:20:27 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=41733

            Bug ID: 41733
           Summary: Improve error message for unsupported type with mode
                    attribute
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: zahira.ammarguellat at intel.com
                CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
                    richard-llvm at metafoo.co.uk

Currently when clang compiles this:

typedef float f1 __attribute__((mode(SD)));

It generates this error:

error: unknown machine mode 'SD'

Would anyone be interested in generating an error like this instead?

error: GNU decimal type extension not supported

I have a patch for it.

-- 
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/20190503/e5acfa18/attachment.html>


More information about the llvm-bugs mailing list