Message ID | 20130218164557.GA2332@hiauly1.hia.nrc.ca |
---|---|
State | New |
Headers | show |
Index: config/pa/pa.c =================================================================== --- config/pa/pa.c (revision 196122) +++ config/pa/pa.c (working copy) @@ -10313,6 +10313,21 @@ { int i; + if (TARGET_HPUX) + { + /* Work around powf bug in libm. */ + if (TARGET_64BIT) + { + /* Mark %fr12 as call used. */ + call_used_regs[40] = 1; + } + else + { + /* Mark %fr12 and %fr12R as call used. */ + call_used_regs[48] = 1; + call_used_regs[49] = 1; + } + } if (!TARGET_64BIT && !TARGET_PA_11) { for (i = 56; i <= FP_REG_LAST; i++)