diff options
author | Jason Merrill <jason@redhat.com> | 2020-05-01 13:53:32 -0400 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2020-05-01 13:53:34 -0400 |
commit | 82d5decef38b5562d97c49a70ca2636a08769dbc (patch) | |
tree | f6657a5d9b232db5e40d3cadf203972e495f6914 /gcc/cfgexpand.c | |
parent | a2f32550a085984fbaaec962bf7723514ac71dff (diff) | |
download | gcc-82d5decef38b5562d97c49a70ca2636a08769dbc.zip gcc-82d5decef38b5562d97c49a70ca2636a08769dbc.tar.gz gcc-82d5decef38b5562d97c49a70ca2636a08769dbc.tar.bz2 |
c++: Local class DMI using local static [PR90479]
For default member initializers in templates it's important to push into the
right context during get_nsdmi. But for a local class that's not possible,
and trying leaves the function context we need to be in, so don't try.
gcc/cp/ChangeLog
2020-05-01 Jason Merrill <jason@redhat.com>
PR c++/90479
* init.c (get_nsdmi): Don't push_to_top_level for a local class.
Diffstat (limited to 'gcc/cfgexpand.c')
0 files changed, 0 insertions, 0 deletions