blob: 8299cb7ae7e962360bd3307254bdfbd2297c6713 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-Os" } */
/* This caused a segfault due to incorrect rtl pattern in some
instructions. */
int a, d;
char *b;
void fn1()
{
char *e = 0;
for (; d; ++a)
{
char c = b [0];
*e++ = '.';
*e++ = 4;
*e++ = "0123456789abcdef" [c & 5];
}
}