public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/95418] New: Static assert going off on MinGW
@ 2020-05-29 14:22 markus.boeck02 at gmail dot com
  2020-05-30 20:17 ` [Bug libfortran/95418] " anlauf at gcc dot gnu.org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: markus.boeck02 at gmail dot com @ 2020-05-29 14:22 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95418

            Bug ID: 95418
           Summary: Static assert going off on MinGW
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libfortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: markus.boeck02 at gmail dot com
  Target Milestone: ---

Since commit "i386: Use generic division to generate INEXACT exception"
(d3a1459cd4f2d4997fb53e34ddef72e91a7855c1) libgfortran is not able to be
compiled with the target x86_64-w64-mingw32. This is due to a _Static_assert
going off in fpu-target.h. The exact error message is:

In file included from ../../../libgfortran/runtime/fpu.c:29:
./fpu-target.h:91:1: error: static assertion failed: "GFC_FPE_STATE_BUFFER_SIZE
is too small"
   91 | _Static_assert (sizeof(struct fenv) <= (size_t)
GFC_FPE_STATE_BUFFER_SIZE,
      | ^~~~~~~~~~~~~~

Reverting the above commit makes compilation succeed.

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2020-06-01 20:35 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-29 14:22 [Bug libfortran/95418] New: Static assert going off on MinGW markus.boeck02 at gmail dot com
2020-05-30 20:17 ` [Bug libfortran/95418] " anlauf at gcc dot gnu.org
2020-05-31  9:07 ` markus.boeck02 at gmail dot com
2020-05-31 18:07 ` [Bug libfortran/95418] [11 Regression] " tkoenig at gcc dot gnu.org
2020-05-31 18:07 ` tkoenig at gcc dot gnu.org
2020-05-31 18:42 ` pinskia at gcc dot gnu.org
2020-05-31 18:55 ` pinskia at gcc dot gnu.org
2020-05-31 19:34 ` ubizjak at gmail dot com
2020-05-31 20:06 ` ubizjak at gmail dot com
2020-05-31 21:32 ` markus.boeck02 at gmail dot com
2020-05-31 22:07 ` tkoenig at gcc dot gnu.org
2020-06-01 20:29 ` cvs-commit at gcc dot gnu.org
2020-06-01 20:35 ` ubizjak at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).