[LLVMbugs] [Bug 2767] New: -C output inconsistent with -E for trigraphs
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Thu Sep 4 15:26:14 PDT 2008
http://llvm.org/bugs/show_bug.cgi?id=2767
Summary: -C output inconsistent with -E for trigraphs
Product: clang
Version: unspecified
Platform: PC
OS/Version: NetBSD
Status: NEW
Severity: minor
Priority: P2
Component: preprocessor
AssignedTo: unassignedbugs at nondot.org
ReportedBy: neil at daikokuya.co.uk
CC: llvmbugs at cs.uiuc.edu
For the following two-line file:
??< ??>
/* ??< ??> */
Clang gives:
$ clang /tmp/test.c -E -C -trigraphs 2>/dev/null
# 1 "/tmp/test.c" 1
# 0 "/tmp/test.c"
# 1 "<predefines>" 1
# 1 "/tmp/test.c" 2
{ }
/* ??< ??> */
GCC gives:
$ cpp /tmp/test.c -E -C -trigraphs 2>/dev/null
# 1 "/tmp/test.c"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "/tmp/test.c"
{ }
/* { } */
--
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