http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59419
Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |jvdelisle at gcc dot gnu.org --- Comment #5 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- There are 140 calls to generate_error in the library. I have begun an audit of these and see the "design" plan that was intended. I would like to stick to that design plan and not modify generate error. Most places are handled correctly. Generally speaking, after doing multiple groups of error checking these are checked by lines such as: if ((opp->common.flags & IOPARM_LIBRETURN_MASK) == IOPARM_LIBRETURN_OK) This statement checks if all was OK before actually taking any actions. It is done this way for runtime efficiency. In short there are a few places where I need to clean up the code a little. I have started the patch, so will assign this bug to myself.