Commit ef38b551 by Jan Hubicka Committed by Jan Hubicka

re PR tree-optimization/43791 (kernel/rtmutex.c:1138:1: internal compiler error:…

re PR tree-optimization/43791 (kernel/rtmutex.c:1138:1: internal compiler error: in cgraph_decide_inlining_of_small_functions, at ipa-inline.c:1009)

	PR tree-optimization/43791
	* ipa-inline.c (update_caller_keys): Remove bogus
	disregard_inline_limits check.

	* gcc.c-torture/compile/pr43791.c: New file.

From-SVN: r159108
parent 0ab555de
2010-05-06 Jan Hubicka <jh@suse.cz>
PR tree-optimization/43791
* ipa-inline.c (update_caller_keys): Remove bogus
disregard_inline_limits check.
2010-05-06 Michael Matz <matz@suse.de> 2010-05-06 Michael Matz <matz@suse.de>
PR tree-optimization/43984 PR tree-optimization/43984
......
...@@ -664,7 +664,7 @@ update_caller_keys (fibheap_t heap, struct cgraph_node *node, ...@@ -664,7 +664,7 @@ update_caller_keys (fibheap_t heap, struct cgraph_node *node,
struct cgraph_edge *edge; struct cgraph_edge *edge;
cgraph_inline_failed_t failed_reason; cgraph_inline_failed_t failed_reason;
if (!node->local.inlinable || node->local.disregard_inline_limits if (!node->local.inlinable
|| node->global.inlined_to) || node->global.inlined_to)
return; return;
if (bitmap_bit_p (updated_nodes, node->uid)) if (bitmap_bit_p (updated_nodes, node->uid))
......
2010-05-06 Jan Hubicka <jh@suse.cz>
PR tree-optimization/43791
* gcc.c-torture/compile/pr43791.c: New file.
2010-05-06 Michael Matz <matz@suse.de> 2010-05-06 Michael Matz <matz@suse.de>
PR tree-optimization/43984 PR tree-optimization/43984
......
int owner();
int clear();
static void fixup() {
clear();
}
inline __attribute__ ((always_inline))
void slowtrylock(void) {
if (owner())
fixup();
}
void fasttrylock(void (*slowfn)()) {
slowfn();
}
void trylock(void) {
fasttrylock(slowtrylock);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment