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
72ecfc60
Commit
72ecfc60
authored
Mar 17, 2003
by
Neil Booth
Committed by
Neil Booth
Mar 17, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* fix-header.c (read_scan_file): Need to malloc arguments to add_path.
From-SVN: r64470
parent
47009d11
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
9 deletions
+14
-9
gcc/ChangeLog
+4
-1
gcc/fix-header.c
+10
-8
No files found.
gcc/ChangeLog
View file @
72ecfc60
2003-03-17 Neil Booth <neil@daikokuya.co.uk>
* fix-header.c (read_scan_file): Need to malloc arguments to add_path.
2003-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2003-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* function.c (thread_prologue_and_epilogue_insns): Set delete_unused
* function.c (thread_prologue_and_epilogue_insns): Set delete_unused
argument to 0 for redirect_jump.
argument to 0 for redirect_jump.
2003-03-16 Mark Mitchell <mark@codesourcery.com>
2003-03-16 Mark Mitchell <mark@codesourcery.com>
...
...
gcc/fix-header.c
View file @
72ecfc60
...
@@ -643,19 +643,21 @@ read_scan_file (in_fname, argc, argv)
...
@@ -643,19 +643,21 @@ read_scan_file (in_fname, argc, argv)
if
(
argv
[
i
][
1
]
==
'I'
)
if
(
argv
[
i
][
1
]
==
'I'
)
{
{
if
(
argv
[
i
][
2
]
!=
'\0'
)
if
(
argv
[
i
][
2
]
!=
'\0'
)
strings_processed
=
1
,
add_path
(
argv
[
i
]
+
2
,
BRACKET
,
false
);
{
else
if
(
i
+
1
==
argc
)
strings_processed
=
1
;
strings_processed
=
0
;
add_path
(
xstrdup
(
argv
[
i
]
+
2
),
BRACKET
,
false
);
else
}
strings_processed
=
2
,
add_path
(
argv
[
i
+
1
],
BRACKET
,
false
);
else
if
(
i
+
1
!=
argc
)
{
strings_processed
=
2
;
add_path
(
xstrdup
(
argv
[
i
+
1
]),
BRACKET
,
false
);
}
}
}
else
if
(
argv
[
i
][
1
]
==
'D'
)
else
if
(
argv
[
i
][
1
]
==
'D'
)
{
{
if
(
argv
[
i
][
2
]
!=
'\0'
)
if
(
argv
[
i
][
2
]
!=
'\0'
)
strings_processed
=
1
,
cpp_define
(
scan_in
,
argv
[
i
]
+
2
);
strings_processed
=
1
,
cpp_define
(
scan_in
,
argv
[
i
]
+
2
);
else
if
(
i
+
1
==
argc
)
else
if
(
i
+
1
!=
argc
)
strings_processed
=
0
;
else
strings_processed
=
2
,
cpp_define
(
scan_in
,
argv
[
i
+
1
]);
strings_processed
=
2
,
cpp_define
(
scan_in
,
argv
[
i
+
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