------- Comment #3 from rguenth at gcc dot gnu dot org 2008-09-19 09:34 ------- Shorter testcase:
#include <cmath> class super_real { public: super_real (double); }; bool operator&& (int i, const super_real& a); double square(double a) { return std::pow(a,2.0); } -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu dot | |org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |rejects-valid Known to fail| |4.3.0 4.3.2 Known to work| |4.2.4 4.4.0 Priority|P3 |P1 Last reconfirmed|0000-00-00 00:00:00 |2008-09-19 09:34:07 date| | Summary|std::pow strange overload |[4.3 Regression] std::pow |resolution |strange overload resolution Target Milestone|--- |4.3.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37582