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
c9891b70
Commit
c9891b70
authored
Sep 23, 2008
by
Eric Botcazou
Committed by
Eric Botcazou
Sep 23, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* c-ppoutput.c (cb_used_define): Do nothing for a builtin node.
From-SVN: r140604
parent
88399079
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
0 deletions
+15
-0
gcc/ChangeLog
+4
-0
gcc/c-ppoutput.c
+2
-0
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.dg/cpp/cmdlne-dU-23.c
+5
-0
No files found.
gcc/ChangeLog
View file @
c9891b70
2008
-
09
-
23
Eric
Botcazou
<
ebotcazou
@adacore
.
com
>
*
c
-
ppoutput
.
c
(
cb_used_define
)
:
Do
nothing
for
a
builtin
node
.
2008
-
09
-
23
Aldy
Hernandez
<
aldyh
@redhat
.
com
>
*
c
-
tree
.
h
:
Add
argument
to
c_objc_common_truthvalue_conversion
,
...
...
gcc/c-ppoutput.c
View file @
c9891b70
...
...
@@ -406,6 +406,8 @@ cb_used_define (cpp_reader *pfile, source_location line ATTRIBUTE_UNUSED,
cpp_hashnode
*
node
)
{
macro_queue
*
q
;
if
(
node
->
flags
&
NODE_BUILTIN
)
return
;
q
=
XNEW
(
macro_queue
);
q
->
macro
=
xstrdup
((
const
char
*
)
cpp_macro_definition
(
pfile
,
node
));
q
->
next
=
define_queue
;
...
...
gcc/testsuite/ChangeLog
View file @
c9891b70
2008-09-23 Eric Botcazou <ebotcazou@adacore.com>
* gcc.dg/cpp/cmdlne-dU-23.c: New test.
2008-09-23 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/Walways-true-1.c: Test column numbers.
...
...
gcc/testsuite/gcc.dg/cpp/cmdlne-dU-23.c
0 → 100644
View file @
c9891b70
/* { dg-do preprocess } */
/* { dg-options "-P -dU" } */
/* { dg-final { scan-file-not cmdlne-dU-23.i "__FILE__" } } */
#ifdef __FILE__
#endif
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