diff options
Diffstat (limited to 'gcc/config/romp/romp.c')
-rw-r--r-- | gcc/config/romp/romp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/romp/romp.c b/gcc/config/romp/romp.c index 9a5022aa789..7f984e876d8 100644 --- a/gcc/config/romp/romp.c +++ b/gcc/config/romp/romp.c @@ -1059,8 +1059,8 @@ romp_using_r14 () { /* If we are debugging, profiling, have a non-empty constant pool, or call a function, we need r14. */ - return (write_symbols != NO_DEBUG || profile_flag || get_pool_size () != 0 - || romp_makes_calls ()); + return (write_symbols != NO_DEBUG || current_function_profile + || get_pool_size () != 0 || romp_makes_calls ()); } /* Return non-zero if this function needs to push space on the stack. */ |