This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/66326] New: Floating point exception with -mfpmath=387 and -fcilkplus.
- From: "ejolson at unr dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 28 May 2015 18:38:20 +0000
- Subject: [Bug c/66326] New: Floating point exception with -mfpmath=387 and -fcilkplus.
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66326
Bug ID: 66326
Summary: Floating point exception with -mfpmath=387 and
-fcilkplus.
Product: gcc
Version: 5.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: ejolson at unr dot edu
Target Milestone: ---
Created attachment 35648
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35648&action=edit
Test code to illustrate bug. Must be run on at least a 2-core system.
There appears a regression between the cilkplus-4_8-branch and the gcc-4.9 and
gcc-5.1 compilers when merging cilk into mainline. In particular, the flags
-mfpmath=387 and -fcilkplus can't be used together. As -mfpmath=sse is not an
option on 32-bit, this renders cilk essentially useless on non-64-bit Intel
architectures for floating point.