public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jakub at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/37582] [4.3 Regression] std::pow strange overload resolution
Date: Fri, 12 Dec 2008 08:48:00 -0000	[thread overview]
Message-ID: <20081212084744.6562.qmail@sourceware.org> (raw)
In-Reply-To: <bug-37582-847@http.gcc.gnu.org/bugzilla/>



------- Comment #12 from jakub at gcc dot gnu dot org  2008-12-12 08:47 -------
Subject: Bug 37582

Author: jakub
Date: Fri Dec 12 08:46:26 2008
New Revision: 142704

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142704
Log:
        PR c++/37582
        * include/bits/cpp_type_traits.h (struct __traitand): New.
        * include/c_global/cmath (std::atan2, std::pow): Use __traitand
        instead of && as first argument to __enable_if.
        * include/c_std/cmath (std::atan2): Likewise.
        * testsuite/26_numerics/headers/cmath/37582.cc: New.

Added:
   
branches/gcc-4_3-branch/libstdc++-v3/testsuite/26_numerics/headers/cmath/37582.cc
Modified:
    branches/gcc-4_3-branch/libstdc++-v3/ChangeLog
    branches/gcc-4_3-branch/libstdc++-v3/include/bits/cpp_type_traits.h
    branches/gcc-4_3-branch/libstdc++-v3/include/c_global/cmath
    branches/gcc-4_3-branch/libstdc++-v3/include/c_std/cmath


-- 


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


  parent reply	other threads:[~2008-12-12  8:48 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-19  7:33 [Bug c++/37582] New: " jarausch at igpm dot rwth-aachen dot de
2008-09-19  7:34 ` [Bug c++/37582] " jarausch at igpm dot rwth-aachen dot de
2008-09-19  7:36 ` jarausch at igpm dot rwth-aachen dot de
2008-09-19  9:35 ` [Bug c++/37582] [4.3 Regression] " rguenth at gcc dot gnu dot org
2008-09-22 19:57 ` pinskia at gcc dot gnu dot org
2008-10-22 21:24 ` jakub at gcc dot gnu dot org
2008-12-11 11:47 ` rguenth at gcc dot gnu dot org
2008-12-11 17:21 ` hjl dot tools at gmail dot com
2008-12-11 17:26 ` jakub at gcc dot gnu dot org
2008-12-11 19:56 ` [Bug libstdc++/37582] " jakub at gcc dot gnu dot org
2008-12-11 20:06 ` paolo dot carlini at oracle dot com
2008-12-11 20:35 ` jakub at gcc dot gnu dot org
2008-12-12  8:48 ` jakub at gcc dot gnu dot org [this message]
2008-12-12  8:54 ` jakub at gcc dot gnu dot org
2008-12-12 11:24 ` jakub at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081212084744.6562.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).