------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-30 
15:24 -------
Confirmed, reduced testcase:
class QMutexLocker {};
extern void __assert_fail ()      throw () __attribute__ ((__noreturn__));
struct QList {
 ~QList();
 bool isEmpty();
};
QList values();
void execute()
{
 ( { int l; static_cast<void>(((((values().isEmpty())) ? 0 : (__assert_fail (), 
0)))); });
}

We are missing a CLEANUP_POINT_EXPR, most likely because BIND_EXPR does not 
have its 
TREE_SIDE_EFFECTS set.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-08-30 15:24:23
               date|                            |


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

Reply via email to