PR middle-end/21024
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 17 Apr 2005 01:38:24 +0000 (01:38 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 17 Apr 2005 01:38:24 +0000 (01:38 +0000)
commit7bb1accd1c52f4afd71339f9a487fa6f67c07a2a
tree38e92bac3ceb99b5ed8ffd6a613872242269dbc4
parentefb2daa1899e9f0341879e7b5743b8e78c91df1e
PR middle-end/21024
* builtins.c (expand_builtin_strcat): Convert the result of
strlen to the right type.
* fold-const.c (fold_binary) <PLUS_EXPR>: Use fold_convert to
avoid creating type mismatches.
<GE_EXPR>: Pass op0 and op1 to fold_build2 to avoid creating
type mismatches.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98244 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/builtins.c
gcc/fold-const.c