On Wed, Aug 24, 2016 at 3:45 PM, Bernd Schmidt <bschm...@redhat.com> wrote: > On 08/24/2016 03:28 AM, David Malcolm wrote: > >> (B) -fdiagnostics-apply-fixits, which writes back the changes >> to the input files. > > > That sounds really scary, there's no way I'd personally ever enable > something like this. Do we have any data about what percentage of fixits > actually correctly identify the problem? > > We also better make really sure there's no way we'll get bug reports along > the lines of "gcc ate my program and now it's gone".
You never typoed gcc t.c -o t.c ? ;) (I did ... :/) But yes, exactly my feelings towards (B). IMHO (B) is something for tight IDE - compiler integration, sth GCC is not very good at at the moment. [hint: provide the patches in a form so emacs can eat them] Richard. > > Bernd