public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/53267] New: Constant fold BUILT_IN_FMOD
@ 2012-05-07 15:55 jb at gcc dot gnu.org
  2021-06-09 15:25 ` [Bug middle-end/53267] " cvs-commit at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jb at gcc dot gnu.org @ 2012-05-07 15:55 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53267

             Bug #: 53267
           Summary: Constant fold BUILT_IN_FMOD
    Classification: Unclassified
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: jb@gcc.gnu.org


Now that we require at least MPFR 2.4.0, mpfr_fmod() could be used to constant
fold BUILT_IN_FMOD{F,,L}.


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

* [Bug middle-end/53267] Constant fold BUILT_IN_FMOD
  2012-05-07 15:55 [Bug middle-end/53267] New: Constant fold BUILT_IN_FMOD jb at gcc dot gnu.org
@ 2021-06-09 15:25 ` cvs-commit at gcc dot gnu.org
  2021-06-09 15:50 ` pinskia at gcc dot gnu.org
  2021-06-09 15:51 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-06-09 15:25 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jeff Law <law@gcc.gnu.org>:

https://gcc.gnu.org/g:2c17b5f8cca82d1957242055991a2c23184a1af1

commit r12-1332-g2c17b5f8cca82d1957242055991a2c23184a1af1
Author: Roger Sayle <roger@nextmovesoftware.com>
Date:   Wed Jun 9 11:23:41 2021 -0400

    [PATCH] PR middle-end/53267: Constant fold BUILT_IN_FMOD.

    gcc/ChangeLog
            PR middle-end/53267
            * fold-const-call.c (fold_const_call_sss) [CASE_CFN_FMOD]:
            Support evaluation of fmod/fmodf/fmodl at compile-time.

    gcc/testsuite/ChangeLog
            * gcc.dg/builtins-70.c: New test.

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

* [Bug middle-end/53267] Constant fold BUILT_IN_FMOD
  2012-05-07 15:55 [Bug middle-end/53267] New: Constant fold BUILT_IN_FMOD jb at gcc dot gnu.org
  2021-06-09 15:25 ` [Bug middle-end/53267] " cvs-commit at gcc dot gnu.org
@ 2021-06-09 15:50 ` pinskia at gcc dot gnu.org
  2021-06-09 15:51 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-06-09 15:50 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed.

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

* [Bug middle-end/53267] Constant fold BUILT_IN_FMOD
  2012-05-07 15:55 [Bug middle-end/53267] New: Constant fold BUILT_IN_FMOD jb at gcc dot gnu.org
  2021-06-09 15:25 ` [Bug middle-end/53267] " cvs-commit at gcc dot gnu.org
  2021-06-09 15:50 ` pinskia at gcc dot gnu.org
@ 2021-06-09 15:51 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-06-09 15:51 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |12.0

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

end of thread, other threads:[~2021-06-09 15:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-07 15:55 [Bug middle-end/53267] New: Constant fold BUILT_IN_FMOD jb at gcc dot gnu.org
2021-06-09 15:25 ` [Bug middle-end/53267] " cvs-commit at gcc dot gnu.org
2021-06-09 15:50 ` pinskia at gcc dot gnu.org
2021-06-09 15:51 ` pinskia 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).