[LLVMbugs] [Bug 17453] New: mode(SI) not supported
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Oct 2 15:30:26 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=17453
Bug ID: 17453
Summary: mode(SI) not supported
Product: clang
Version: 3.2
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: unassignedclangbugs at nondot.org
Reporter: rkotler at mips.com
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 11330
--> http://llvm.org/bugs/attachment.cgi?id=11330&action=edit
gcc test
rkotler at mipssw006:~/rt-rk-4doug/tmp$ ~/llvmw/install/bin/clang
../tests-c/pr23135.c -std=gnu89 -lm
../tests-c/pr23135.c:10:28: error: mode attribute only supported for integer
and floating-point types
typedef int __attribute__((mode(SI))) __attribute__((vector_size (8))) vecint;
^
../tests-c/pr23135.c:13:19: warning: excess elements in scalar initializer
vecint i = { 150, 100 };
^~~
../tests-c/pr23135.c:14:18: warning: excess elements in scalar initializer
vecint j = { 10, 13 };
^~
../tests-c/pr23135.c:27:5: warning: implicitly declaring library function
'abort' with type 'void (void) __attribute__((noreturn))'
abort ();
^
../tests-c/pr23135.c:27:5: note: please include the header <stdlib.h> or
explicitly provide a declaration for 'abort'
../tests-c/pr23135.c:133:3: warning: implicitly declaring library function
'exit' with type 'void (int) __attribute__((noreturn))'
exit (0);
^
../tests-c/pr23135.c:133:3: note: please include the header <stdlib.h> or
explicitly provide a declaration for 'exit'
4 warnings and 1 error generated.
rkotler at mipssw006:~/rt-rk-4doug/tmp$
--
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/20131002/b5003070/attachment.html>
More information about the llvm-bugs
mailing list