Re: [PATCH] c++: check_flexarray fixes [PR117516]

2025-01-30 Thread Jason Merrill
On 12/7/24 5:34 AM, Jakub Jelinek wrote: Hi! On the pr117516.C testcase check_flexarrays and its helper functions have exponential complexity, plus it reports the same bug over and over again in some cases instead of reporting perhaps other bugs. The functions want to diagnose flexible array mem

[PATCH] c++: check_flexarray fixes [PR117516]

2024-12-07 Thread Jakub Jelinek
Hi! On the pr117516.C testcase check_flexarrays and its helper functions have exponential complexity, plus it reports the same bug over and over again in some cases instead of reporting perhaps other bugs. The functions want to diagnose flexible array member (and strangely [0] arrays too) followed