repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
RTEMS: Add Cortex-M33 multilib
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
pr86696.C
blob
c7ce17c80da84e5183f39f5a5db950997eae6327
1
/* PR tree-optimization/86696 - ICE in handle_char_store at
2
gcc/tree-ssa-strlen.c
3
{ dg-do compile }
4
{ dg-options "-O2 -Wall -std=c++11" } */
5
6
typedef char a;
7
template <typename b> struct c {
8
int d;
9
b e;
10
};
11
struct f;
12
class g {
13
public:
14
void h(c<f>);
15
};
16
enum i {};
17
enum j : a { k, l };
18
struct f {
19
i m;
20
a n;
21
a o;
22
a p;
23
j family;
24
};
25
void fn1() {
26
i format{};
27
f info{format, a(), 0, 4, l};
28
g dest;
29
dest.h({format, info});
30
}