Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
372431b6
Commit
372431b6
authored
Aug 06, 2003
by
Alexandre Oliva
Committed by
Alexandre Oliva
Aug 06, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.dg/cpp/spacing1.c: Update.
From-SVN: r70210
parent
a32767e4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
2 deletions
+25
-2
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.dg/cpp/spacing1.c
+21
-2
No files found.
gcc/testsuite/ChangeLog
View file @
372431b6
2003-08-06 Alexandre Oliva <aoliva@redhat.com>
* gcc.dg/cpp/spacing1.c: Update.
2003-08-04 Janis Johnson <janis187@us.ibm.com>
PR target/11739
...
...
gcc/testsuite/gcc.dg/cpp/spacing1.c
View file @
372431b6
...
...
@@ -10,6 +10,19 @@
Neil Booth, 1 Dec 2000, 23 Sep 2001. */
/* The actual location of the expansion of a multi-line macro
invocation is not defined: we might consider them to be in the same
line as the initial token of the invocation, or as the final token
of the invocation, or even anything in between. We choose to make
it the final token, but we might as well collapse the invocation
and the rest of the line into the initial line, such that `g
... bam baz' below were all in a single line in the preprocessor
output. We used to do this at some point, but it disagreed with
the way we numbered lines with the integrated preprocessor, so we
had to pick one of them to change.
Alexandre Oliva, Aug 5, 2003. */
#define str(x) #x
#define f(x) x
#define glue(x, y) x ## y
...
...
@@ -28,8 +41,12 @@
B Q B Q A Q A:
f
bar
g "1 2" bam baz
g
"1 2"
bam baz
*/
glue
(
EMPTY
4
,
4
)
EMPTY
;
...
...
@@ -47,4 +64,6 @@ f (g) str
{ dg-final { scan-file spacing1.i "B Q B Q A Q A:" } }
{ dg-final { scan-file-not spacing1.i "f\[^\n\]*bar" } }
{ dg-final { scan-file spacing1.i "(^|\n)bar" } }
{ dg-final { scan-file spacing1.i "g \"1 2\" bam baz" } } */
{ dg-final { scan-file spacing1.i "(^|\n)g($|\n)" } }
{ dg-final { scan-file spacing1.i "(^|\n) \"1 2\"" } }
{ dg-final { scan-file spacing1.i "(^|\n) bam baz" } } */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment