constant string changed
Matt Thomas
matt@3am-software.com
Wed Oct 6 22:55:00 GMT 2010
On Oct 6, 2010, at 3:02 PM, Robert Dewar wrote:
> On 10/6/2010 5:43 PM, Richard Guenther wrote:
>> On Wed, Oct 6, 2010 at 11:34 PM, Phung Nguyen<nhphung@gmail.com> wrote:
>>> How can I turn this optimization off?
>>
>> Use -fno-builtin-printf.
>
> I'm curious, it's obviously a correct optimization, so why
> would you want to turn if off?
You can also use -ffreestanding to disable it (and other
similar ones). If you are working in an environment which
only has printf, the conversion to puts is not helpful.
More information about the Gcc
mailing list