This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -remap: Should we remap before / after simplification?
- To: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Subject: Re: -remap: Should we remap before / after simplification?
- From: "Laurynas Biveinis" <lauras at softhome dot net>
- Date: Wed, 14 Mar 2001 18:34:38 +0200
- Cc: gcc at gcc dot gnu dot org, Zack Weinberg <zackw at Stanford dot EDU>
- References: <20010314074414.N4250@daikokuya.demon.co.uk>
> CPP simplifies pathnames so that, e.g.,
>
> a/b/c/../d -> a/b/d
>
> internally. Now consider what happens in the case that "a/b/c" is a
> directory with header remappings.
[...]
> The same bug is also inherently making the assumption that the mapped-to
> file will be in the same directory; I see no reason for us to demand
> that either.
>
> Would someone who uses this stuff agree or disagree? I don't really
> see another way to do this and remain correct, to be honest.
In DJGPP world it is used just to keep STL C++ headers happy on 8.3
systems. The header.gcc is kept in the same system header dir. This is
a very limited usage and those two bugs are extremely unlikely to trigger.
Laurynas