diff options
author | Jason Merrill <jason@redhat.com> | 2019-12-10 15:06:58 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2019-12-10 15:06:58 -0500 |
commit | 1fb81d83a8857770be56df19c8a3b4e0ca87c71c (patch) | |
tree | da7f04f9668a4910c244b85aa5d318ca5fb9ff1f /gcc/cfgexpand.c | |
parent | 42aed35797ad46c1c98fcddf6a29ecb45b45ea9d (diff) | |
download | gcc-1fb81d83a8857770be56df19c8a3b4e0ca87c71c.zip gcc-1fb81d83a8857770be56df19c8a3b4e0ca87c71c.tar.gz gcc-1fb81d83a8857770be56df19c8a3b4e0ca87c71c.tar.bz2 |
PR c++/92560 - ICE with decltype and rewritten operator.
A call as the immediate operand of decltype is handled differently; we don't
create an object of the return type as we do normally. But in the case of a
rewritten operator, we're adding another call as a wrapper, so the inner
call doesn't get the special handling.
* call.c (build_new_op_1): Clear tf_decltype on inner call.
From-SVN: r279183
Diffstat (limited to 'gcc/cfgexpand.c')
0 files changed, 0 insertions, 0 deletions