This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] extend gcov testing to include call return info
- To: Janis Johnston <janis187 at us dot ibm dot com>
- Subject: Re: [PATCH] extend gcov testing to include call return info
- From: Matt Kraai <kraai at alumni dot carnegiemellon dot edu>
- Date: Thu, 6 Sep 2001 16:08:37 -0600
- Cc: gcc-patches at gcc dot gnu dot org
Howdy,
It looks like the following loop can be totally removed
+ for {set i 0} {$i < [llength $shouldbe]} {incr i} {
+ set num [lindex $shouldbe $i]
+ }
and this line
+ set tfailed [expr $lfailed + [expr $bfailed + $cfailed]]
can be simplified to
+ set tfailed [expr $lfailed + $bfailed + $cfailed]
Matt