diff options
author | Patrick Palka <ppalka@redhat.com> | 2022-01-24 11:47:13 -0500 |
---|---|---|
committer | Patrick Palka <ppalka@redhat.com> | 2022-01-24 11:47:13 -0500 |
commit | b1aa2a3cf1ba233ccd5a49fde85a2ca7e5f620e9 (patch) | |
tree | dac41103080fcdb4277a7d9263981ea00dec0b9f /libcpp/include/cpplib.h | |
parent | 2a908f3da07c9e94b8a19e966b45daf0140107e8 (diff) | |
download | gcc-b1aa2a3cf1ba233ccd5a49fde85a2ca7e5f620e9.zip gcc-b1aa2a3cf1ba233ccd5a49fde85a2ca7e5f620e9.tar.gz gcc-b1aa2a3cf1ba233ccd5a49fde85a2ca7e5f620e9.tar.bz2 |
c++: Fix non-portable default argument of make_auto_1 [PR104197]
Avoid using the macro current_template_depth, which expands to an
expression that uses __FUNCTION__, within the signature of a function.
PR c++/104197
gcc/cp/ChangeLog:
* pt.cc (make_auto_1): Use -1 as a placeholder default argument
for level.
Diffstat (limited to 'libcpp/include/cpplib.h')
0 files changed, 0 insertions, 0 deletions