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
57f56af4
Commit
57f56af4
authored
Nov 22, 2000
by
Nick Clifton
Committed by
Nick Clifton
Nov 22, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make 'newstr' a const char * to avoid a compile time warning.
From-SVN: r37672
parent
48a08b9c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
+4
-1
gcc/ChangeLog
+3
-0
gcc/config/arm/arm.c
+1
-1
No files found.
gcc/ChangeLog
View file @
57f56af4
2000-11-22 Nick Clifton <nickc@redhat.com>
2000-11-22 Nick Clifton <nickc@redhat.com>
* config/arm/arm.c (arm_encode_call_attribute): Make 'newstr' a
const char * to avoid a compile time warning.
* config/arm/arm.md (define_constants): Define symbolic names for
* config/arm/arm.md (define_constants): Define symbolic names for
the link register, last integer register and the fake CC register.
the link register, last integer register and the fake CC register.
Update patterns to use these symbolic names.
Update patterns to use these symbolic names.
...
...
gcc/config/arm/arm.c
View file @
57f56af4
...
@@ -1718,7 +1718,7 @@ arm_encode_call_attribute (decl, flag)
...
@@ -1718,7 +1718,7 @@ arm_encode_call_attribute (decl, flag)
{
{
const
char
*
str
=
XSTR
(
XEXP
(
DECL_RTL
(
decl
),
0
),
0
);
const
char
*
str
=
XSTR
(
XEXP
(
DECL_RTL
(
decl
),
0
),
0
);
int
len
=
strlen
(
str
);
int
len
=
strlen
(
str
);
c
har
*
newstr
;
c
onst
char
*
newstr
;
if
(
TREE_CODE
(
decl
)
!=
FUNCTION_DECL
)
if
(
TREE_CODE
(
decl
)
!=
FUNCTION_DECL
)
return
;
return
;
...
...
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