Commit 6f1fe305 by Jakub Jelinek Committed by Jakub Jelinek

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
parent 0ee1b105
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>
PR tree-optimization/37542
......
......@@ -1289,6 +1289,7 @@ execute_one_pass (struct opt_pass *pass)
if (initializing_dump
&& dump_file
&& graph_dump_format != no_graph
&& cfun
&& (cfun->curr_properties & (PROP_cfg | PROP_rtl))
== (PROP_cfg | PROP_rtl))
{
......
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>
PR fortran/37821
......
/* 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" } } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment