------- Comment #2 from joseph at codesourcery dot com  2009-05-29 10:06 -------
Subject: Re:   New: Using the -V option makes the compiler to
 exit with 0 exit code on error

The pexecute interface returns a status value from waitpid from the driver 
executed with -V, and gcc.c then passes this to exit () without passing it 
through WEXITSTATUS or similar first, so it calls exit (256) which loses 
the error.


-- 


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

Reply via email to