occurs. Formerly, the times were reported in some such cases but not
in others.
timevar_pop (TV_READER);
if (complaint_issued)
- return EXIT_FAILURE;
+ goto finish;
/* Find useless nonterminals and productions and reduce the grammar. */
timevar_push (TV_REDUCE);
/* Stop if there were errors, to avoid trashing previous output
files. */
if (complaint_issued)
- return EXIT_FAILURE;
+ goto finish;
/* Lookaheads are no longer needed. */
timevar_push (TV_FREE);
if (trace_flag & trace_bitsets)
bitset_stats_dump (stderr);
+ finish:
+
/* Stop timing and print the times. */
timevar_stop (TV_TOTAL);
timevar_print (stderr);