This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: RFA: Fix pch/system-1.c failures for systems with non-trivial BUILD_VA_LIST_TYPE


Neil Booth wrote:
> Comparing strings to <built-in> is always a bug.  Is your whole patch
> really the right fix?

Setting input_location.file to NULL has the effect that declarations
are recorded as coming from the input file "<built-in>".  That makes
sense for the declarations that are generated globally by the frontend
to share by compilation of all or none input files.

And it seems wrong to put the current working directory into the list
of directories to search for declarations from "<built-in>" .
Do you have another test to propose to avoid this?
	
-- 
--------------------------
SuperH (UK) Ltd.
2410 Aztec West / Almondsbury / BRISTOL / BS32 4QX
T:+44 1454 465658


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