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
a811c672
Commit
a811c672
authored
Feb 21, 2005
by
Kazu Hirata
Committed by
Kazu Hirata
Feb 21, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcse.c: Remove an obsolete comment.
From-SVN: r95319
parent
a3c28ba2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
gcc/ChangeLog
+2
-0
gcc/cse.c
+5
-3
No files found.
gcc/ChangeLog
View file @
a811c672
...
@@ -2,6 +2,8 @@
...
@@ -2,6 +2,8 @@
* gcse.c: Remove an obsolete comment.
* gcse.c: Remove an obsolete comment.
* cse.c (init_cse_reg_info): Use xmalloc instead of xrealloc.
2005-02-20 Hans-Peter Nilsson <hp@axis.com>
2005-02-20 Hans-Peter Nilsson <hp@axis.com>
* doc/extend.texi (Function Attributes) <Attribute const>: The
* doc/extend.texi (Function Attributes) <Attribute const>: The
...
...
gcc/cse.c
View file @
a811c672
...
@@ -864,10 +864,12 @@ init_cse_reg_info (unsigned int nregs)
...
@@ -864,10 +864,12 @@ init_cse_reg_info (unsigned int nregs)
}
}
/* Reallocate the table with NEW_SIZE entries. */
/* Reallocate the table with NEW_SIZE entries. */
cse_reg_info_table
=
xrealloc
(
cse_reg_info_table
,
if
(
cse_reg_info_table
)
(
sizeof
(
struct
cse_reg_info
)
free
(
cse_reg_info_table
);
*
new_size
));
cse_reg_info_table
=
xmalloc
(
sizeof
(
struct
cse_reg_info
)
*
new_size
);
cse_reg_info_table_size
=
new_size
;
cse_reg_info_table_size
=
new_size
;
cse_reg_info_table_first_uninitialized
=
0
;
}
}
/* Do we have all of the first NREGS entries initialized? */
/* Do we have all of the first NREGS entries initialized? */
...
...
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