aboutsummaryrefslogtreecommitdiff
path: root/gcc/toplev.h
diff options
context:
space:
mode:
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>2000-04-15 16:59:10 +0000
committerRichard Kenner <kenner@gcc.gnu.org>2000-04-15 12:59:10 -0400
commit77a02dba353a95a8e4b940f4dc80b927a27b980d (patch)
tree6baa6c3bda5e6416f07a4e6a2de6c2361e0bd82a /gcc/toplev.h
parentb1a88540d4d7426abb0f32aad5bf0e73a9d02e6c (diff)
downloadgcc-77a02dba353a95a8e4b940f4dc80b927a27b980d.zip
gcc-77a02dba353a95a8e4b940f4dc80b927a27b980d.tar.gz
gcc-77a02dba353a95a8e4b940f4dc80b927a27b980d.tar.bz2
toplev.c: Make *_time variable long to reduce chance of overflow.
* toplev.c: Make *_time variable long to reduce chance of overflow. (TIMEVAR): Likewise for `otime'. (print_time): Arg is now long; compute percentage in FP and round. * toplev.h (print_time): Arg is long. * tree.c: Minor whitespace changes. From-SVN: r33168
Diffstat (limited to 'gcc/toplev.h')
-rw-r--r--gcc/toplev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/toplev.h b/gcc/toplev.h
index 5779ff9..e5a06ff 100644
--- a/gcc/toplev.h
+++ b/gcc/toplev.h
@@ -30,7 +30,7 @@ extern int read_integral_parameter PARAMS ((const char *, const char *,
const int));
extern int count_error PARAMS ((int));
extern void strip_off_ending PARAMS ((char *, int));
-extern void print_time PARAMS ((const char *, int));
+extern void print_time PARAMS ((const char *, long));
extern void debug_start_source_file PARAMS ((char *));
extern void debug_end_source_file PARAMS ((unsigned));
extern void debug_define PARAMS ((unsigned, char *));