On Thu, Apr 16, 2009 at 12:23 AM, Sandra Loosemore
<sandra@codesourcery.com> wrote:
This patch adds some logic to detect overflow on compile-time
constant conversions between floating-point formats. There's nothing
specific to half-precision here, but the main thing it's intended to
catch is overflows in conversions to formats that can't represent
infinities -- specifically, the ARM alternative half-precision
representation.
Can you test this on another architecture which lacks support
for NaNs or Infs? I seem to remember that the Cell SPU at
least lacks them for floats(?).
How does the C frontend react to TREE_OVERFLOW set on
constant initializers (which we are allowed to accept?).
If Joseph thinks this is ok the patch is ok if it passes
bootstrap / testing on another target with lacking NaN/Inf support.