projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e0e941
)
nvptx/mkoffload.c: Add missing fclose
author
Tobias Burnus
<tobias@codesourcery.com>
Tue, 13 Oct 2020 09:54:26 +0000
(11:54 +0200)
committer
Tobias Burnus
<tobias@codesourcery.com>
Tue, 13 Oct 2020 09:55:27 +0000
(11:55 +0200)
gcc/ChangeLog:
* config/nvptx/mkoffload.c (main): Add missing fclose (in).
gcc/config/nvptx/mkoffload.c
patch
|
blob
|
history
diff --git
a/gcc/config/nvptx/mkoffload.c
b/gcc/config/nvptx/mkoffload.c
index 4fecb2b9cfe39784f77ee8dcaf1399adda5867f1..7c43e617dcfe34f516fa454e2f81b208384777d8 100644
(file)
--- a/
gcc/config/nvptx/mkoffload.c
+++ b/
gcc/config/nvptx/mkoffload.c
@@
-594,6
+594,7
@@
main (int argc, char **argv)
fatal_error (input_location, "cannot open intermediate ptx file");
process (in, out);
+ fclose (in);
}
fclose (out);