public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/42859] [4.5 regression] ICE in verify_flow_info
2010-01-25 0:11 [Bug c++/42859] New: [4.5 regression] ICE in verify_flow_info jojelino at gmail dot com
@ 2010-01-25 0:11 ` jojelino at gmail dot com
2010-01-25 0:23 ` jojelino at gmail dot com
` (10 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: jojelino at gmail dot com @ 2010-01-25 0:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from jojelino at gmail dot com 2010-01-25 00:11 -------
Created an attachment (id=19698)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19698&action=view)
testcase
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42859
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/42859] New: [4.5 regression] ICE in verify_flow_info
@ 2010-01-25 0:11 jojelino at gmail dot com
2010-01-25 0:11 ` [Bug c++/42859] " jojelino at gmail dot com
` (11 more replies)
0 siblings, 12 replies; 13+ messages in thread
From: jojelino at gmail dot com @ 2010-01-25 0:11 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 3430 bytes --]
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i686-pc-cygwin/4.5.0/lto-wrapper.exe
Target: i686-pc-cygwin
Configured with: ./configure --prefix=/usr --disable-win32-registry
--enable-threads=posix --enable-languages=c,c++,java
--with-win32-nlsapi=unicode --enable-tls --disable-bootstrap --enable-shared
--enable-interpreter --disable-sjlj-exceptions --enable-load-library
--enable-java-awt=gtk
Thread model: posix
gcc version 4.5.0 20100120 (experimental) (GCC)
COLLECT_GCC_OPTIONS='-nostdinc' '-v' '-shared-libgcc' '-mtune=generic'
/usr/libexec/gcc/i686-pc-cygwin/4.5.0/cc1plus.exe -fpreprocessed pthread.ii
-quiet -dumpbase pthread.ii -mtune=generic -auxbase pthread -version -o
/cygdrive/d/Temp/cache/ccycFNGG.s
GNU C++ (GCC) version 4.5.0 20100120 (experimental) (i686-pc-cygwin)
compiled by GNU C version 4.5.0 20100119 (experimental), GMP version
4.3.1, MPFR version 2.4.1-p5, MPC version 0.8
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU C++ (GCC) version 4.5.0 20100120 (experimental) (i686-pc-cygwin)
compiled by GNU C version 4.5.0 20100119 (experimental), GMP version
4.3.1, MPFR version 2.4.1-p5, MPC version 0.8
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 797829d91662cb6a9eac7b21dd4c8ffc
In file included from private.c:48:0,
from pthread.c:44:
ptw32_threadStart.c: In function ¡®unsigned int ptw32_threadStart(void*)¡¯:
ptw32_threadStart.c:256:45: warning: exception of type ¡®ptw32_exception¡¯ will
be caught
ptw32_threadStart.c:256:7: warning: by earlier handler for
¡®ptw32_exception¡¯
ptw32_threadStart.c:263:7: warning: exception of type ¡®ptw32_exception¡¯ will
be caught
ptw32_threadStart.c:256:45: warning: by earlier handler for
¡®ptw32_exception¡¯
ptw32_threadStart.c:286:41: warning: exception of type
¡®ptw32_exception_cancel¡¯ will be caught
ptw32_threadStart.c:286:3: warning: by earlier handler for
¡®ptw32_exception¡¯
ptw32_threadStart.c:293:41: warning: exception of type ¡®ptw32_exception_exit¡¯
will be caught
ptw32_threadStart.c:293:3: warning: by earlier handler for
¡®ptw32_exception¡¯
In file included from private.c:48:0,
from pthread.c:44:
ptw32_threadStart.c:125:1: error: case labels not sorted:
case 1: is greater than case 1: but comes before it.
ptw32_threadStart.c:125:1: error: case labels not sorted:
case 1: is greater than case 1: but comes before it.
ptw32_threadStart.c:125:1: error: case labels not sorted:
case 1: is greater than case 1: but comes before it.
ptw32_threadStart.c:125:1: error: case labels not sorted:
case 1: is greater than case 1: but comes before it.
ptw32_threadStart.c:125:1: internal compiler error: verify_flow_info failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: [4.5 regression] ICE in verify_flow_info
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jojelino at gmail dot com
GCC build triplet: i686-pc-cygwin
GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-pc-cygwin
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42859
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/42859] [4.5 regression] ICE in verify_flow_info
2010-01-25 0:11 [Bug c++/42859] New: [4.5 regression] ICE in verify_flow_info jojelino at gmail dot com
2010-01-25 0:11 ` [Bug c++/42859] " jojelino at gmail dot com
@ 2010-01-25 0:23 ` jojelino at gmail dot com
2010-01-25 9:56 ` [Bug middle-end/42859] " rguenth at gcc dot gnu dot org
` (9 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: jojelino at gmail dot com @ 2010-01-25 0:23 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from jojelino at gmail dot com 2010-01-25 00:23 -------
Created an attachment (id=19699)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19699&action=view)
testcase
other testcase
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42859
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug middle-end/42859] [4.5 regression] ICE in verify_flow_info
2010-01-25 0:11 [Bug c++/42859] New: [4.5 regression] ICE in verify_flow_info jojelino at gmail dot com
2010-01-25 0:11 ` [Bug c++/42859] " jojelino at gmail dot com
2010-01-25 0:23 ` jojelino at gmail dot com
@ 2010-01-25 9:56 ` rguenth at gcc dot gnu dot org
2010-01-25 10:06 ` rguenth at gcc dot gnu dot org
` (8 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-01-25 9:56 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from rguenth at gcc dot gnu dot org 2010-01-25 09:56 -------
Confirmed. Reducing.
--
rguenth 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 |2010-01-25 09:56:22
date| |
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42859
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug middle-end/42859] [4.5 regression] ICE in verify_flow_info
2010-01-25 0:11 [Bug c++/42859] New: [4.5 regression] ICE in verify_flow_info jojelino at gmail dot com
` (2 preceding siblings ...)
2010-01-25 9:56 ` [Bug middle-end/42859] " rguenth at gcc dot gnu dot org
@ 2010-01-25 10:06 ` rguenth at gcc dot gnu dot org
2010-01-27 22:10 ` steven at gcc dot gnu dot org
` (7 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-01-25 10:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from rguenth at gcc dot gnu dot org 2010-01-25 10:06 -------
I suppose this is from rths exception rewrite.
void start (void);
void ptw32_terminate (void)
{
try {
start ();
}
catch( int ) { }
catch( int ) { }
}
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rth at gcc dot gnu dot org
Priority|P3 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42859
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug middle-end/42859] [4.5 regression] ICE in verify_flow_info
2010-01-25 0:11 [Bug c++/42859] New: [4.5 regression] ICE in verify_flow_info jojelino at gmail dot com
` (3 preceding siblings ...)
2010-01-25 10:06 ` rguenth at gcc dot gnu dot org
@ 2010-01-27 22:10 ` steven at gcc dot gnu dot org
2010-02-16 15:43 ` abel at gcc dot gnu dot org
` (6 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: steven at gcc dot gnu dot org @ 2010-01-27 22:10 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from steven at gcc dot gnu dot org 2010-01-27 22:09 -------
Compiled the test case of comment #4 with:
"./cc1plus PR42859.ii -fdump-tree-all-all"
The dump PR42859.ii.040t.release_ssa:
void ptw32_terminate() ()
Eh tree:
3 cleanup
2 cleanup
1 try land:{1,<L1>} catch:{lab:<L2>;int},{lab:<L3>;int}
{
intD.2 D.1713;
intD.2 D.1708;
voidD.35 * D.1719;
voidD.35 * D.1718;
register intD.2 * D.1714;
voidD.35 * D.1717;
voidD.35 * D.1716;
register intD.2 * D.1711;
# BLOCK 2
# PRED: ENTRY (fallthru)
[LP 1] startD.1705 ();
# SUCC: 4 (eh) 3 (fallthru)
# BLOCK 3
# PRED: 2 (fallthru) 6 (fallthru) 7 (fallthru)
return;
# SUCC: EXIT
# BLOCK 4
# PRED: 2 (eh)
<L1>: [LP 1]
eh_dispatch 1
# SUCC: 6 7 5 (fallthru)
# BLOCK 5
# PRED: 4 (fallthru)
resx 1
# SUCC:
# BLOCK 6
# PRED: 4
<L2>:
D.1716_1 = __builtin_eh_pointerD.1627 (1);
D.1717_2 = __cxa_begin_catchD.1710 (D.1716_1);
D.1711_3 = (intD.2 *) D.1717_2;
D.1708_4 = *D.1711_3;
__cxa_end_catchD.1709 ();
goto <bb 3>;
# SUCC: 3 (fallthru)
# BLOCK 7
# PRED: 4
<L3>:
D.1718_5 = __builtin_eh_pointerD.1627 (1);
D.1719_6 = __cxa_begin_catchD.1710 (D.1718_5);
D.1714_7 = (intD.2 *) D.1719_6;
D.1713_8 = *D.1714_7;
__cxa_end_catchD.1709 ();
goto <bb 3>;
# SUCC: 3 (fallthru)
}
This gets lowered like so according to the dump PR42859.ii.055t.ehdisp:
void ptw32_terminate() ()
Eh tree:
3 cleanup
2 cleanup
1 try land:{1,<L1>} catch:{int},{int}
{
intD.2 D.1727;
intD.2 D.1713;
intD.2 D.1708;
voidD.35 * D.1719;
voidD.35 * D.1718;
register intD.2 * D.1714;
voidD.35 * D.1717;
voidD.35 * D.1716;
register intD.2 * D.1711;
# BLOCK 2
# PRED: ENTRY (fallthru)
[LP 1] startD.1705 ();
# SUCC: 4 (eh) 3 (fallthru)
# BLOCK 3
# PRED: 2 (fallthru) 6 (fallthru) 7 (fallthru)
return;
# SUCC: EXIT
# BLOCK 4
# PRED: 2 (eh)
<L1>: [LP 1]
D.1727_9 = __builtin_eh_filterD.1628 (1);
switch (D.1727_9) <default: <L4>, case 1: <L2>, case 1: <L3>>
# SUCC: 6 7 5
# BLOCK 5
# PRED: 4
<L4>:
resx 1
# SUCC:
# BLOCK 6
# PRED: 4
<L2>:
D.1716_1 = __builtin_eh_pointerD.1627 (1);
D.1717_2 = __cxa_begin_catchD.1710 (D.1716_1);
D.1711_3 = (intD.2 *) D.1717_2;
D.1708_4 = *D.1711_3;
__cxa_end_catchD.1709 ();
goto <bb 3>;
# SUCC: 3 (fallthru)
# BLOCK 7
# PRED: 4
<L3>:
D.1718_5 = __builtin_eh_pointerD.1627 (1);
D.1719_6 = __cxa_begin_catchD.1710 (D.1718_5);
D.1714_7 = (intD.2 *) D.1719_6;
D.1713_8 = *D.1714_7;
__cxa_end_catchD.1709 ();
goto <bb 3>;
# SUCC: 3 (fallthru)
}
Note the duplicate "case 1" label in "switch (D.1727_9) <default: <L4>, case 1:
<L2>, case 1: <L3>>" in basic block 4.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42859
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug middle-end/42859] [4.5 regression] ICE in verify_flow_info
2010-01-25 0:11 [Bug c++/42859] New: [4.5 regression] ICE in verify_flow_info jojelino at gmail dot com
` (4 preceding siblings ...)
2010-01-27 22:10 ` steven at gcc dot gnu dot org
@ 2010-02-16 15:43 ` abel at gcc dot gnu dot org
2010-02-22 10:55 ` rguenth at gcc dot gnu dot org
` (5 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: abel at gcc dot gnu dot org @ 2010-02-16 15:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from abel at gcc dot gnu dot org 2010-02-16 15:43 -------
How about the below patch? It fixes all testcases for me. I'm not sure
whether it makes sense to filter duplicate labels this late, but I don't know
how to do this earlier, as catches seem to be lowering independently of each
other.
diff --git a/gcc/tree-eh.c b/gcc/tree-eh.c
index 2cb334f..c18b807 100644
--- a/gcc/tree-eh.c
+++ b/gcc/tree-eh.c
@@ -28,6 +28,7 @@ along with GCC; see the file COPYING3. If not see
#include "flags.h"
#include "function.h"
#include "except.h"
+#include "pointer-set.h"
#include "tree-flow.h"
#include "tree-dump.h"
#include "tree-inline.h"
@@ -3063,6 +3064,7 @@ lower_eh_dispatch (basic_block src, gimple stmt)
eh_catch c;
edge_iterator ei;
edge e;
+ struct pointer_set_t *seen_values = pointer_set_create ();
/* Collect the labels for a switch. Zero the post_landing_pad
field becase we'll no longer have anything keeping these labels
@@ -3071,6 +3073,7 @@ lower_eh_dispatch (basic_block src, gimple stmt)
for (c = r->u.eh_try.first_catch; c ; c = c->next_catch)
{
tree tp_node, flt_node, lab = c->label;
+ bool have_label = false;
c->label = NULL;
tp_node = c->type_list;
@@ -3083,14 +3086,26 @@ lower_eh_dispatch (basic_block src, gimple stmt)
}
do
{
- tree t = build3 (CASE_LABEL_EXPR, void_type_node,
- TREE_VALUE (flt_node), NULL, lab);
- VEC_safe_push (tree, heap, labels, t);
+ /* Filter out duplicate labels that arise when this handler
+ is shadowed by an earlier one. When no labels are
+ attached to the handler anymore, we remove
+ the corresponding edge and then we delete unreachable
+ blocks at the end of this pass. */
+ if (! pointer_set_contains (seen_values, TREE_VALUE
(flt_node)))
+ {
+ tree t = build3 (CASE_LABEL_EXPR, void_type_node,
+ TREE_VALUE (flt_node), NULL, lab);
+ VEC_safe_push (tree, heap, labels, t);
+ pointer_set_insert (seen_values, TREE_VALUE (flt_node));
+ have_label = true;
+ }
tp_node = TREE_CHAIN (tp_node);
flt_node = TREE_CHAIN (flt_node);
}
while (tp_node);
+ if (! have_label)
+ remove_edge (find_edge (src, label_to_block (lab)));
}
/* Clean up the edge flags. */
@@ -3132,6 +3147,7 @@ lower_eh_dispatch (basic_block src, gimple stmt)
VEC_free (tree, heap, labels);
}
+ pointer_set_destroy (seen_values);
}
break;
@@ -3185,6 +3201,8 @@ execute_lower_eh_dispatch (void)
}
}
+ if (any_rewritten)
+ delete_unreachable_blocks ();
return any_rewritten ? TODO_update_ssa_only_virtuals : 0;
}
--
abel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |abel at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42859
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug middle-end/42859] [4.5 regression] ICE in verify_flow_info
2010-01-25 0:11 [Bug c++/42859] New: [4.5 regression] ICE in verify_flow_info jojelino at gmail dot com
` (5 preceding siblings ...)
2010-02-16 15:43 ` abel at gcc dot gnu dot org
@ 2010-02-22 10:55 ` rguenth at gcc dot gnu dot org
2010-02-22 20:10 ` abel at gcc dot gnu dot org
` (4 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-02-22 10:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from rguenth at gcc dot gnu dot org 2010-02-22 10:54 -------
(In reply to comment #6)
> How about the below patch? It fixes all testcases for me. I'm not sure
> whether it makes sense to filter duplicate labels this late, but I don't know
> how to do this earlier, as catches seem to be lowering independently of each
> other.
Looks sensible, though unreachable block removal should be conditional on
us removing an edge, not on lowering anything.
> diff --git a/gcc/tree-eh.c b/gcc/tree-eh.c
> index 2cb334f..c18b807 100644
> --- a/gcc/tree-eh.c
> +++ b/gcc/tree-eh.c
> @@ -28,6 +28,7 @@ along with GCC; see the file COPYING3. If not see
> #include "flags.h"
> #include "function.h"
> #include "except.h"
> +#include "pointer-set.h"
> #include "tree-flow.h"
> #include "tree-dump.h"
> #include "tree-inline.h"
> @@ -3063,6 +3064,7 @@ lower_eh_dispatch (basic_block src, gimple stmt)
> eh_catch c;
> edge_iterator ei;
> edge e;
> + struct pointer_set_t *seen_values = pointer_set_create ();
>
> /* Collect the labels for a switch. Zero the post_landing_pad
> field becase we'll no longer have anything keeping these labels
> @@ -3071,6 +3073,7 @@ lower_eh_dispatch (basic_block src, gimple stmt)
> for (c = r->u.eh_try.first_catch; c ; c = c->next_catch)
> {
> tree tp_node, flt_node, lab = c->label;
> + bool have_label = false;
>
> c->label = NULL;
> tp_node = c->type_list;
> @@ -3083,14 +3086,26 @@ lower_eh_dispatch (basic_block src, gimple stmt)
> }
> do
> {
> - tree t = build3 (CASE_LABEL_EXPR, void_type_node,
> - TREE_VALUE (flt_node), NULL, lab);
> - VEC_safe_push (tree, heap, labels, t);
> + /* Filter out duplicate labels that arise when this handler
> + is shadowed by an earlier one. When no labels are
> + attached to the handler anymore, we remove
> + the corresponding edge and then we delete unreachable
> + blocks at the end of this pass. */
> + if (! pointer_set_contains (seen_values, TREE_VALUE
> (flt_node)))
> + {
> + tree t = build3 (CASE_LABEL_EXPR, void_type_node,
> + TREE_VALUE (flt_node), NULL, lab);
> + VEC_safe_push (tree, heap, labels, t);
> + pointer_set_insert (seen_values, TREE_VALUE (flt_node));
> + have_label = true;
> + }
>
> tp_node = TREE_CHAIN (tp_node);
> flt_node = TREE_CHAIN (flt_node);
> }
> while (tp_node);
> + if (! have_label)
> + remove_edge (find_edge (src, label_to_block (lab)));
> }
>
> /* Clean up the edge flags. */
> @@ -3132,6 +3147,7 @@ lower_eh_dispatch (basic_block src, gimple stmt)
>
> VEC_free (tree, heap, labels);
> }
> + pointer_set_destroy (seen_values);
> }
> break;
>
> @@ -3185,6 +3201,8 @@ execute_lower_eh_dispatch (void)
> }
> }
>
> + if (any_rewritten)
> + delete_unreachable_blocks ();
> return any_rewritten ? TODO_update_ssa_only_virtuals : 0;
> }
>
>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42859
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug middle-end/42859] [4.5 regression] ICE in verify_flow_info
2010-01-25 0:11 [Bug c++/42859] New: [4.5 regression] ICE in verify_flow_info jojelino at gmail dot com
` (6 preceding siblings ...)
2010-02-22 10:55 ` rguenth at gcc dot gnu dot org
@ 2010-02-22 20:10 ` abel at gcc dot gnu dot org
2010-02-24 15:59 ` abel at gcc dot gnu dot org
` (3 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: abel at gcc dot gnu dot org @ 2010-02-22 20:10 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from abel at gcc dot gnu dot org 2010-02-22 20:10 -------
(In reply to comment #7)
> Looks sensible, though unreachable block removal should be conditional on
> us removing an edge, not on lowering anything.
Sure, I'd just make lower_eh_dispatch return a boolean for this and repost to
gcc-patches.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42859
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug middle-end/42859] [4.5 regression] ICE in verify_flow_info
2010-01-25 0:11 [Bug c++/42859] New: [4.5 regression] ICE in verify_flow_info jojelino at gmail dot com
` (7 preceding siblings ...)
2010-02-22 20:10 ` abel at gcc dot gnu dot org
@ 2010-02-24 15:59 ` abel at gcc dot gnu dot org
2010-03-10 11:09 ` abel at gcc dot gnu dot org
` (2 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: abel at gcc dot gnu dot org @ 2010-02-24 15:59 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from abel at gcc dot gnu dot org 2010-02-24 15:58 -------
Created an attachment (id=19949)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19949&action=view)
patch
Here is the updated patch, it bootstraps and regtests fine on x86-64 linux.
I'm leaving for about a week starting tomorrow, so no post to gcc-patches now,
sorry.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42859
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug middle-end/42859] [4.5 regression] ICE in verify_flow_info
2010-01-25 0:11 [Bug c++/42859] New: [4.5 regression] ICE in verify_flow_info jojelino at gmail dot com
` (9 preceding siblings ...)
2010-03-10 11:09 ` abel at gcc dot gnu dot org
@ 2010-03-10 11:09 ` abel at gcc dot gnu dot org
2010-03-13 17:02 ` hjl at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: abel at gcc dot gnu dot org @ 2010-03-10 11:09 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from abel at gcc dot gnu dot org 2010-03-10 11:09 -------
Subject: Bug 42859
Author: abel
Date: Wed Mar 10 11:08:48 2010
New Revision: 157337
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157337
Log:
PR middle-end/42859
* tree-eh.c: Include pointer-set.h.
(lower_eh_dispatch): Filter out duplicate case labels and
remove the unneeded edge when the label is unused. Return
true when some edges are removed.
(execute_lower_eh_dispatch): When any lowering resulted in
removing an edge, also delete unreachable blocks.
* g++.dg/eh/pr42859.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/eh/pr42859.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-eh.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42859
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug middle-end/42859] [4.5 regression] ICE in verify_flow_info
2010-01-25 0:11 [Bug c++/42859] New: [4.5 regression] ICE in verify_flow_info jojelino at gmail dot com
` (8 preceding siblings ...)
2010-02-24 15:59 ` abel at gcc dot gnu dot org
@ 2010-03-10 11:09 ` abel at gcc dot gnu dot org
2010-03-10 11:09 ` abel at gcc dot gnu dot org
2010-03-13 17:02 ` hjl at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: abel at gcc dot gnu dot org @ 2010-03-10 11:09 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from abel at gcc dot gnu dot org 2010-03-10 11:09 -------
Fixed.
--
abel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42859
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug middle-end/42859] [4.5 regression] ICE in verify_flow_info
2010-01-25 0:11 [Bug c++/42859] New: [4.5 regression] ICE in verify_flow_info jojelino at gmail dot com
` (10 preceding siblings ...)
2010-03-10 11:09 ` abel at gcc dot gnu dot org
@ 2010-03-13 17:02 ` hjl at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: hjl at gcc dot gnu dot org @ 2010-03-13 17:02 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from hjl at gcc dot gnu dot org 2010-03-13 16:59 -------
Subject: Bug 42859
Author: hjl
Date: Sat Mar 13 16:58:19 2010
New Revision: 157426
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157426
Log:
Backport testcases from mainline.
2010-03-13 H.J. Lu <hongjiu.lu@intel.com>
Backport from mainline:
2010-03-11 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/43257
* g++.dg/torture/pr43257.C: New test.
2010-03-11 Richard Guenther <rguenther@suse.de>
PR tree-optimization/43255
* gcc.c-torture/compile/pr43255.c: New testcase.
2010-03-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* gcc.dg/pr43280.c: New testcase.
2010-03-10 Jan Hubicka <jh@suse.cz>
* gcc.c-torture/compile/pr43288.c: New test.
2010-03-10 Andrey Belevantsev <abel@ispras.ru>
PR middle-end/42859
* g++.dg/eh/pr42859.C: New test.
2010-03-09 Jakub Jelinek <jakub@redhat.com>
PR debug/43299
* gcc.dg/pr43299.c: New test.
2010-03-08 Richard Guenther <rguenther@suse.de>
PR tree-optimization/43269
* gcc.c-torture/execute/pr43269.c: New testcase.
2010-03-04 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/43164
PR tree-optimization/43191
* gcc.c-torture/compile/pr43164.c: New test.
* gcc.c-torture/compile/pr43191.c: Likewise.
2010-03-04 Changpeng Fang <changpeng.fang@amd.com>
PR middle-end/43209
* gcc.dg/tree-ssa/ivopts-4.c: New.
2010-03-03 Jakub Jelinek <jakub@redhat.com>
PR debug/43229
* gfortran.dg/pr43229.f90: New test.
PR debug/43237
* gcc.dg/debug/dwarf2/pr43237.c: New test.
2010-03-02 Paul Thomas <pault@gcc.gnu.org>
PR fortran/43180
* gfortran.dg/internal_pack_10.f90: New test.
2010-02-26 Richard Guenther <rguenther@suse.de>
PR tree-optimization/43188
* gcc.c-torture/compile/pr43188.c: New testcase.
2010-02-25 Jakub Jelinek <jakub@redhat.com>
PR debug/43166
* gfortran.dg/debug/pr43166.f: New test.
PR debug/43165
* gcc.dg/torture/pr43165.c: New test.
2010-02-23 Jakub Jelinek <jakub@redhat.com>
PR target/43107
* gcc.target/i386/pr43107.c: New test.
Added:
branches/gcc-4_4-branch/gcc/testsuite/g++.dg/eh/pr42859.C
- copied unchanged from r157425, trunk/gcc/testsuite/g++.dg/eh/pr42859.C
branches/gcc-4_4-branch/gcc/testsuite/g++.dg/torture/pr43257.C
- copied unchanged from r157425,
trunk/gcc/testsuite/g++.dg/torture/pr43257.C
branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/compile/pr43164.c
- copied unchanged from r157425,
trunk/gcc/testsuite/gcc.c-torture/compile/pr43164.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/compile/pr43188.c
- copied unchanged from r157425,
trunk/gcc/testsuite/gcc.c-torture/compile/pr43188.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/compile/pr43191.c
- copied unchanged from r157425,
trunk/gcc/testsuite/gcc.c-torture/compile/pr43191.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/compile/pr43255.c
- copied unchanged from r157425,
trunk/gcc/testsuite/gcc.c-torture/compile/pr43255.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/compile/pr43288.c
- copied unchanged from r157425,
trunk/gcc/testsuite/gcc.c-torture/compile/pr43288.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/execute/pr43269.c
- copied unchanged from r157425,
trunk/gcc/testsuite/gcc.c-torture/execute/pr43269.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/debug/dwarf2/pr43237.c
- copied unchanged from r157425,
trunk/gcc/testsuite/gcc.dg/debug/dwarf2/pr43237.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/pr43280.c
- copied unchanged from r157425, trunk/gcc/testsuite/gcc.dg/pr43280.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/pr43299.c
- copied unchanged from r157425, trunk/gcc/testsuite/gcc.dg/pr43299.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/torture/pr43165.c
- copied unchanged from r157425,
trunk/gcc/testsuite/gcc.dg/torture/pr43165.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/tree-ssa/ivopts-4.c
- copied unchanged from r157425,
trunk/gcc/testsuite/gcc.dg/tree-ssa/ivopts-4.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.target/i386/pr43107.c
- copied unchanged from r157425,
trunk/gcc/testsuite/gcc.target/i386/pr43107.c
branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/debug/pr43166.f
- copied unchanged from r157425,
trunk/gcc/testsuite/gfortran.dg/debug/pr43166.f
branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/internal_pack_10.f90
- copied unchanged from r157425,
trunk/gcc/testsuite/gfortran.dg/internal_pack_10.f90
branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/pr43229.f90
- copied unchanged from r157425,
trunk/gcc/testsuite/gfortran.dg/pr43229.f90
Modified:
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42859
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2010-03-13 17:01 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-25 0:11 [Bug c++/42859] New: [4.5 regression] ICE in verify_flow_info jojelino at gmail dot com
2010-01-25 0:11 ` [Bug c++/42859] " jojelino at gmail dot com
2010-01-25 0:23 ` jojelino at gmail dot com
2010-01-25 9:56 ` [Bug middle-end/42859] " rguenth at gcc dot gnu dot org
2010-01-25 10:06 ` rguenth at gcc dot gnu dot org
2010-01-27 22:10 ` steven at gcc dot gnu dot org
2010-02-16 15:43 ` abel at gcc dot gnu dot org
2010-02-22 10:55 ` rguenth at gcc dot gnu dot org
2010-02-22 20:10 ` abel at gcc dot gnu dot org
2010-02-24 15:59 ` abel at gcc dot gnu dot org
2010-03-10 11:09 ` abel at gcc dot gnu dot org
2010-03-10 11:09 ` abel at gcc dot gnu dot org
2010-03-13 17:02 ` hjl at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).