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
2bbd52a8
Commit
2bbd52a8
authored
Nov 24, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(main): Do -D's and -A's and -U's in order specified.
From-SVN: r2788
parent
4be2397b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
10 deletions
+5
-10
gcc/cccp.c
+5
-10
No files found.
gcc/cccp.c
View file @
2bbd52a8
...
@@ -1451,26 +1451,21 @@ main (argc, argv)
...
@@ -1451,26 +1451,21 @@ main (argc, argv)
/* Now handle the command line options. */
/* Now handle the command line options. */
/* Do
undefines specified with -U
. */
/* Do
-U's, -D's and -A's in the order they were seen
. */
for
(
i
=
1
;
i
<
argc
;
i
++
)
for
(
i
=
1
;
i
<
argc
;
i
++
)
{
if
(
pend_undefs
[
i
])
{
if
(
pend_undefs
[
i
])
{
if
(
debug_output
)
if
(
debug_output
)
output_line_command
(
fp
,
&
outbuf
,
0
,
same_file
);
output_line_command
(
fp
,
&
outbuf
,
0
,
same_file
);
make_undef
(
pend_undefs
[
i
],
&
outbuf
);
make_undef
(
pend_undefs
[
i
],
&
outbuf
);
}
}
/* Do assertions specified with -A. */
for
(
i
=
1
;
i
<
argc
;
i
++
)
if
(
pend_assertions
[
i
])
make_assertion
(
pend_assertion_options
[
i
],
pend_assertions
[
i
]);
/* Do defines specified with -D. */
for
(
i
=
1
;
i
<
argc
;
i
++
)
if
(
pend_defs
[
i
])
{
if
(
pend_defs
[
i
])
{
if
(
debug_output
)
if
(
debug_output
)
output_line_command
(
fp
,
&
outbuf
,
0
,
same_file
);
output_line_command
(
fp
,
&
outbuf
,
0
,
same_file
);
make_definition
(
pend_defs
[
i
],
&
outbuf
);
make_definition
(
pend_defs
[
i
],
&
outbuf
);
}
}
if
(
pend_assertions
[
i
])
make_assertion
(
pend_assertion_options
[
i
],
pend_assertions
[
i
]);
}
done_initializing
=
1
;
done_initializing
=
1
;
...
...
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