* [Bug c++/31617] [4.3 Regression] Segfault in integer_zerop, called via ipa-type-escape.c
2007-04-18 6:26 [Bug c++/31617] New: [4.3 Regression] Segfault in integer_zerop, called via ipa-type-escape.c tbm at cyrius dot com
@ 2007-04-18 6:27 ` tbm at cyrius dot com
2007-04-18 6:30 ` tbm at cyrius dot com
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: tbm at cyrius dot com @ 2007-04-18 6:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from tbm at cyrius dot com 2007-04-18 07:27 -------
Created an attachment (id=13388)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13388&action=view)
testcase
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31617
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/31617] [4.3 Regression] Segfault in integer_zerop, called via ipa-type-escape.c
2007-04-18 6:26 [Bug c++/31617] New: [4.3 Regression] Segfault in integer_zerop, called via ipa-type-escape.c tbm at cyrius dot com
2007-04-18 6:27 ` [Bug c++/31617] " tbm at cyrius dot com
@ 2007-04-18 6:30 ` tbm at cyrius dot com
2007-04-18 6:37 ` tbm at cyrius dot com
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: tbm at cyrius dot com @ 2007-04-18 6:30 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from tbm at cyrius dot com 2007-04-18 07:30 -------
I should mention that you need -O2 to see this. I've confirmed the segfault
on x86_64 and ia64.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31617
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/31617] [4.3 Regression] Segfault in integer_zerop, called via ipa-type-escape.c
2007-04-18 6:26 [Bug c++/31617] New: [4.3 Regression] Segfault in integer_zerop, called via ipa-type-escape.c tbm at cyrius dot com
2007-04-18 6:27 ` [Bug c++/31617] " tbm at cyrius dot com
2007-04-18 6:30 ` tbm at cyrius dot com
@ 2007-04-18 6:37 ` tbm at cyrius dot com
2007-04-18 6:40 ` tbm at cyrius dot com
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: tbm at cyrius dot com @ 2007-04-18 6:37 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from tbm at cyrius dot com 2007-04-18 07:37 -------
Works with 4.3 20070303
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31617
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/31617] [4.3 Regression] Segfault in integer_zerop, called via ipa-type-escape.c
2007-04-18 6:26 [Bug c++/31617] New: [4.3 Regression] Segfault in integer_zerop, called via ipa-type-escape.c tbm at cyrius dot com
` (2 preceding siblings ...)
2007-04-18 6:37 ` tbm at cyrius dot com
@ 2007-04-18 6:40 ` tbm at cyrius dot com
2007-04-18 20:36 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: tbm at cyrius dot com @ 2007-04-18 6:40 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from tbm at cyrius dot com 2007-04-18 07:39 -------
Olga Golovanevsky <olga@il.ibm.com> made some changes to that part of the
compiler during this period. Added to CC.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31617
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/31617] [4.3 Regression] Segfault in integer_zerop, called via ipa-type-escape.c
2007-04-18 6:26 [Bug c++/31617] New: [4.3 Regression] Segfault in integer_zerop, called via ipa-type-escape.c tbm at cyrius dot com
` (3 preceding siblings ...)
2007-04-18 6:40 ` tbm at cyrius dot com
@ 2007-04-18 20:36 ` pinskia at gcc dot gnu dot org
2007-04-18 20:38 ` [Bug middle-end/31617] " pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-04-18 20:36 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31617
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug middle-end/31617] [4.3 Regression] Segfault in integer_zerop, called via ipa-type-escape.c
2007-04-18 6:26 [Bug c++/31617] New: [4.3 Regression] Segfault in integer_zerop, called via ipa-type-escape.c tbm at cyrius dot com
` (4 preceding siblings ...)
2007-04-18 20:36 ` pinskia at gcc dot gnu dot org
@ 2007-04-18 20:38 ` pinskia at gcc dot gnu dot org
2007-04-18 20:57 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-04-18 20:38 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from pinskia at gcc dot gnu dot org 2007-04-18 21:38 -------
13207 return integer_zerop (int_const_binop (TRUNC_MOD_EXPR,
13208 top, bottom, 0));
(gdb) p debug_generic_expr (top)
4
$1 = void
(gdb) p debug_generic_expr (bottom)
0
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31617
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug middle-end/31617] [4.3 Regression] Segfault in integer_zerop, called via ipa-type-escape.c
2007-04-18 6:26 [Bug c++/31617] New: [4.3 Regression] Segfault in integer_zerop, called via ipa-type-escape.c tbm at cyrius dot com
` (5 preceding siblings ...)
2007-04-18 20:38 ` [Bug middle-end/31617] " pinskia at gcc dot gnu dot org
@ 2007-04-18 20:57 ` pinskia at gcc dot gnu dot org
2007-04-26 21:02 ` sje at gcc dot gnu dot org
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-04-18 20:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from pinskia at gcc dot gnu dot org 2007-04-18 21:57 -------
1469 tree size_of_op0_points_to = TYPE_SIZE_UNIT (TREE_TYPE
(op0type));
and size_of_op0_points_to is a zero constant.
Reduced testcase:
struct polynomial {
~polynomial ();
};
void spline_rep1()
{
new polynomial[0];
}
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-04-18 21:57:07
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31617
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug middle-end/31617] [4.3 Regression] Segfault in integer_zerop, called via ipa-type-escape.c
2007-04-18 6:26 [Bug c++/31617] New: [4.3 Regression] Segfault in integer_zerop, called via ipa-type-escape.c tbm at cyrius dot com
` (6 preceding siblings ...)
2007-04-18 20:57 ` pinskia at gcc dot gnu dot org
@ 2007-04-26 21:02 ` sje at gcc dot gnu dot org
2007-04-27 21:31 ` olga at il dot ibm dot com
2007-04-27 21:41 ` olga at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: sje at gcc dot gnu dot org @ 2007-04-26 21:02 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from sje at gcc dot gnu dot org 2007-04-26 22:02 -------
Subject: Bug 31617
Author: sje
Date: Thu Apr 26 22:02:05 2007
New Revision: 124197
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124197
Log:
PR middle-end/31617
* g++.dg/other/str_empty.C: Add expected warning.
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/other/str_empty.C
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31617
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug middle-end/31617] [4.3 Regression] Segfault in integer_zerop, called via ipa-type-escape.c
2007-04-18 6:26 [Bug c++/31617] New: [4.3 Regression] Segfault in integer_zerop, called via ipa-type-escape.c tbm at cyrius dot com
` (7 preceding siblings ...)
2007-04-26 21:02 ` sje at gcc dot gnu dot org
@ 2007-04-27 21:31 ` olga at il dot ibm dot com
2007-04-27 21:41 ` olga at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: olga at il dot ibm dot com @ 2007-04-27 21:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from olga at il dot ibm dot com 2007-04-27 22:31 -------
The fix was submitted
http://gcc.gnu.org/ml/gcc-patches/2007-04/msg01578.html
and committed to mainline 4.3.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31617
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug middle-end/31617] [4.3 Regression] Segfault in integer_zerop, called via ipa-type-escape.c
2007-04-18 6:26 [Bug c++/31617] New: [4.3 Regression] Segfault in integer_zerop, called via ipa-type-escape.c tbm at cyrius dot com
` (8 preceding siblings ...)
2007-04-27 21:31 ` olga at il dot ibm dot com
@ 2007-04-27 21:41 ` olga at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: olga at gcc dot gnu dot org @ 2007-04-27 21:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from olga at gcc dot gnu dot org 2007-04-27 22:41 -------
FIXED.
--
olga at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31617
^ permalink raw reply [flat|nested] 11+ messages in thread