aboutsummaryrefslogtreecommitdiff
path: root/libphobos/libdruntime/gcc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2022-06-14 12:28:24 +0200
committerEric Botcazou <ebotcazou@adacore.com>2022-06-14 12:41:11 +0200
commitbe6676286a0fad2d7fdb6a258befe9deb826690e (patch)
treee0204e62cc4018c51fdb889cbef7db9176408417 /libphobos/libdruntime/gcc
parentf907cf4c07cf51863dadbe90894e2ae3382bada5 (diff)
downloadgcc-be6676286a0fad2d7fdb6a258befe9deb826690e.zip
gcc-be6676286a0fad2d7fdb6a258befe9deb826690e.tar.gz
gcc-be6676286a0fad2d7fdb6a258befe9deb826690e.tar.bz2
Restore bootstrap on ARM
The -Wuse-after-free warning is explicitly disabled for destructors on ARM because of the special ABI and the previous change to the warning machinery uncovered another case where the warning data would be incorrectly erased. gcc/ * warning-control.cc (copy_warning) [generic version]: Do not erase the warning data of the destination location when the no-warning bit is not set on the source. (copy_warning) [tree version]: Return early if TO is equal to FROM. (copy_warning) [gimple version]: Likewise. gcc/testsuite/ * g++.dg/warn/Wuse-after-free5.C: New test.
Diffstat (limited to 'libphobos/libdruntime/gcc')
0 files changed, 0 insertions, 0 deletions