[Bug c/118095] nonstring attribute cannot be applied to array of char arrays

2025-05-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118095 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0

[Bug c/118095] nonstring attribute cannot be applied to array of char arrays

2025-03-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118095 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/118095] nonstring attribute cannot be applied to array of char arrays

2024-12-22 Thread alx at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118095 Alejandro Colomar changed: What|Removed |Added CC||alx at kernel dot org --- Comment #

[Bug c/118095] nonstring attribute cannot be applied to array of char arrays

2024-12-18 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118095 --- Comment #5 from uecker at gcc dot gnu.org --- I am not sure Martin S still reads these emails. I also do not understand the code fully, but you could try something like this: /* Use the SSA_NAME_VAR that was determined above to see if it's

[Bug c/118095] nonstring attribute cannot be applied to array of char arrays

2024-12-17 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118095 --- Comment #4 from Kees Cook --- I've added Martin to CC. :) Martin, you wrote this code originally; do you have a moment to look at how this might best be solved?

[Bug c/118095] nonstring attribute cannot be applied to array of char arrays

2024-12-17 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118095 --- Comment #3 from Kees Cook --- (In reply to uecker from comment #1) > I think you may also need to adapt get_attr_nonstring_decl How do I walk "up" a tree to see if it is part of a multidimensional array? I don't understand what is happening

[Bug c/118095] nonstring attribute cannot be applied to array of char arrays

2024-12-17 Thread harald at gigawatt dot nl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118095 Harald van Dijk changed: What|Removed |Added CC||harald at gigawatt dot nl --- Comment

[Bug c/118095] nonstring attribute cannot be applied to array of char arrays

2024-12-17 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118095 uecker at gcc dot gnu.org changed: What|Removed |Added CC||uecker at gcc dot gnu.org --