[Bug middle-end/116983] counted_by not used to identify singleton pointers

2024-10-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116983 --- Comment #3 from Jakub Jelinek --- Plus the useless pointer conversions in GIMPLE can mean that void *foo (int); struct counted { int counter; int array[] __attribute__((counted_by(counter))); }; struct notcounted { int counter;

[Bug middle-end/116983] counted_by not used to identify singleton pointers

2024-10-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116983 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug middle-end/116983] counted_by not used to identify singleton pointers

2024-10-07 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116983 qinzhao at gcc dot gnu.org changed: What|Removed |Added CC||qinzhao at gcc dot gnu.org