This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [LTO merge][6/15][RFA] Driver
> 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