diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2005-04-17 01:38:24 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2005-04-17 01:38:24 +0000 |
commit | 10dcf221829e724a85e850057a83f5784c8e341b (patch) | |
tree | 38e92bac3ceb99b5ed8ffd6a613872242269dbc4 /gcc/tree-ssa-loop-im.c | |
parent | eee0d85ef565deb74ed052899524bfef0b9d6fd6 (diff) | |
download | gcc-10dcf221829e724a85e850057a83f5784c8e341b.zip gcc-10dcf221829e724a85e850057a83f5784c8e341b.tar.gz gcc-10dcf221829e724a85e850057a83f5784c8e341b.tar.bz2 |
re PR middle-end/21024 (fold generates a comparison of two operands whose types do not match)
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.
From-SVN: r98244
Diffstat (limited to 'gcc/tree-ssa-loop-im.c')
0 files changed, 0 insertions, 0 deletions