https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86532
--- Comment #19 from Bernd Edlinger <bernd.edlinger at hotmail dot de> --- sorry wrong test case: $ cat part.c cat part.c #define a "121\01" int main () { volatile int i=4; int n = __builtin_strlen (&a[0]); n += __builtin_strlen (&a[i]); if (n != 4) __builtin_abort (); }