[Bug ipa/70161] [4.9/5/6 Regression] fdump-ipa-all-graph causes segfault

2016-03-15 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70161 --- Comment #6 from vries at gcc dot gnu.org --- Author: vries Date: Tue Mar 15 11:51:32 2016 New Revision: 234211 URL: https://gcc.gnu.org/viewcvs?rev=234211&root=gcc&view=rev Log: Fix fdump-ipa-all-graph 2016-03-15 Tom de Vries PR

[Bug ipa/70161] [4.9/5/6 Regression] fdump-ipa-all-graph causes segfault

2016-03-14 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70161 vries at gcc dot gnu.org changed: What|Removed |Added Keywords||patch --- Comment #5 from vrie

[Bug ipa/70161] [4.9/5/6 Regression] fdump-ipa-all-graph causes segfault

2016-03-11 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70161 vries at gcc dot gnu.org changed: What|Removed |Added Attachment #37918|0 |1 is obsolete|

[Bug ipa/70161] [4.9/5/6 Regression] fdump-ipa-all-graph causes segfault

2016-03-11 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70161 --- Comment #3 from vries at gcc dot gnu.org --- (In reply to Richard Biener from comment #2) > Hum, what does it do if only guarding the !pass->graph_dump_initialized > check? That fixes the segfault, but we run into another segfault with -fipa-

[Bug ipa/70161] [4.9/5/6 Regression] fdump-ipa-all-graph causes segfault

2016-03-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70161 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug ipa/70161] [4.9/5/6 Regression] fdump-ipa-all-graph causes segfault

2016-03-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70161 --- Comment #2 from Richard Biener --- Hum, what does it do if only guarding the !pass->graph_dump_initialized check? Otherwise your patch is equivalent to removing the if (dump_file) do_per_function (execute_function_dump, NULL); call fr

[Bug ipa/70161] [4.9/5/6 Regression] fdump-ipa-all-graph causes segfault

2016-03-09 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70161 --- Comment #1 from vries at gcc dot gnu.org --- Created attachment 37918 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37918&action=edit tentative patch This patch fixes the ICE, and it seems that correct dot files are produced as well.

[Bug ipa/70161] [4.9/5/6 Regression] fdump-ipa-all-graph causes segfault

2016-03-09 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70161 vries at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |6.0 Summary|fdump-i