repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
S/390: Fix problem with vec_init expander
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
vec-init-1.C
blob
f35d39c35ed2d3829e12aa6769f639ed547cce61
1
/* On S/390 this ends up calling the vec_init RTL expander with a
2
parallel of two symbol_refs. */
3
4
/* { dg-do compile } */
5
/* { dg-options "-O3 -fPIC" } */
6
7
8
struct test
9
{
10
struct base
11
{
12
int key;
13
};
14
struct derived : public base
15
{
16
int key;
17
};
18
19
derived core;
20
derived &dRef;
21
base &bRef;
22
23
test() : dRef (core), bRef (core) {}
24
};
25
26
test test;