summaryrefslogtreecommitdiff
path: root/gcc/config/m32c
diff options
context:
space:
mode:
authoriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>2016-12-11 16:10:48 +0000
committeriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>2016-12-11 16:10:48 +0000
commit30ab9654d4023334c8b5f2fcc061110b7ef8bec2 (patch)
tree738c4a937be02e28986e9beeef99bf2e1153c82d /gcc/config/m32c
parent39c6919bb5237832eb9c50010f3d2b89fb33398f (diff)
downloadgcc-30ab9654d4023334c8b5f2fcc061110b7ef8bec2.tar.gz
[Darwin] Back-port fix for PR57438.
gcc/ 2016-12-11 Iain Sandoe <iain@codesourcery.com> Backport from mainline 2016-11-27 Iain Sandoe <iain@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-12-11 Iain Sandoe <iain@codesourcery.com> Backport from mainline 2016-11-27 Iain Sandoe <iain@codesourcery.com> PR target/57438 * gcc.dg/pr57438-1.c: New Test. * gcc.dg/pr57438-2.c: New Test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@243525 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/m32c')
0 files changed, 0 insertions, 0 deletions