aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcov-dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gcov-dump.c')
-rw-r--r--gcc/gcov-dump.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/gcov-dump.c b/gcc/gcov-dump.c
index 859fdb7..514004e 100644
--- a/gcc/gcov-dump.c
+++ b/gcc/gcov-dump.c
@@ -77,6 +77,11 @@ main (int argc ATTRIBUTE_UNUSED, char **argv)
{
int opt;
+ /* Unlock the stdio streams. */
+ unlock_stream (stdin);
+ unlock_stream (stdout);
+ unlock_stream (stderr);
+
while ((opt = getopt_long (argc, argv, "hlpv", options, NULL)) != -1)
{
switch (opt)