[Bug translator/2156] check return value for _stp_pmap_agg()

fche at redhat dot com sourceware-bugzilla@sourceware.org
Wed Jan 18 03:45:00 GMT 2006


------- Additional Comments From fche at redhat dot com  2006-01-18 03:45 -------
> buildok/pmap_foreach.stp tests the unsorted case - I just modified it to test
> the sorted case as well.

OK, but that tests only buildability.  Is there a run-time test?

> What looks suspicious to you?

The conditional emission of an "else" (only in the sorted case) is a tip.
Looking at the generated code in both cases, stp_pmap_get_agg() can still
be called and the result used, in the stp_map_start call.


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=2156

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Systemtap mailing list