Re: [PATCH] Fix fdump-passes

2015-03-20 Thread Richard Biener
On Thu, Mar 19, 2015 at 11:40 PM, Tom de Vries wrote: > [ was: Re: [PATCH, stage1] Make parloops gate more strict ] > On 19-03-15 10:00, Richard Biener wrote: Yeah - it makes the -fdump-passes "hack" more pervasive throughout >>the compiler. >> >>I suppose it should instea

[PATCH] Fix fdump-passes

2015-03-19 Thread Tom de Vries
[ was: Re: [PATCH, stage1] Make parloops gate more strict ] On 19-03-15 10:00, Richard Biener wrote: Yeah - it makes the -fdump-passes "hack" more pervasive throughout >>the compiler. >> >>I suppose it should instead build & push a "dummy" sturct function. >> > >Like this? Looks good to me.

Re: [PATCH] Fix -fdump-passes

2013-05-29 Thread Teresa Johnson
On Wed, May 29, 2013 at 1:32 PM, Jeff Law wrote: > On 05/29/2013 02:11 PM, Teresa Johnson wrote: >> >> This patch re-enables -fdump-passes. It had stopped working because >> dump_passes was changed to use the FOR_EACH_DEFINED_FUNCTION iterator, >> however, functions are not marked as defined until

Re: [PATCH] Fix -fdump-passes

2013-05-29 Thread Jeff Law
On 05/29/2013 02:11 PM, Teresa Johnson wrote: This patch re-enables -fdump-passes. It had stopped working because dump_passes was changed to use the FOR_EACH_DEFINED_FUNCTION iterator, however, functions are not marked as defined until after dump_passes is called, in cgraph_analyze_functions. Fix

[PATCH] Fix -fdump-passes

2013-05-29 Thread Teresa Johnson
This patch re-enables -fdump-passes. It had stopped working because dump_passes was changed to use the FOR_EACH_DEFINED_FUNCTION iterator, however, functions are not marked as defined until after dump_passes is called, in cgraph_analyze_functions. Fixed by iterating over all functions. Bootstrappe