This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/23636] [4.0/4.1 Regression] crashes on ThreadWeaver compilation
- 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: 30 Aug 2005 15:24:32 -0000
- Subject: [Bug middle-end/23636] [4.0/4.1 Regression] crashes on ThreadWeaver compilation
- References: <20050830134029.23636.gj@pointblue.com.pl>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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