Re: Getting format of arg_type

2016-04-17 Thread Manuel López-Ibáñez
On 15 April 2016 at 14:34, Prasad Ghangal wrote: > Hi! > > Regarding PR64955, I was observing function format_type_warning() (in > c-family/c-format.c), how can I get format specifier for arg_type? > > Say, if tree arg_type stores 'char', then how can I get its format i.e. 'c' ? That information

Getting format of arg_type

2016-04-15 Thread Prasad Ghangal
Hi! Regarding PR64955, I was observing function format_type_warning() (in c-family/c-format.c), how can I get format specifier for arg_type? Say, if tree arg_type stores 'char', then how can I get its format i.e. 'c' ? Thanks, Prasad Ghangal