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]

C++ PATCH for c++/70824 (initializer list in template)


Instantiating the compound literal for the underlying array of the
initializer list was creating a new variable, so then we would pull
out that variables initializer and instantiate that, ad infinitum.  We
shouldn't need to instantiate the initializer for any artificial
variable.

Tested x86_64-pc-linux-gnu, applying to trunk.

Attachment: 70824.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]