Ping: https://gcc.gnu.org/ml/gcc-patches/2018-04/msg00649.html
Andreas, I assumed you wanted to include a fix for this in GCC 8. I'm not sure if this is something you can/should approve as one of the s360 maintainers or if it needs to be approved by someone else (e.g., Jeff). As a heads up, I'm travelling the next two weeks and will only have a limited time to commit patches. Martin On 04/12/2018 06:00 PM, Martin Sebor wrote:
PR 85369 notes that the c-c++-common/attr-nonstring-3.c fails on IBM Z (and other similar targets) whose back-end provides the movstr expander. The failure is cause by an expected warning failing to trigger because the strcpy call is expanded early and the checker never runs. The attached patch adjusts the code to make sure the warning is not bypassed on these targets. I've verified the patch with an s390-linux cross-compiler and with a full x86_64-linux native build and regression run. Martin