------- Comment #9 from justinmattock at gmail dot com  2010-04-19 20:48 -------
Subject: Re:  kernel/rtmutex.c:1138:1: internal
 compiler error: in cgraph_decide_inlining_of_small_functions, at
ipa-inline.c:1009

On 04/19/2010 01:25 PM, falk at debian dot org wrote:
> ------- Comment #8 from falk at debian dot org  2010-04-19 20:25 -------
> Confirmed with current 4.6 on x86-64, here is a testcase:
>
> 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);
> }
>
>

adding:
OPTIMIZE_INLINING [=y]
gets me to compile, but doesn't
solve the issue(just temporary).

Also I'm getting lots of warning messages:
warning: variable 'pao_tmp__' set but not used

Justin P. Mattock


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43791

Reply via email to