OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* gcc.dg/vect/vect-105.c: Prevent compiler from hoisting abort
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr32041.c
1
/* PR c/32041 */
2
/* { dg-do compile } */
3
4
struct S
5
{
6
int c;
7
struct { float f; } sa[2];
8
};
9
10
char a[__builtin_offsetof (struct S, sa->f)
11
== __builtin_offsetof (struct S, sa[0].f) ? 1 : -1];
12