------- Additional Comments From trt at acm dot org 2005-06-02 18:40 ------- The current warning algorithm is too simple. This would be better:
For each function that contains call(s) to setjmp(), compute: ref_nz The set of variables that might possibly be live (referenced) after a setjmp() returns a non-zero value. set_any The set of variables that might possibly be set (defined) after a call to setjmp() returns. Issue a warning for all variables in the intersection of the sets. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21059