[Bug math/22631] New: [m68k] Bad const attributes in bits/mathinline.h
jsm28 at gcc dot gnu.org
sourceware-bugzilla@sourceware.org
Tue Dec 19 00:57:00 GMT 2017
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.
More information about the Glibc-bugs
mailing list