This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix preprocessor/11839
- From: Geoff Keating <geoffk at geoffk dot org>
- To: Neil Booth <neil at daikokuya dot co dot uk>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 09 Aug 2003 22:23:15 -0700
- Subject: Re: Fix preprocessor/11839
- References: <20030809085501.GA8236@daikokuya.co.uk>
Neil Booth <neil@daikokuya.co.uk> writes:
> My cppfiles.c rewrite fixed the case where a file was unreadable
> (we wouldn't complain, and continue searching) but missed the
> case where a path component is a file. I tried to create a
> testcase for this, and failed.
It's unrelated to this patch, but have you considered instead having
an immediate error for the case where a file is unreadable? Normally
that is due to a broken build environment. You usually don't want the
compiler going on and perhaps finding another file of that name
somewhere else.
--
- Geoffrey Keating <geoffk@geoffk.org>