avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [bug #50811] using -Wl, -u, vfprintf -lprintf_min causes


From: Georg-Johann Lay
Subject: [avr-libc-dev] [bug #50811] using -Wl, -u, vfprintf -lprintf_min causes program to grow a lot
Date: Tue, 9 May 2017 16:55:01 -0400 (EDT)
User-agent: Opera/9.80 (Windows NT 5.0; U; de) Presto/2.6.30 Version/10.63

Follow-up Comment #9, bug #50811 (project avr-libc):

Re. the "compiler thing" mentioned above:

avr-gcc might replace a call to printf by a call to puts provided the
arguments of printf allows to do so.  You can avoid this optimization by means
of -fno-builtin-printf which takes away any knowledge (except prototype
information) about printf from the compiler.  This will result in a call to
printf (which you are using anyway), saving the call to fputs.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?50811>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]