Re: Question about dump_printf/dump_printf_loc

2017-05-08 Thread Jeff Law
On 05/05/2017 04:37 PM, Steve Ellcey wrote: I have a simple question about dump_printf and dump_printf_loc. I notice that most (all?) of the uses of these function are of the form: if (dump_enabled_p ()) dump_printf_loc (MSG_*, ..); Since dump_enabled_p() is just ch

Re: Question about dump_printf/dump_printf_loc

2017-05-08 Thread Richard Biener via gcc
On Sat, May 6, 2017 at 12:37 AM, Steve Ellcey wrote: > I have a simple question about dump_printf and dump_printf_loc. I notice > that most (all?) of the uses of these function are of the form: > > if (dump_enabled_p ()) > dump_printf_loc (MSG_*, ..); > > Since dump_en

Question about dump_printf/dump_printf_loc

2017-05-05 Thread Steve Ellcey
I have a simple question about dump_printf and dump_printf_loc. I notice that most (all?) of the uses of these function are of the form: if (dump_enabled_p ()) dump_printf_loc (MSG_*, ..); Since dump_enabled_p() is just checking to see if dump_file or alt_dump_file is