This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository gcc.
from f896c13489d xtensa: Fix out-of-bounds array access in the movdi pattern new d2249cd9adf c++: Implement -Wdangling-reference [PR106393]
The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: gcc/c-family/c.opt | 4 + gcc/cp/call.cc | 148 +++++++++++++++++++++-- gcc/cp/cp-tree.h | 4 +- gcc/cp/typeck.cc | 11 ++ gcc/doc/invoke.texi | 51 +++++++- gcc/testsuite/g++.dg/cpp23/elision4.C | 5 +- gcc/testsuite/g++.dg/cpp23/elision7.C | 3 +- gcc/testsuite/g++.dg/warn/Wdangling-pointer-2.C | 2 +- gcc/testsuite/g++.dg/warn/Wdangling-reference1.C | 144 ++++++++++++++++++++++ gcc/testsuite/g++.dg/warn/Wdangling-reference2.C | 28 +++++ gcc/testsuite/g++.dg/warn/Wdangling-reference3.C | 24 ++++ libstdc++-v3/include/bits/locale_classes.tcc | 3 + 12 files changed, 409 insertions(+), 18 deletions(-) create mode 100644 gcc/testsuite/g++.dg/warn/Wdangling-reference1.C create mode 100644 gcc/testsuite/g++.dg/warn/Wdangling-reference2.C create mode 100644 gcc/testsuite/g++.dg/warn/Wdangling-reference3.C