------- Comment #4 from pinskia at gcc dot gnu dot org  2007-06-03 02:00 -------
>Could the check in the code be moved futher up so the compiler can see that the
> checking is being done?

Not if glibc is marking the functions as warn_unused_result.  Also the
front-end would need some flow analysis to figure out if a warning is needed.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32185

Reply via email to