On Nov 6, 2016, at 12:13 PM, Iain Sandoe <iain_san...@mentor.com> wrote: > > OK for trunk? > OK for open branches?
For the darwin parts, Ok. > 2016-11-06 Iain Sandoe <i...@codesourcery.com> > > PR target/57438 > * config/i386/i386.c (ix86_code_end): Note that we emitted code where > the > function might otherwise appear empty for picbase thunks. > (ix86_output_function_epilogue): If we find a zero-sized function > assume that > reaching it is UB and trap. If we find a trailing label append a nop. > * config/rs6000/rs6000.c (rs6000_output_function_epilogue): If we find > a zero-sized function assume that reaching it is UB and trap. If we > find a > trailing label, append a nop. > > gcc/testsuite/ > > 2016-11-06 Iain Sandoe <i...@codesourcery.com> > > PR target/57438 > * gcc.dg/pr57438-1.c: New. > * gcc.dg/pr57438-2.c: New.