This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/66326] New: Floating point exception with -mfpmath=387 and -fcilkplus.


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]