re PR tree-optimization/78586 (Wrong code caused by printf-return-value)
authorJakub Jelinek <jakub@redhat.com>
Thu, 1 Dec 2016 23:15:57 +0000 (00:15 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 1 Dec 2016 23:15:57 +0000 (00:15 +0100)
commit0e81719703bf681533220f3629cc4f1a24110778
tree3fb10cf35706062a4e3b6a57086e86beb047be20
parent90ee6453b254cd77819bc30d9d13a3c9828fd1c5
re PR tree-optimization/78586 (Wrong code caused by printf-return-value)

PR tree-optimization/78586
* gimple-ssa-sprintf.c (format_integer): Don't handle NOP_EXPR,
CONVERT_EXPR or COMPONENT_REF here.  Formatting fix.  For
SSA_NAME_DEF_STMT with NOP_EXPR only change argtype if the rhs1's
type is INTEGER_TYPE or POINTER_TYPE.

From-SVN: r243145
gcc/ChangeLog
gcc/gimple-ssa-sprintf.c