------- Comment #6 from pinskia at gcc dot gnu dot org  2005-11-06 00:18 -------
Confirmed, reduced testcase:
struct string {
   struct _Alloc_hider {
   ~_Alloc_hider();
  };
    mutable _Alloc_hider _M_dataplus;
  };
  template<class T> string to_string(const T& t);
  struct debug_msg {
    debug_msg(int);
    template<class T>  debug_msg& operator << (const T& t);
  };
  struct debug {
    static debug& get() {
}
    bool operator ^ (const debug_msg& msg);
  };
  int f();
  int i;
  void set_handler(int fd) {
    (i >= 1)&& debug::get() ^ debug_msg(({
 static int l = f();
 l;
}
 ))  << to_string(1);
  }


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-11-06 00:18:05
               date|                            |


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

Reply via email to