http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59061
--- Comment #15 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Kostya Serebryany from comment #7) > > > > Additionally, it seems important to have -g -fno-omit-frame-pointer in the > > options. Maybe gcc should add these options for best 'user experience', for > > example as part of -fsanitize=address/leak. Power users can always override > > with -fsanitize=leak -fomit-frame-pointer. > > -g: please no. -g incurs very large compile-time and binary size overhead. > we need something like -gmlt (in google's gcc branch, not sure if it's > available in trunk) or clang's -gline-tables-only. -g1 should be the same as clang's -gline-tables-only now. no need for -gmlt.