modernc.org/cc@v1.0.1/testdata/gcc-6.3.0/gcc/testsuite/gcc.c-torture/compile/20001123-2.c (about) 1 /* Copyright 2000 Free Software Foundation 2 3 by Alexandre Oliva <aoliva@redhat.com> 4 5 Based on zlib/gzio.c. 6 7 This used to generate duplicate labels when compiled with 8 sh-elf-gcc -O2 -m3 -fPIC. 9 10 Bug reported by NIIBE Yutaka <gniibe@m17n.org>. */ 11 12 void foo (void); 13 14 void 15 bar () 16 { 17 unsigned len; 18 19 for (len = 0; len < 2; len++) 20 foo (); 21 }