mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-18 06:08:59 +08:00
builtins.c (expand_builtin_fputs): Use size_one_node when transforming into fwrite.
* builtins.c (expand_builtin_fputs): Use size_one_node when transforming into fwrite. From-SVN: r39306
This commit is contained in:
parent
2c5e91d224
commit
013dea401a
@ -1,3 +1,8 @@
|
||||
2001-01-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
* builtins.c (expand_builtin_fputs): Use size_one_node when
|
||||
transforming into fwrite.
|
||||
|
||||
2001-01-27 Joseph S. Myers <jsm28@cam.ac.uk>
|
||||
|
||||
* extend.texi (Attribute Syntax): New section.
|
||||
|
@ -3198,7 +3198,7 @@ expand_builtin_fputs (arglist, ignore)
|
||||
fwrite(string, 1, len, stream). */
|
||||
arglist = build_tree_list (NULL_TREE, TREE_VALUE (TREE_CHAIN (arglist)));
|
||||
arglist = tree_cons (NULL_TREE, len, arglist);
|
||||
arglist = tree_cons (NULL_TREE, integer_one_node, arglist);
|
||||
arglist = tree_cons (NULL_TREE, size_one_node, arglist);
|
||||
arglist = tree_cons (NULL_TREE, string_arg, arglist);
|
||||
fn = fn_fwrite;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user