https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93518
Nicholas Krause <xerofoify at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xerofoify at gmail dot com --- Comment #1 from Nicholas Krause <xerofoify at gmail dot com> --- Hi Martin, I'm not sure if my analysis is correct but it seems that: int idx = get_stridx (src); is only for string lengths and not POINTER_TYPE_P. There are versions for ADDR expressions but don't seem to be any for POINTER_TYPE_P. I'm wondering if we can implement around version of stridx for this as it seems that the line mentioned would need to call one for POINTER_P types to fix the issue. Not sure how trivial it would be implement that.