This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/43905] duplicate __PRETTY_FUNCTION__ symbol for functions differing in const-ness



------- Comment #3 from pinskia at gcc dot gnu dot org  2010-04-27 02:08 -------
Very reduced testcase:
 extern void sf ( __const char *);
struct Matrix{
   int operator[](int n){
   sf ( __PRETTY_FUNCTION__);
 }
   int operator[](int n)const{
   sf ( __PRETTY_FUNCTION__);
 }
 };
 void calcmy(Matrix const &b, Matrix &c, int k){
 b[k];
 c[k];
 }


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |assemble-failure, wrong-code
   Last reconfirmed|0000-00-00 00:00:00         |2010-04-27 02:08:44
               date|                            |
   Target Milestone|---                         |4.5.1


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]