On Sat, May 18, 2019 at 08:37:06PM +0200, Thomas Koenig wrote: > > the attached patch puts the workaround introduced by Jakub behind > a flag. I debated with myself what the name should be. > -fbroken-c-interfaces-die-die-die came to mind, but that would > have penalized people who wanted to disable the option :-) > Therefore, I have settled on -fbroken-callers and -fno-broken-callers, > respectively. If somebody has a better idea, please let the list know. > > What we should do with this flag for gcc-10 is still up for discussion, > if we make it the default or not. > > Regression-tested. "make info", "make dvi" and "make pdf" all > passed. OK for trunk? >
Looks good to me. I wonder if we should add a reference to the option that can produce C prototypes for a Fortran procedure in the description of -fbroken-caller. -- Steve