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: [email protected]
Reporter: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs