Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/pr42245-2.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */ /* { dg-options "-O2 -fselective-scheduling -fsel-sched-pipelining" } */ int strictly_smaller_name (char *s, char *t) { int ss, tt; while ((*s != '\0') || (*t != '\0')) { if (*s == '\0') ss = '*'; else ss = *s++; if (*t != '\0') tt = *t; if (ss == tt) return 0; } }