Re: [PATCH] issue nonstring warning for strcpy even on s360 (PR 85369)

2018-05-24 Thread Jeff Law
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 > e

Re: [PATCH] issue nonstring warning for strcpy even on s360 (PR 85369)

2018-04-19 Thread Martin Sebor
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

[PATCH] issue nonstring warning for strcpy even on s360 (PR 85369)

2018-04-12 Thread Martin Sebor
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