forked from iains/gcc-14-branch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
re PR preprocessor/17349 (// comments cause weird behaviour with opti…
…ons -E -C) 2010-11-16 Kai Tietz <[email protected]> PR preprocessor/17349 * lex.c (save_comment): Handle in argument passing c++ comments special. 2010-11-16 Kai Tietz <[email protected]> PR preprocessor/17349 * gcc.dg/cpp/cmdlne-C3.c: New. From-SVN: r166817
- Loading branch information
Kai Tietz
authored and
Kai Tietz
committed
Nov 16, 2010
1 parent
92cf739
commit 651a20b
Showing
4 changed files
with
36 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
2010-11-16 Kai Tietz <[email protected]> | ||
|
||
PR preprocessor/17349 | ||
* gcc.dg/cpp/cmdlne-C3.c: New. | ||
|
||
2010-11-16 Richard Guenther <[email protected]> | ||
|
||
PR tree-optimization/44545 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* { dg-do preprocess } */ | ||
/* { dg-options "-C -P" } */ | ||
|
||
#define macro(X) X | ||
|
||
macro( | ||
// Comment1 | ||
x | ||
// Comment2 | ||
); | ||
|
||
/* { dg-final { scan-file cmdlne-C3.i "\\\*\\\/ x \\\/\\\*" } } */ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
2010-11-16 Kai Tietz <[email protected]> | ||
|
||
PR preprocessor/17349 | ||
* lex.c (save_comment): Handle in argument passing c++ | ||
comments special. | ||
|
||
2010-11-02 Ian Lance Taylor <[email protected]> | ||
|
||
* configure.ac: Use AC_SYS_LARGEFILE. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters