This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc 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 math/22631] New: [m68k] Bad const attributes in bits/mathinline.h


https://sourceware.org/bugzilla/show_bug.cgi?id=22631

            Bug ID: 22631
           Summary: [m68k] Bad const attributes in bits/mathinline.h
           Product: glibc
           Version: 2.26
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org
  Target Milestone: ---
              Host: m68k-*-*

m68k bits/mathinline.h declares various functions with const attributes.  These
are inappropriate for functions that have results depending on the rounding
mode; the machine-independent bits/mathcalls.h only uses const attributes for a
very few functions with no rounding mode dependence, and the m68k header should
do likewise.  GCC uses pure for such functions with -frounding-math, resulting
in GCC mainline warning for conflicts with between the header and the built-in
attributes and glibc failing to build for m68k with GCC mainline.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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