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
6c13c5f2
Commit
6c13c5f2
authored
14 years ago
by
Janne Blomqvist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use XDELETEVEC instead of free
From-SVN: r172729
parent
93acb62c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
gcc/fortran/ChangeLog
+5
-0
gcc/fortran/frontend-passes.c
+1
-3
No files found.
gcc/fortran/ChangeLog
View file @
6c13c5f2
2011-04-19 Janne Blomqvist <jb@gcc.gnu.org>
* frontend-passes.c (gfc_run_passes): Use XDELETEVEC instead of
free.
2011-04-19 Janne Blomqvist <jb@gcc.gnu.org>
* misc.c (gfc_getmem): Remove function.
* gfortran.h: Remove gfc_getmem prototype. Replace gfc_getmem
usage with XCNEW or XCNEWVEC.
...
...
This diff is collapsed.
Click to expand it.
gcc/fortran/frontend-passes.c
View file @
6c13c5f2
...
...
@@ -71,9 +71,7 @@ gfc_run_passes (gfc_namespace *ns)
if
(
gfc_option
.
dump_fortran_optimized
)
gfc_dump_parse_tree
(
ns
,
stdout
);
/* FIXME: The following should be XDELETEVEC(expr_array);
but we cannot do that because it depends on free. */
free
(
expr_array
);
XDELETEVEC
(
expr_array
);
}
}
...
...
This diff is collapsed.
Click to expand it.
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