RFA: Fix pch/system-1.c failures for systems with non-trivial BUILD_VA_LIST_TYPE

Neil Booth neil@daikokuya.co.uk
Mon Jun 2 21:39:00 GMT 2003


Joern Rennecke wrote:-

>     if (filename)
>       {
>         add_name_attribute (die, filename);
> !       if (filename[0] != DIR_SEPARATOR)
>   	add_comp_dir_attribute (die);
>       }
>   
> --- 11491,11497 ----
>     if (filename)
>       {
>         add_name_attribute (die, filename);
> !       if (filename[0] != DIR_SEPARATOR && strcmp (filename, "<built-in>") != 0)
>   	add_comp_dir_attribute (die);
>       }

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

Neil.



More information about the Gcc-patches mailing list