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
cc9ce9ff
Commit
cc9ce9ff
authored
Mar 15, 2011
by
Francois-Xavier Coudert
Committed by
François-Xavier Coudert
Mar 15, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* arith.c (arith_power): Plug memory leak.
From-SVN: r170980
parent
0d2e205e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
gcc/fortran/ChangeLog
+4
-0
gcc/fortran/arith.c
+1
-1
No files found.
gcc/fortran/ChangeLog
View file @
cc9ce9ff
2011-03-15 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
* arith.c (arith_power): Plug memory leak.
2011-03-12 Janus Weil <janus@gcc.gnu.org>
2011-03-12 Janus Weil <janus@gcc.gnu.org>
PR fortran/48059
PR fortran/48059
...
...
gcc/fortran/arith.c
View file @
cc9ce9ff
...
@@ -912,7 +912,7 @@ arith_power (gfc_expr *op1, gfc_expr *op2, gfc_expr **resultp)
...
@@ -912,7 +912,7 @@ arith_power (gfc_expr *op1, gfc_expr *op2, gfc_expr **resultp)
{
{
gfc_error
(
"Raising a negative REAL at %L to "
gfc_error
(
"Raising a negative REAL at %L to "
"a REAL power is prohibited"
,
&
op1
->
where
);
"a REAL power is prohibited"
,
&
op1
->
where
);
gfc_free
(
result
);
gfc_free
_expr
(
result
);
return
ARITH_PROHIBIT
;
return
ARITH_PROHIBIT
;
}
}
...
...
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