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 c++/15485] [tree-ssa] The C++ front-end generates a lot of (void) casts for statements


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-17 04:47 -------
Confirmed, here is a small example:
  struct _Refcount_Base
{
  volatile int _M_ref_count;
  void *_M_ref_count_lock;
  _Refcount_Base(int);
};
_Refcount_Base::_Refcount_Base (int __n): _M_ref_count(__n)
{
void *__tmp = 0;
_M_ref_count_lock = __tmp;
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |memory-hog
   Last reconfirmed|0000-00-00 00:00:00         |2004-05-17 04:47:28
               date|                            |


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


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