This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: header search path change with 2003-03-02 commit
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Alan Modra <amodra at bigpond dot net dot au>
- Cc: Neil Booth <neil at daikokuya dot co dot uk>, <gcc-patches at gcc dot gnu dot org>, <drow at mvista dot com>
- Date: Sun, 23 Mar 2003 22:32:59 -0500 (EST)
- Subject: Re: header search path change with 2003-03-02 commit
On Tue, 18 Mar 2003, Alan Modra wrote:
> gcc-3.3 adds the extra paths in cppinit.c:init_standard_includes near
> line 829. ie. A suitable entry in cpp_include_defaults gets added
> with _both_ the "translated versions of the GNU directories" and the
> untranslated version. This code seems to be missing from mainline
> c-incpath.c:add_standard_paths.
>
> * c-incpath.c (add_path): Add both "translated" and non-translated
> header paths.
IIRC Daniel Jacobowitz wanted to think about this. Any news?
Does Daniel agree to this change now?
(I haven't even checked if the patch fixes the test-scenario I
presented, but it seems likely that this or a similar patch
would fix it.)
brgds, H-P