This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][LTO][RFC] AR archive support for LTO
Rafael Espindola wrote:
>> Maybe it should take care not to match on a filename where the first
>> character is '@', to avoid any danger of clashing with the "@file"
>> command-line file-substitution syntax? I'm not sure where that gets expanded
>> (possibly in libiberty?), but it would be more robust to guard against it than
>> to rely on it happening earlier... someone might refactor this code one day
>> without realising, for example.
>
> That expansion has to be done very early. If it is not, this code will
> be broken in many ways. For example, we would miss any foo.a@132
> listed in the args file.
Fair enough.
cheers,
DaveK