This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/22631] New: [m68k] Bad const attributes in bits/mathinline.h
- From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 19 Dec 2017 00:57:05 +0000
- Subject: [Bug math/22631] New: [m68k] Bad const attributes in bits/mathinline.h
- Auto-submitted: auto-generated
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.