PR middle-end/25022
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 26 Nov 2005 01:25:20 +0000 (01:25 +0000)
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 26 Nov 2005 01:25:20 +0000 (01:25 +0000)
commit6d77ed9258cbd3bc0de2971c6c501140493686db
tree3361bfee7bbd0f755ff02c5d8d2bb9e0a58ca2d3
parent4e741c1ddb038b1409c7c0c974c8f7f3ebfeb3ac
PR middle-end/25022
* builtins.c (expand_builtin_printf, expand_builtin_fprintf,
fold_builtin_fputs, fold_builtin_printf, fold_builtin_fprintf):
Lookup the explicit replacement functions for any unlocked
stdio builtin transformations.

testsuite:
* gcc.c-torture/execute/builtins/fprintf.c,
gcc.c-torture/execute/builtins/fputs-lib.c,
gcc.c-torture/execute/builtins/fputs.c,
gcc.c-torture/execute/builtins/lib/fprintf.c,
gcc.c-torture/execute/builtins/lib/printf.c,
gcc.c-torture/execute/builtins/printf.c: Test the unlocked style.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107535 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/builtins.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/builtins/fprintf.c
gcc/testsuite/gcc.c-torture/execute/builtins/fputs-lib.c
gcc/testsuite/gcc.c-torture/execute/builtins/fputs.c
gcc/testsuite/gcc.c-torture/execute/builtins/lib/fprintf.c
gcc/testsuite/gcc.c-torture/execute/builtins/lib/printf.c
gcc/testsuite/gcc.c-torture/execute/builtins/printf.c