http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56331
Bug #: 56331 Summary: Gnatprep returns zero on error. Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada AssignedTo: unassig...@gcc.gnu.org ReportedBy: bj...@xn--rombobjrn-67a.se Created attachment 29457 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29457 proposed fix When Gnatprep encounters errors in its input it deems its output file worthless and deletes it, but returns an exit code of zero. It should return a nonzero value so that it can function correctly in scripts and makefiles.