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
f0babc9a
Commit
f0babc9a
authored
Jul 30, 2003
by
Neil Booth
Committed by
Neil Booth
Jul 30, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* cppfiles.c (stack_file, open_file_failed): Use path for deps.
From-SVN: r69973
parent
edeac5de
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
gcc/ChangeLog
+4
-0
gcc/cppfiles.c
+2
-2
No files found.
gcc/ChangeLog
View file @
f0babc9a
2003-07-30 Neil Booth <neil@daikokuya.co.uk>
* cppfiles.c (stack_file, open_file_failed): Use path for deps.
2003-07-30 Andi Kleen <ak@muc.de>
2003-07-30 Andi Kleen <ak@muc.de>
* loop.c (check_dbra_loop): Allow LTU in the loop condition.
* loop.c (check_dbra_loop): Allow LTU in the loop condition.
...
...
gcc/cppfiles.c
View file @
f0babc9a
...
@@ -537,7 +537,7 @@ stack_file (cpp_reader *pfile, _cpp_file *file, bool import)
...
@@ -537,7 +537,7 @@ stack_file (cpp_reader *pfile, _cpp_file *file, bool import)
if
(
CPP_OPTION
(
pfile
,
deps
.
style
)
>
!!
sysp
&&
!
file
->
stack_count
)
if
(
CPP_OPTION
(
pfile
,
deps
.
style
)
>
!!
sysp
&&
!
file
->
stack_count
)
{
{
if
(
!
file
->
main_file
||
!
CPP_OPTION
(
pfile
,
deps
.
ignore_main_file
))
if
(
!
file
->
main_file
||
!
CPP_OPTION
(
pfile
,
deps
.
ignore_main_file
))
deps_add_dep
(
pfile
->
deps
,
file
->
name
);
deps_add_dep
(
pfile
->
deps
,
file
->
path
);
}
}
if
(
!
read_file
(
pfile
,
file
))
if
(
!
read_file
(
pfile
,
file
))
...
@@ -731,7 +731,7 @@ open_file_failed (cpp_reader *pfile, _cpp_file *file)
...
@@ -731,7 +731,7 @@ open_file_failed (cpp_reader *pfile, _cpp_file *file)
errno
=
file
->
err_no
;
errno
=
file
->
err_no
;
if
(
print_dep
&&
CPP_OPTION
(
pfile
,
deps
.
missing_files
)
&&
errno
==
ENOENT
)
if
(
print_dep
&&
CPP_OPTION
(
pfile
,
deps
.
missing_files
)
&&
errno
==
ENOENT
)
deps_add_dep
(
pfile
->
deps
,
file
->
name
);
deps_add_dep
(
pfile
->
deps
,
file
->
path
);
else
else
{
{
/* If we are outputting dependencies but not for this file then
/* If we are outputting dependencies but not for this file then
...
...
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