Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gcc.dg / strlenopt-43.c
blob13539fcb8684c6d57ab0388ad546bcdd031a220a
1 /* PR tree-optimization/83896 - ice in get_string_len on a call to strlen
2 with non-constant length
3 { dg-do compile }
4 { dg-options "-O2 -Wall" } */
6 #include "strlenopt.h"
8 extern char a[5];
9 extern char b[];
11 void f (void)
13 if (strlen (b) != 4)
14 memcpy (a, b, sizeof a);