[ARM] Fix more -Wreturn-type fallout
authorSudakshina Das <sudi.das@arm.com>
Wed, 15 Nov 2017 15:21:03 +0000 (15:21 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Wed, 15 Nov 2017 15:21:03 +0000 (15:21 +0000)
commita53cb18d1cc722d610665442d60b41c758b89a0f
treeec96ab1c5a399abeac614ed5b5f35ebd37e0779d
parent519fdbb5e1709cc8ee1ddc300c97d8da9ed532a3
[ARM] Fix more -Wreturn-type fallout

This patch fixes a couple of more tests that are giving out warnings with -Wreturn-type:
- g++.dg/ext/pr57735.C
- gcc.target/arm/pr54300.C

*** gcc/testsuite/ChangeLog ***

2017-11-10  Sudakshina Das  <sudi.das@arm.com>

        * g++.dg/ext/pr57735.C: Add -Wno-return-type for test.
        * gcc.target/arm/pr54300.C (main): Add return type and
        return a value.

From-SVN: r254773
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/pr57735.C
gcc/testsuite/gcc.target/arm/pr54300.C