This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] extend gcov testing to include call return info


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]