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++ PATCHes to mangling of sizeof... and fold-expressions


Investigating the ICE in 71814, I found that we never implemented the
specified mangling for sizeof...; sZ for a simple sizeof...(pack) and
sP for a more complicated form involving an alias template.  So the
first patch implements mangling and demangling those forms.

Similarly, 71711 shows that we never implemented mangling of C++17
fold-expressions, or partial instantiation of them.

The last patch bumps -fabi-version to 11 to deal with the change in
sizeof... mangling.

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

Attachment: 71814.diff
Description: Text document

Attachment: 71711.diff
Description: Text document

Attachment: abi-11.diff
Description: Text document


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