OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PR libstdc++/11953
[pf3gnuchains/gcc-fork.git]
/
gcc
/
profile.c
diff --git
a/gcc/profile.c
b/gcc/profile.c
index
9b49309
..
689af18
100644
(file)
--- a/
gcc/profile.c
+++ b/
gcc/profile.c
@@
-1228,7
+1228,7
@@
end_branch_prob (void)
void
tree_register_profile_hooks (void)
{
- gcc_assert (
ir_type ()
);
+ gcc_assert (
current_ir_type () == IR_GIMPLE
);
profile_hooks = &tree_profile_hooks;
}