public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/16296] New: fegetround is pure?
@ 2013-12-05 23:18 marc.glisse at normalesup dot org
  2013-12-06  0:04 ` [Bug math/16296] " bugdal at aerifal dot cx
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: marc.glisse at normalesup dot org @ 2013-12-05 23:18 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 16296
           Summary: fegetround is pure?
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: marc.glisse at normalesup dot org

I could be wrong, but it seems that the function fegetround could get
__attribute_pure__, since it only reads a global state, and in particular the
usual optimizations (remove it if the result is unused, reuse the result from
the first call when there are two calls in a row) should be fine.

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


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

end of thread, other threads:[~2015-09-15 20:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-05 23:18 [Bug math/16296] New: fegetround is pure? marc.glisse at normalesup dot org
2013-12-06  0:04 ` [Bug math/16296] " bugdal at aerifal dot cx
2013-12-06  6:26 ` marc.glisse at normalesup dot org
2013-12-06  6:58 ` bugdal at aerifal dot cx
2014-06-13 11:29 ` fweimer at redhat dot com
2015-09-15 20:38 ` cvs-commit at gcc dot gnu.org
2015-09-15 20:38 ` jsm28 at gcc dot gnu.org

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).