aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr27282.c
blob: ab6636650645773f09672b7746a30f955ab13a23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* This test used to ICE on PowerPC at -O due to combine GEN_INT bug.  */
typedef struct _ColRowInfo ColRowInfo;
typedef struct { }
GnmSheetRange;
struct _ColRowInfo
{
  float size_pts;
  unsigned margin_a:3;
  unsigned margin_b:3;
  unsigned visible:1;
};
colrow_equal (ColRowInfo const *a, ColRowInfo const *b)
{
  return a->size_pts == b->size_pts && a->margin_a == b->margin_a
    && a->visible == b->visible;
}