[LLVMbugs] [Bug 16456] New: clang implements altivec context sensitive vector keywords as context insensitive keywords
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Jun 25 16:21:51 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=16456
Bug ID: 16456
Summary: clang implements altivec context sensitive vector
keywords as context insensitive keywords
Product: clang
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: unassignedclangbugs at nondot.org
Reporter: chandlerc at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
% cat x.c
typedef enum {
false_value = 0,
true_value = 1
} bool;
#define true true_value
#define false false_value
% ./bin/clang -target powerpc64-unknown-linux-gnu -maltivec -fsyntax-only x.c
x.c:4:2: error: expected ';' after enum
} bool;
^
;
x.c:1:1: warning: typedef requires a name [-Wmissing-declarations]
typedef enum {
^~~~~~~
x.c:4:3: warning: declaration does not declare anything
[-Wmissing-declarations]
} bool;
^~~~
2 warnings and 1 error generated.
% powerpc64-unknown-linux-gnu-gcc -fsyntax-only -maltivec x.c
%
--
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/20130625/bfa9a1da/attachment.html>
More information about the llvm-bugs
mailing list