This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/15485] [tree-ssa] The C++ front-end generates a lot of (void) casts for statements
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 May 2004 04:47:30 -0000
- Subject: [Bug c++/15485] [tree-ssa] The C++ front-end generates a lot of (void) casts for statements
- References: <20040517043902.15485.dann@godzilla.ics.uci.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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