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
Be careful about comdat boundary in ICF (PR ipa/82352).
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
attribute-may-alias-4.C
blob
a459d49e9ee660d1073d2dc5d083a1707d5b2c04
1
// PR c++/70209
2
3
struct V {
4
typedef float F;
5
template <typename S> void m_fn1(S);
6
};
7
8
template <typename> struct A {
9
typedef V::F Ta __attribute__((__may_alias__));
10
Ta *m_data;
11
void m_fn2(V &);
12
};
13
14
template <>
15
void A<int>::m_fn2(V &p) {
16
p.m_fn1(m_data);
17
}