> From: Arpad Beszedes <beszedes at cc dot u-szeged dot hu>
>
> Here is the modified patch that prevents only the transformation of
> fputs->fwrite in builtins.c. It also includes the patch to testcase
> stdio-opt-1.c not to involve any regressions. (see PR middle-end/9967
> http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9967
>
> )
>
> Change log entry:
>
> 2003-03-07 Arpad Beszedes <beszedes at cc dot u-szeged dot hu>
>
> * Expand: builtin function replacement disabled for
> fputs->fwrite when optimizing for size.
>
> Regtested on arm-elf with gcc version 3.3 20030303 (prerelease).
While I don't have authority to approve your patch, I did write the
original builtin code. And FWIW, your change now looks correct to me.
If someone else approves this, I volunteer to install it for you.
--
Kaveh R. Ghazi ghazi at caip dot rutgers dot edu