[Bug driver/22600] Exit code should be different from 1 for internal compiler error
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Mar 22 20:14:00 GMT 2006
------- Comment #11 from reichelt at gcc dot gnu dot org 2006-03-22 20:14 -------
Fixed in mainline.
I.e. the C and C++ frontend now return "4" if an ICE occurred,
and a code less than 4 if a regular error occurred.
(The Fortran frontend has been doing this already.)
In order to see the exit code one has to pass the option
-pass-exit-codes to the driver (gcc, g++ or gfortran).
Unfortunatly the testsuite doesn't make use of the new exit codes yet.
This problem is tracked in PR 26813.
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22600
More information about the Gcc-bugs
mailing list