bison/lib timevar.c
Paul Eggert <[email protected]>
| Newsgroups | gmane.comp.parsers.bison.cvs |
|---|---|
| Message-ID | <[email protected]> |
CVSROOT: /cvsroot/bison Module name: bison Changes by: Paul Eggert <[email protected]> 02/10/20 01:34:55 Modified files: lib : timevar.c Log message: (TICKS_TO_MSEC, CLOCKS_TO_MSEC): Do not cast to float, as this generates a warning on Solaris 8 + GCC 3.2 with --enable-gcc-warnings. Instead, divide into 1.0 rather than 1; this generates a more-accurate value anyway. (timervar_accumulate): Rename local variables to avoid confusion with similarly-named global 'start_time'. CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/bison/bison/lib/timevar.c.diff?tr1=1.3&tr2=1.4&r1=text&r2=text