ipa: Various diagnostic fixes [PR93797]
authorJakub Jelinek <jakub@redhat.com>
Tue, 18 Feb 2020 08:54:17 +0000 (09:54 +0100)
committerJakub Jelinek <jakub@redhat.com>
Tue, 18 Feb 2020 08:54:17 +0000 (09:54 +0100)
commitda67227bfc407dd1412b3396ed962f30084f9401
tree6f38536db7aec8a81ea5d70955a03c04e668875b
parentbe7c145ad52e76a1a0fd201dd96bc92e8d3a275d
ipa: Various diagnostic fixes [PR93797]

As the patch shows, various messages didn't match the field names they are
talking about.

2020-02-18  Jakub Jelinek  <jakub@redhat.com>

PR ipa/93797
* cgraph.c (verify_speculative_call): Use speculative_id instead of
speculative_uid in messages.  Remove trailing whitespace from error
message.  Use num_speculative_call_targets instead of
num_speculative_targets in a message.
(cgraph_node::verify_node): Use call_stmt instead of cal_stmt in
edge messages and stmt instead of cal_stmt in reference message.
gcc/ChangeLog
gcc/cgraph.c