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
021d7b26
Commit
021d7b26
authored
Jan 01, 2001
by
Andreas Jaeger
Committed by
Jeff Law
Jan 01, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* loop.c (scan_loop): Use xmalloc to allocate movables.
From-SVN: r38598
parent
cf011243
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
gcc/ChangeLog
+4
-0
gcc/loop.c
+2
-2
No files found.
gcc/ChangeLog
View file @
021d7b26
2001-01-01 Andreas Jaeger <aj@suse.de>
* loop.c (scan_loop): Use xmalloc to allocate movables.
2001-01-01 Alexandre Oliva <aoliva@redhat.com>
* tm.texi (REGISTER_MOVE_COST): Add a mode argument.
...
...
gcc/loop.c
View file @
021d7b26
/* Perform various loop optimizations, including strength reduction.
Copyright (C) 1987, 1988, 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
1998, 1999, 2000 Free Software Foundation, Inc.
1998, 1999, 2000
, 2001
Free Software Foundation, Inc.
This file is part of GNU CC.
...
...
@@ -909,7 +909,7 @@ scan_loop (loop, flags)
if
(
VARRAY_INT
(
regs
->
set_in_loop
,
regno
)
==
2
)
{
register
struct
movable
*
m
;
m
=
(
struct
movable
*
)
alloca
(
sizeof
(
struct
movable
));
m
=
(
struct
movable
*
)
xmalloc
(
sizeof
(
struct
movable
));
m
->
next
=
0
;
m
->
insn
=
p
;
m
->
set_dest
=
SET_DEST
(
set
);
...
...
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