http://llvm.org/bugs/show_bug.cgi?id=2601
Summary: clang generates wrong AST/code for compound assignment
operators
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [email protected]
Per subject; a couple of testcases:
unsigned char a,b; void c(void) {a <<= b;} void d(void) {a /= b;}
The issue is that the functions for computing the types skip unary promotions
for compound assignments. I'm not sure what the cleanest way to solve this is,
though.
--
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs