Re: [google/gcc-4_9] Minor changes to -ftwo-level-line-tables

2015-03-03 Thread Dehao Chen
ok for google branch. Dehao On Tue, Mar 3, 2015 at 12:26 PM, Cary Coutant wrote: >>> @@ -21817,22 +21823,39 @@ out_subprog_directive (subprog_entry *su >>> { >>>tree decl = subprog->decl; >>>tree decl_name = DECL_NAME (decl); >>> - const char *name; >>> + tree origin; >> >> Explicitly

Re: [google/gcc-4_9] Minor changes to -ftwo-level-line-tables

2015-03-03 Thread Cary Coutant
>> @@ -21817,22 +21823,39 @@ out_subprog_directive (subprog_entry *su >> { >>tree decl = subprog->decl; >>tree decl_name = DECL_NAME (decl); >> - const char *name; >> + tree origin; > > Explicitly initialize origin to NULL_TREE; Done. >> + /* For inlined subroutines, use the linkage n

Re: [google/gcc-4_9] Minor changes to -ftwo-level-line-tables

2015-03-03 Thread Dehao Chen
On Tue, Mar 3, 2015 at 11:25 AM, Cary Coutant wrote: > This patch is for the google/gcc-4_9 branch. > > With this patch, we output an empty name for non-inlined functions, > and change the -ftwo-level-all-subprogs option to override this > behavior to output linkage names instead. The consumer can