view gcc/testsuite/gcc.dg/tree-ssa/dump-4.c @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents 1830386684a0
children
line wrap: on
line source

/* PR middle-end/87052 - STRING_CST printing incomplete in Gimple dumps
   { dg-do compile }
   { dg-options "-fdump-tree-original" } */

void* f (char *d, int c)
{
  return __builtin_memchr ("1\0\0", c, 4);
}

/* Veriy the full string appears in the dump:
  { dg-final { scan-tree-dump "\"1\\\\x00\\\\x00\"" "original" } } */