http://llvm.org/bugs/show_bug.cgi?id=4557
Summary: differences with -tradtional compared to gcc
Product: clang
Version: unspecified
Platform: PC
OS/Version: NetBSD
Status: NEW
Severity: normal
Priority: P2
Component: preprocessor
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Created an attachment (id=3197)
--> (http://llvm.org/bugs/attachment.cgi?id=3197)
The example mentioned in the bug report
"clang -traditional" gives different output compared to "gcc -traditional" on
the following example. (This prevents the NetBSD kernel from building using
clang, as this construct is used in several .S files...)
Example:
#define INTRSTUB(name, num) \
intr_/**/name/**/num: \
nop
INTRSTUB(legacy,0)
"clang -traditional -E foo.S" outputs this as "intr_ legacy 0: nop"
"gcc -traditional -E foo.S" outputs this as "intr_legacy0: nop"
The clang version used: svn revision 75635.
--
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