This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Here, we had DECL_VALUE_EXPR of a structured binding referring to a pass-by-invisible-reference parameter, but not being adjusted by cp_genericize. We get here because we were looking through a reference temporary. Removing that code doesn't seem to break anything; I'm guessing that it isn't needed anymore because of my change to support references better in constexpr evaluation. Tested x86_64-pc-linux-gnu, applying to trunk.
Attachment:
80084.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |