[LLVMbugs] [Bug 4557] New: differences with -tradtional compared to gcc
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Tue Jul 14 11:22:05 PDT 2009
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: unassignedclangbugs at nondot.org
ReportedBy: krister.walfridsson at gmail.com
CC: llvmbugs at cs.uiuc.edu
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.
More information about the llvm-bugs
mailing list