summaryrefslogtreecommitdiff
path: root/test/FrontendC/2010-07-14-overconservative-align.c
blob: c4a9caac66661a4a80c4215bdcbf9c731251e5a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// RUN: %llvmgcc %s -S -o - | FileCheck %s
// PR 5995
struct s {
    int word;
    struct {
        int filler __attribute__ ((aligned (8)));
    };
};

void func (struct s *s)
{
// CHECK: load %struct.s** %s_addr, align {{[48]}}
    s->word = 0;
}