[LLVMbugs] [Bug 4790] New: Missing diagnostic for address space qualifier in type name of compound literal within function
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Wed Aug 26 12:11:35 PDT 2009
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: unassignedclangbugs at nondot.org
ReportedBy: ken.dyck at onsemi.com
CC: llvmbugs at cs.uiuc.edu
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.
More information about the llvm-bugs
mailing list