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 middle-end/23636] [4.0/4.1 Regression] crashes on ThreadWeaver compilation


------- 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


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