https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86622
Bernd Edlinger <bernd.edlinger at hotmail dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bernd.edlinger at hotmail dot
de
--- Comment #7 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
The test case can be modified to fail on current trunk as well:
$ cat p.c
static const char a[3][8] = { "1234", "1234567", "123456" };
int main ()
{
volatile int i = 1;
int n = __builtin_strlen (*(&a[1]+i));
if (n != 6)
__builtin_abort ();
}