Commit Message

The problem is that gfortran returned with "exit(3)" for fatal errors.
Seemingly, "3" means "abort()" on Windows - thus the driver (gcc.c) duly
printed an ICE.
The solution is use the values defined in ./gcc/system.h.
Thanks to Kai for some suggestions and confirming that exit(3) might be
regarded as abort().
Build on x86-64-linux.
OK for the trunk? What about other branches?
Tobias
PS: I would be happy if someone could confirm that this patch indeed
fixes this old bug.

Comments

On 01/21/2011 05:37 AM, Tobias Burnus wrote:
> The problem is that gfortran returned with "exit(3)" for fatal errors.> Seemingly, "3" means "abort()" on Windows - thus the driver (gcc.c) duly printed> an ICE.>> The solution is use the values defined in ./gcc/system.h.>> Thanks to Kai for some suggestions and confirming that exit(3) might be regarded> as abort().>> Build on x86-64-linux.> OK for the trunk? What about other branches?>
Ok, 4.5 if you wish
Jerry