http://llvm.org/bugs/show_bug.cgi?id=4790
Summary: Missing diagnostic for address space qualifier in type
name of compound literal within function
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Clang accepts address space qualifiers on the type named by compound literals
that appear in functions. This is inconsistent with other objects with
automatic storage duration (and in violation of Embedded C ISO/IEC TR 18037,
FWIW). Other objects with automatic storage are prohibited from having address
specifiers, reporting an error when given. Compound literals in functions
should likewise be restricted and report a similar error.
--
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