]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/profile-count.h
profile-count.c (profile_count::to_cgraph_frequency, [...]): Check for compaibility...
authorJan Hubicka <hubicka@ucw.cz>
Fri, 29 Nov 2019 10:29:44 +0000 (11:29 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Fri, 29 Nov 2019 10:29:44 +0000 (10:29 +0000)
commitdb51f624df2a965f70de70239c35e882b4897582
tree25f8ed56b4c02634f18203902cde0e06f274974e
parent60178a322b4e8d0dc6cf50f57f8fa1fdf624a1f0
profile-count.c (profile_count::to_cgraph_frequency, [...]): Check for compaibility of counts.

* profile-count.c (profile_count::to_cgraph_frequency,
profile_count::to_sreal_scale): Check for compaibility of counts.
* profile-count.h (compatible_p): Make public; add checking for
global0 versus global types.
* cgraph.c (cgraph_node::verify_node): Verify count compatibility.

From-SVN: r278835
gcc/ChangeLog
gcc/cgraph.c
gcc/profile-count.c
gcc/profile-count.h