summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1992-05-14 21:01:24 +0000
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1992-05-14 21:01:24 +0000
commit8b67725bdb49df57ff2bc8faaec1040457c55c60 (patch)
treeb7179ab90bfdb8f2806620705bb8d8036cb8e7ba /gcc
parent4f15720ca9c647eb7998dfdec1d847823765ce16 (diff)
downloadgcc-8b67725bdb49df57ff2bc8faaec1040457c55c60.tar.gz
*** empty log message ***
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@978 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/toplev.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 9a724283ab3..46fdcbcca97 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -1360,6 +1360,10 @@ compile_file (name)
if (finput == 0)
pfatal_with_name (name);
+#ifdef IO_BUFFER_SIZE
+ setvbuf (finput, xmalloc (IO_BUFFER_SIZE), _IOFBF, IO_BUFFER_SIZE);
+#endif
+
/* Initialize data in various passes. */
init_obstacks ();