Re: [PATCH 2/5] rs6000: Fix TARGET_PROMOTE_FUNCTION_MODE

2015-01-14 Thread David Edelsohn
On Wed, Jan 14, 2015 at 8:14 PM, Segher Boessenkool wrote: > As the existing comment explains, we should always promote function > arguments and return values. However, notwithstanding its name, > default_promote_function_mode_always_promote does not always promote. > Importantly, it does not for

[PATCH 2/5] rs6000: Fix TARGET_PROMOTE_FUNCTION_MODE

2015-01-14 Thread Segher Boessenkool
As the existing comment explains, we should always promote function arguments and return values. However, notwithstanding its name, default_promote_function_mode_always_promote does not always promote. Importantly, it does not for libcalls. This makes ftrapv-[12].c fail with 64-bit ABIs. This pa