[Bug driver/40251] Using the -V option makes the compiler to exit with 0 exit code on error

2010-07-24 Thread jsm28 at gcc dot gnu dot org


--- Comment #4 from jsm28 at gcc dot gnu dot org  2010-07-24 16:09 ---
*** Bug 44990 has been marked as a duplicate of this bug. ***


-- 

jsm28 at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||parviz_fariborz at mentor
   ||dot com


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



[Bug driver/40251] Using the -V option makes the compiler to exit with 0 exit code on error

2010-05-22 Thread jsm28 at gcc dot gnu dot org


--- Comment #3 from jsm28 at gcc dot gnu dot org  2010-05-22 17:54 ---
-b and -V were removed:

2010-04-08  Manuel López-Ibáñez  m...@gcc.gnu.org

PR 42485
* doc/invoke.texi (-b,-V): Delete.
* doc/tm.texi: Do not mention -b.
* gcc.c (display_help): Delete -b and -V.
(process_command): Delete -b and -V.
* gcc.h (DEFAULT_SWITCH_TAKES_ARG): Delete -b and -V.


-- 

jsm28 at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX


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



[Bug driver/40251] Using the -V option makes the compiler to exit with 0 exit code on error

2009-06-11 Thread ramana at gcc dot gnu dot org


-- 

ramana at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2009-06-11 14:06:00
   date||


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



[Bug driver/40251] Using the -V option makes the compiler to exit with 0 exit code on error

2009-05-29 Thread joseph at codesourcery dot com


--- 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



[Bug driver/40251] Using the -V option makes the compiler to exit with 0 exit code on error

2009-05-28 Thread pinskia at gcc dot gnu dot org


--- Comment #1 from pinskia at gcc dot gnu dot org  2009-05-29 02:49 ---
I have been noticing weird issues with -V option too like the -o option not
being passed correctly and such.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Severity|major   |normal
  Component|c   |driver


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