aboutsummaryrefslogtreecommitdiff
path: root/gcc/hooks.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2019-03-05 09:43:16 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2019-03-05 09:43:16 +0100
commitd6f7829a1fa2577bac1bd8815acd31730affcb92 (patch)
tree8002b8c05a197626eed6b4dcc4b741aa9980a0ed /gcc/hooks.c
parentda7382442e127e54ba65edeab4d9444e786ffd73 (diff)
downloadgcc-d6f7829a1fa2577bac1bd8815acd31730affcb92.zip
gcc-d6f7829a1fa2577bac1bd8815acd31730affcb92.tar.gz
gcc-d6f7829a1fa2577bac1bd8815acd31730affcb92.tar.bz2
re PR tree-optimization/89566 (ICE on compilable C++ code: in gimple_call_arg, at gimple.h:3166)
PR tree-optimization/89566 * gimple-ssa-sprintf.c (sprintf_dom_walker::handle_gimple_call): Set info.fncode to BUILT_IN_NONE if gimple_call_builtin_p failed. Punt if get_user_idx_format succeeds, but idx_format argument is not provided or doesn't have pointer type, or if idx_args is above number of provided arguments. * c-c++-common/pr89566.c: New test. From-SVN: r269384
Diffstat (limited to 'gcc/hooks.c')
0 files changed, 0 insertions, 0 deletions