modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/pr25860.c (about) 1 /* We used to ICE because PRE would try to PRE the load of *Note from the 2 loop. */ 3 4 struct g 5 { 6 int i; 7 }; 8 struct f 9 { 10 struct g i; 11 }; 12 int GSM_RingNoteGetFullDuration(struct g)__attribute__((const)); 13 void savewav(struct f *gg) 14 { 15 struct g *Note; 16 long i = 0,j,length=0; 17 Note = &gg->i; 18 for (j=0;j<GSM_RingNoteGetFullDuration(*Note);j++) 19 ; 20 }