diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2021-12-04 11:38:25 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2021-12-04 15:55:01 +0000 |
commit | 87710ec7b213245ecb194b778e97ae3a6790394f (patch) | |
tree | c39e0fb3f06b4c4733fc3aea198f98cc083194c5 /gcc/fortran/trans-openmp.c | |
parent | b09af56214ed10dddfb99267a0c615b6a939e44d (diff) | |
download | gcc-87710ec7b213245ecb194b778e97ae3a6790394f.zip gcc-87710ec7b213245ecb194b778e97ae3a6790394f.tar.gz gcc-87710ec7b213245ecb194b778e97ae3a6790394f.tar.bz2 |
libstdc++: Initialize member in std::match_results [PR103549]
This fixes a -Wuninitialized warning for std::cmatch m1, m2; m1=m2;
Also name the template parameters in the forward declaration, to get rid
of the <template-parameter-1-1> noise in diagnostics.
libstdc++-v3/ChangeLog:
PR libstdc++/103549
* include/bits/regex.h (match_results): Give names to template
parameters in first declaration.
(match_results::_M_begin): Add default member-initializer.
Diffstat (limited to 'gcc/fortran/trans-openmp.c')
0 files changed, 0 insertions, 0 deletions