mstump      02/08/09 11:12:57

  Modified:    gcc      gcc.c toplev.c
  Log:
  Make the testsuite work by flushing the output from the compiler.
  Bug #:
  
  Revision  Changes    Path
  1.135     +3 -0      gcc3/gcc/gcc.c
  
  Index: gcc.c
  ===================================================================
  RCS file: /cvs/Darwin/gcc3/gcc/gcc.c,v
  retrieving revision 1.134
  retrieving revision 1.135
  diff -u -r1.134 -r1.135
  --- gcc.c     2002/08/08 03:19:52     1.134
  +++ gcc.c     2002/08/09 18:12:55     1.135
  @@ -7097,6 +7097,9 @@
         printf ("%s\n", GCCBUGURL);
       }
   
  +  /* APPLE LOCAL work around Radar 2844245.  */
  +  fflush(stdout); fflush(stderr);
  +
     return (signal_count != 0 ? 2
          : error_count > 0 ? (pass_exit_codes ? greatest_status : 1)
          : 0);
  
  
  
  1.145     +3 -0      gcc3/gcc/toplev.c
  
  Index: toplev.c
  ===================================================================
  RCS file: /cvs/Darwin/gcc3/gcc/toplev.c,v
  retrieving revision 1.144
  retrieving revision 1.145
  diff -u -r1.144 -r1.145
  --- toplev.c  2002/08/08 03:19:52     1.144
  +++ toplev.c  2002/08/09 18:12:55     1.145
  @@ -5857,6 +5857,9 @@
     if (!errorcount && !exit_after_options)
       do_compile (no_backend);
   
  +  /* APPLE LOCAL work around Radar 2844245.  */
  +  fflush(stdout); fflush(stderr);
  +
     if (errorcount || sorrycount)
       return (FATAL_EXIT_CODE);
   
  
  
  


Reply via email to