This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/61441] ARM aarch64 fails to quiet signaling NaN
- From: "ssaraswati at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 13 Aug 2015 06:29:35 +0000
- Subject: [Bug tree-optimization/61441] ARM aarch64 fails to quiet signaling NaN
- Auto-submitted: auto-generated
- References: <bug-61441-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61441
--- Comment #4 from Sujoy <ssaraswati at gmail dot com> ---
Yes, I agree to your comment.
With -fno-signaling-nans (which is the default), we need to fix the ccp so that
the sNaN is converted to qNaN when the value is propagated.
With -fsignaling-nans, we need to ensure that we disable the folding since it
reduces the number of exceptions visible with sNaNs. I notice that even if I
disable ccp, other optimizations like dead code elimination with cddce also
needs to be disabled. Let me know if you agree.