[Bug c++/50921] GCC cannot find dependent conversion-function-id even if there's a using declaration for it

2021-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50921

Andrew Pinski  changed:

   What|Removed |Added

   Keywords||rejects-valid
  Known to fail||11.1.0
 Status|ASSIGNED|NEW
   Last reconfirmed|2012-08-31 00:00:00 |2021-8-3
   Assignee|fabien at gcc dot gnu.org  |unassigned at gcc dot 
gnu.org

--- Comment #5 from Andrew Pinski  ---
So it seems like it is only the conversion operators and only if explicitly
called.

[Bug c++/50921] GCC cannot find dependent conversion-function-id even if there's a using declaration for it

2014-09-09 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50921

Paolo Carlini paolo.carlini at oracle dot com changed:

   What|Removed |Added

 CC||paolo.carlini at oracle dot com

--- Comment #4 from Paolo Carlini paolo.carlini at oracle dot com ---
Any news?


[Bug c++/50921] GCC cannot find dependent conversion-function-id even if there's a using declaration for it

2012-08-31 Thread fabien at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50921

fabien at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2012-08-31
 Ever Confirmed|0   |1
  Known to fail||4.6.3, 4.7.0, 4.8.0

--- Comment #3 from fabien at gcc dot gnu.org 2012-08-31 20:04:41 UTC ---
(In reply to comment #2)
 Fabien, you may be interested in this one.

Indeed! Thanks for notifying me.


[Bug c++/50921] GCC cannot find dependent conversion-function-id even if there's a using declaration for it

2012-08-24 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50921

Paolo Carlini paolo.carlini at oracle dot com changed:

   What|Removed |Added

 CC||fabien at gcc dot gnu.org

--- Comment #2 from Paolo Carlini paolo.carlini at oracle dot com 2012-08-24 
21:11:13 UTC ---
Fabien, you may be interested in this one.


[Bug c++/50921] GCC cannot find dependent conversion-function-id even if there's a using declaration for it

2011-10-30 Thread schaub.johannes at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50921

--- Comment #1 from Johannes Schaub schaub.johannes at googlemail dot com 
2011-10-30 13:54:21 UTC ---
Someone notified me that you can substantially reduce this to the following

templatetypename T
struct Base {
  operator int();
};

templatetypename T
struct Derived : BaseT {
  using BaseT::operator int;
  void f() { 
int x = operator int(); 
(void) x;
  }
};

int main() {
  Derivedint d;
  d.f();
}

Same diagnostic is given.