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
151c68c3
Commit
151c68c3
authored
Mar 15, 2003
by
Neil Booth
Committed by
Neil Booth
Mar 15, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* fix-header.c (read_scan_file): Read main file before handling -D.
From-SVN: r64404
parent
511e3684
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
gcc/ChangeLog
+4
-0
gcc/fix-header.c
+3
-2
No files found.
gcc/ChangeLog
View file @
151c68c3
2003-03-15 Neil Booth <neil@daikokuya.co.uk>
* fix-header.c (read_scan_file): Read main file before handling -D.
2003-03-15 Roger Sayle <roger@eyesopen.com>
* c-cppbuiltin.c (builtin_define_with_value_n): Fix whitespace.
...
...
gcc/fix-header.c
View file @
151c68c3
...
...
@@ -632,6 +632,9 @@ read_scan_file (in_fname, argc, argv)
options
->
inhibit_warnings
=
1
;
options
->
inhibit_errors
=
1
;
if
(
!
cpp_read_main_file
(
scan_in
,
in_fname
,
NULL
))
exit
(
FATAL_EXIT_CODE
);
for
(
i
=
0
;
i
<
argc
;
i
+=
strings_processed
)
{
strings_processed
=
0
;
...
...
@@ -669,8 +672,6 @@ read_scan_file (in_fname, argc, argv)
register_include_chains
(
scan_in
,
NULL
/* sysroot */
,
NULL
/* iprefix */
,
true
/* stdinc */
,
false
/* cxx_stdinc */
,
false
/* verbose */
);
if
(
!
cpp_read_main_file
(
scan_in
,
in_fname
,
NULL
))
exit
(
FATAL_EXIT_CODE
);
cpp_rename_file
(
scan_in
,
"<built-in>"
);
cpp_init_builtins
(
scan_in
);
...
...
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