[LTO merge][6/15][RFA] Driver

Rafael Espindola espindola@google.com
Wed Sep 30 01:33:00 GMT 2009


> The optimizers will convert calls to printf into calls to puts when
> possible.  There are other similar transformations.
>
> E.g., try compiling "int foo() { printf("hi\n"); }".
>
> As I understand your explanation this will only be a problem when
> linking statically against libc, so it is not a common case.  But it
> seems like a real one.

Yes, it is only when statically linking.

I will check if this happens before or after streaming and fix as needed.

> Ian
>

Thanks,
-- 
Rafael Ávila de Espíndola



More information about the Gcc-patches mailing list