* [Bug c++/23636] crashes on ThreadWeaver compilation
2005-08-30 14:01 [Bug c++/23636] New: crashes on ThreadWeaver compilation gj at pointblue dot com dot pl
@ 2005-08-30 13:43 ` gj at pointblue dot com dot pl
2005-08-30 13:44 ` gj at pointblue dot com dot pl
` (12 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: gj at pointblue dot com dot pl @ 2005-08-30 13:43 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From gj at pointblue dot com dot pl 2005-08-30 13:41 -------
Created an attachment (id=9623)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9623&action=view)
offending file, full
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23636
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/23636] crashes on ThreadWeaver compilation
2005-08-30 14:01 [Bug c++/23636] New: crashes on ThreadWeaver compilation gj at pointblue dot com dot pl
2005-08-30 13:43 ` [Bug c++/23636] " gj at pointblue dot com dot pl
@ 2005-08-30 13:44 ` gj at pointblue dot com dot pl
2005-08-30 14:29 ` [Bug middle-end/23636] " pinskia at gcc dot gnu dot org
` (11 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: gj at pointblue dot com dot pl @ 2005-08-30 13:44 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From gj at pointblue dot com dot pl 2005-08-30 13:42 -------
Created an attachment (id=9624)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9624&action=view)
offending file, assembler
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23636
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug middle-end/23636] crashes on ThreadWeaver compilation
2005-08-30 14:01 [Bug c++/23636] New: crashes on ThreadWeaver compilation gj at pointblue dot com dot pl
2005-08-30 13:43 ` [Bug c++/23636] " gj at pointblue dot com dot pl
2005-08-30 13:44 ` gj at pointblue dot com dot pl
@ 2005-08-30 14:29 ` pinskia at gcc dot gnu dot org
2005-08-30 14:38 ` [Bug middle-end/23636] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
` (10 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-30 14:29 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|critical |normal
Component|c++ |middle-end
Keywords| |wrong-code
Summary|crashes on ThreadWeaver |crashes on ThreadWeaver
|compilation |compilation
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23636
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug middle-end/23636] [4.0/4.1 Regression] crashes on ThreadWeaver compilation
2005-08-30 14:01 [Bug c++/23636] New: crashes on ThreadWeaver compilation gj at pointblue dot com dot pl
` (2 preceding siblings ...)
2005-08-30 14:29 ` [Bug middle-end/23636] " pinskia at gcc dot gnu dot org
@ 2005-08-30 14:38 ` pinskia at gcc dot gnu dot org
2005-08-30 14:40 ` pinskia at gcc dot gnu dot org
` (9 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-30 14:38 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords|wrong-code |ice-on-valid-code
Summary|crashes on ThreadWeaver |[4.0/4.1 Regression] crashes
|compilation |on ThreadWeaver compilation
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23636
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug middle-end/23636] [4.0/4.1 Regression] crashes on ThreadWeaver compilation
2005-08-30 14:01 [Bug c++/23636] New: crashes on ThreadWeaver compilation gj at pointblue dot com dot pl
` (3 preceding siblings ...)
2005-08-30 14:38 ` [Bug middle-end/23636] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
@ 2005-08-30 14:40 ` pinskia at gcc dot gnu dot org
2005-08-30 14:42 ` pinskia at gcc dot gnu dot org
` (8 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-30 14:40 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.0.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23636
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug middle-end/23636] [4.0/4.1 Regression] crashes on ThreadWeaver compilation
2005-08-30 14:01 [Bug c++/23636] New: crashes on ThreadWeaver compilation gj at pointblue dot com dot pl
` (4 preceding siblings ...)
2005-08-30 14:40 ` pinskia at gcc dot gnu dot org
@ 2005-08-30 14:42 ` pinskia at gcc dot gnu dot org
2005-08-30 15:26 ` pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-30 14:42 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-30 14:39 -------
Reducing.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23636
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug middle-end/23636] [4.0/4.1 Regression] crashes on ThreadWeaver compilation
2005-08-30 14:01 [Bug c++/23636] New: crashes on ThreadWeaver compilation gj at pointblue dot com dot pl
` (5 preceding siblings ...)
2005-08-30 14:42 ` pinskia at gcc dot gnu dot org
@ 2005-08-30 15:26 ` pinskia at gcc dot gnu dot org
2005-08-31 0:11 ` [Bug c++/23636] " pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-30 15:26 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/23636] [4.0/4.1 Regression] crashes on ThreadWeaver compilation
2005-08-30 14:01 [Bug c++/23636] New: crashes on ThreadWeaver compilation gj at pointblue dot com dot pl
` (6 preceding siblings ...)
2005-08-30 15:26 ` pinskia at gcc dot gnu dot org
@ 2005-08-31 0:11 ` pinskia at gcc dot gnu dot org
2005-08-31 0:17 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-31 0:11 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-31 00:10 -------
This is a C++ front-end bug, EXPR_STMT should be a tcc_statement and not a tcc_expression.
I will test the patch for this.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Component|middle-end |c++
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23636
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/23636] [4.0/4.1 Regression] crashes on ThreadWeaver compilation
2005-08-30 14:01 [Bug c++/23636] New: crashes on ThreadWeaver compilation gj at pointblue dot com dot pl
` (7 preceding siblings ...)
2005-08-31 0:11 ` [Bug c++/23636] " pinskia at gcc dot gnu dot org
@ 2005-08-31 0:17 ` pinskia at gcc dot gnu dot org
2005-08-31 0:23 ` [Bug middle-end/23636] " pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-31 0:17 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-31 00:11 -------
Actually that does not fix the issue as we already have a CLEANUP_POINT_EXPR around it.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|pinskia at gcc dot gnu dot |unassigned at gcc dot gnu
|org |dot org
Status|ASSIGNED |NEW
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23636
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug middle-end/23636] [4.0/4.1 Regression] crashes on ThreadWeaver compilation
2005-08-30 14:01 [Bug c++/23636] New: crashes on ThreadWeaver compilation gj at pointblue dot com dot pl
` (8 preceding siblings ...)
2005-08-31 0:17 ` pinskia at gcc dot gnu dot org
@ 2005-08-31 0:23 ` pinskia at gcc dot gnu dot org
2005-08-31 4:40 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-31 0:23 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-31 00:17 -------
This is a middle-end, there is a CLEANUP_POINT_EXPR but for some reason it does not matter that
much.
--
What |Removed |Added
----------------------------------------------------------------------------
Component|c++ |middle-end
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23636
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug middle-end/23636] [4.0/4.1 Regression] crashes on ThreadWeaver compilation
2005-08-30 14:01 [Bug c++/23636] New: crashes on ThreadWeaver compilation gj at pointblue dot com dot pl
` (9 preceding siblings ...)
2005-08-31 0:23 ` [Bug middle-end/23636] " pinskia at gcc dot gnu dot org
@ 2005-08-31 4:40 ` pinskia at gcc dot gnu dot org
2005-08-31 5:42 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-31 4:40 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-31 03:34 -------
The problem is that gimplify_cleanup_point_expr does not look into BIND_EXPRs.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23636
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug middle-end/23636] [4.0/4.1 Regression] crashes on ThreadWeaver compilation
2005-08-30 14:01 [Bug c++/23636] New: crashes on ThreadWeaver compilation gj at pointblue dot com dot pl
` (10 preceding siblings ...)
2005-08-31 4:40 ` pinskia at gcc dot gnu dot org
@ 2005-08-31 5:42 ` pinskia at gcc dot gnu dot org
2005-08-31 11:45 ` [Bug c++/23636] " pinskia at gcc dot gnu dot org
2005-09-06 15:15 ` mmitchel at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-31 5:42 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-31 05:06 -------
Created an attachment (id=9628)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9628&action=view)
patch which should fix it but I need to test it
I am testing this patch which should fix the problem.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23636
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/23636] [4.0/4.1 Regression] crashes on ThreadWeaver compilation
2005-08-30 14:01 [Bug c++/23636] New: crashes on ThreadWeaver compilation gj at pointblue dot com dot pl
` (11 preceding siblings ...)
2005-08-31 5:42 ` pinskia at gcc dot gnu dot org
@ 2005-08-31 11:45 ` pinskia at gcc dot gnu dot org
2005-09-06 15:15 ` mmitchel at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-31 11:45 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-31 11:43 -------
Actually thinking about this again, my patch is wrong. The C++ front-end is missing a
CLEANUP_POINT_EXPR.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|pinskia at gcc dot gnu dot |unassigned at gcc dot gnu
|org |dot org
Status|ASSIGNED |NEW
Component|middle-end |c++
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23636
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/23636] [4.0/4.1 Regression] crashes on ThreadWeaver compilation
2005-08-30 14:01 [Bug c++/23636] New: crashes on ThreadWeaver compilation gj at pointblue dot com dot pl
` (12 preceding siblings ...)
2005-08-31 11:45 ` [Bug c++/23636] " pinskia at gcc dot gnu dot org
@ 2005-09-06 15:15 ` mmitchel at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-09-06 15:15 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From mmitchel at gcc dot gnu dot org 2005-09-06 15:15 -------
*** This bug has been marked as a duplicate of 21440 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23636
^ permalink raw reply [flat|nested] 15+ messages in thread