aboutsummaryrefslogtreecommitdiff
path: root/libcpp/lex.c
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2017-11-06 10:02:33 +0100
committerMartin Liska <marxin@gcc.gnu.org>2017-11-06 09:02:33 +0000
commit23dbc16908cdb8335f3a9235b18bb33aa9f74dea (patch)
treefd48cb5a1501b580b1a14eeb6786e9e09b390bd7 /libcpp/lex.c
parent1b6fa695ab5e6f6fd57ed9264b336f06f440125b (diff)
downloadgcc-23dbc16908cdb8335f3a9235b18bb33aa9f74dea.zip
gcc-23dbc16908cdb8335f3a9235b18bb33aa9f74dea.tar.gz
gcc-23dbc16908cdb8335f3a9235b18bb33aa9f74dea.tar.bz2
Fix all tests that fail with -sanitize=return.
2017-11-06 Martin Liska <mliska@suse.cz> * c-c++-common/dfp/call-by-value.c (foo32): Return a default value of change return type to void. (foo64): Likewise. (foo128): Likewise. * g++.dg/bprob/g++-bprob-1.C: Likewise. * g++.dg/cpp0x/lambda/lambda-template.C (f): Likewise. * g++.dg/cpp0x/range-for6.C (foo): Likewise. * g++.dg/cpp0x/udlit-template.C: Likewise. * g++.dg/cpp1z/eval-order3.C (struct A): Likewise. (operator>>): Likewise. * g++.dg/expr/cond12.C (struct X): Likewise. (X::operator=): Likewise. * g++.dg/gcov/gcov-1.C: Likewise. * g++.dg/gcov/gcov-threads-1.C (ContentionNoDeadlock_thread): Likewise. * g++.dg/ipa/devirt-21.C: Likewise. * g++.dg/ipa/devirt-23.C: Likewise. * g++.dg/ipa/devirt-34.C (t): Likewise. * g++.dg/missing-return.C: New test. Likewise. * g++.dg/opt/20050511-1.C (bar): Likewise. * g++.dg/opt/const3.C (A::foo1): Likewise. (A::foo2): Likewise. * g++.dg/opt/pr23299.C (E::c): Likewise. * g++.dg/other/copy2.C (A::operator=): Likewise. * g++.dg/overload/addr1.C: Likewise. * g++.dg/pr48484.C: Likewise. * g++.dg/tls/thread_local3.C (thread_main): Likewise. * g++.dg/tls/thread_local3g.C (thread_main): Likewise. * g++.dg/tls/thread_local5.C (thread_main): Likewise. * g++.dg/tls/thread_local5g.C (thread_main): Likewise. * g++.dg/tls/thread_local6.C (thread_main): Likewise. * g++.dg/tls/thread_local6g.C (thread_main): Likewise. * g++.dg/torture/pr34850.C (OctetString::operator^=): Likewise. * g++.dg/tree-prof/pr79259.C (fn2): Likewise. * g++.dg/tree-ssa/pr33604.C (struct Value): Likewise. * g++.dg/tree-ssa/pr81408.C (struct p): Likewise. (av): Likewise. * g++.dg/warn/string1.C (test): Likewise. From-SVN: r254438
Diffstat (limited to 'libcpp/lex.c')
0 files changed, 0 insertions, 0 deletions