[cfe-commits] r108672 - in /cfe/trunk: test/Driver/at_file.c test/Driver/at_file.c.args tools/driver/driver.cpp

Daniel Dunbar daniel at zuster.org
Mon Jul 19 08:09:36 PDT 2010


Hi Rafael,

2010/7/19 Rafael Espindola <espindola at google.com>:
>> What happens is that -Dfoo is passed to the linker, but -Darg is
>> passed to cc1. Is that what you get with gcc too? Is that the expected
>> behavior?
>
> One difference in behavior I found is that gcc will keep any @foo
> arguments if foo doesn't exist. The attached patch implements that
> behavior, is it OK?

Yes, upon looking closer I believe this matches what gcc is doing.

 - Daniel

>
> Cheers,
> --
> Rafael Ávila de Espíndola
>




More information about the cfe-commits mailing list