Debian Codegraph @

gcc/testsuite/gcc.c-torture/compile/pr27282.c

raw
1 /* This test used to ICE on PowerPC at -O due to combine GEN_INT bug. */
2 typedef struct _ColRowInfo ColRowInfo;
3 typedef struct { }
4 GnmSheetRange;
5 struct _ColRowInfo
6 {
7 float size_pts;
8 unsigned margin_a:3;
9 unsigned margin_b:3;
10 unsigned visible:1;
11 };
12 int
13 colrow_equal (ColRowInfo const *a, ColRowInfo const *b)
14 {
15 return a->size_pts == b->size_pts && a->margin_a == b->margin_a
16 && a->visible == b->visible;
17 }
18