re PR middle-end/37858 (ICE when "-fdump-ipa-all -dv" is used)
PR middle-end/37858 * passes.c (execute_one_pass): Don't look at cfun->curr_properties for ipa and simple ipa passes. * gcc.dg/pr37858.c: New test. From-SVN: r141545
This commit is contained in:
parent
0ee1b105a3
commit
6f1fe305cc
@ -1,3 +1,9 @@
|
|||||||
|
2008-11-03 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
|
PR middle-end/37858
|
||||||
|
* passes.c (execute_one_pass): Don't look at cfun->curr_properties
|
||||||
|
for ipa and simple ipa passes.
|
||||||
|
|
||||||
2008-11-02 Richard Guenther <rguenther@suse.de>
|
2008-11-02 Richard Guenther <rguenther@suse.de>
|
||||||
|
|
||||||
PR tree-optimization/37542
|
PR tree-optimization/37542
|
||||||
|
@ -1289,6 +1289,7 @@ execute_one_pass (struct opt_pass *pass)
|
|||||||
if (initializing_dump
|
if (initializing_dump
|
||||||
&& dump_file
|
&& dump_file
|
||||||
&& graph_dump_format != no_graph
|
&& graph_dump_format != no_graph
|
||||||
|
&& cfun
|
||||||
&& (cfun->curr_properties & (PROP_cfg | PROP_rtl))
|
&& (cfun->curr_properties & (PROP_cfg | PROP_rtl))
|
||||||
== (PROP_cfg | PROP_rtl))
|
== (PROP_cfg | PROP_rtl))
|
||||||
{
|
{
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2008-11-03 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
|
PR middle-end/37858
|
||||||
|
* gcc.dg/pr37858.c: New test.
|
||||||
|
|
||||||
2008-11-03 Tobias Burnus <burnus@net-b.de>
|
2008-11-03 Tobias Burnus <burnus@net-b.de>
|
||||||
|
|
||||||
PR fortran/37821
|
PR fortran/37821
|
||||||
|
11
gcc/testsuite/gcc.dg/pr37858.c
Normal file
11
gcc/testsuite/gcc.dg/pr37858.c
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
/* PR middle-end/37858 */
|
||||||
|
/* { dg-do compile } */
|
||||||
|
/* { dg-options "-O2 -fdump-ipa-early_local_cleanups -dv" } */
|
||||||
|
|
||||||
|
int
|
||||||
|
main (void)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* { dg-final { cleanup-ipa-dump "early_local_cleanups" } } */
|
Loading…
x
Reference in New Issue
Block a user