This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: suggestion regarding spurious(?) "internal error" message


Steve Kargl wrote:
> On Mon, Feb 20, 2006 at 05:20:12PM -0800, Brooks Moses wrote:
> I looked at this briefly.  Brooks, you may be right about continuing
> after we detect the error and then dying later.  The error message
> is generated with a gfc_fatal_error() call.  I think we need to
> change this to gfc_error_now() or disable the buffering of error
> messages.

This has nothing to do with error buffering: gfc_fatal_error calls exit(3) in
its last line, foregoing any further parsing, because the compiler can't
sensibly continue after a module file has not been found.  Having exit(3)
issue the ICE message seems inappropriate to me (after all that's what abort
is there for), but maybe there's another way of saying "quit gracefully, now"
in gcc.

- Tobi


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]