This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: Fix pch/system-1.c failures for systems with non-trivial BUILD_VA_LIST_TYPE
- From: Joern Rennecke <amylaar at onetel dot net dot uk>
- To: neil at daikokuya dot co dot uk (Neil Booth)
- Cc: rth at redhat dot com (Richard Henderson), joern dot rennecke at superh dot com (Joern Rennecke), gcc-patches at gcc dot gnu dot org
- Date: Wed, 4 Jun 2003 00:27:20 +0100 (BST)
- Subject: Re: RFA: Fix pch/system-1.c failures for systems with non-trivial BUILD_VA_LIST_TYPE
> Maybe. But <built-in> is internationalized in cpplib, and should be
> in the front-end too if it isn't already. We shouldn't be comparing
> strings like that.
Should I just compare the first character with '<' then?
E.g.:
/* Don't add cwd for <built-in>. */
if (filename[0] != DIR_SEPARATOR && filename[0] != '<')