From: Tom de Vries Date: Wed, 21 Jun 2017 14:14:16 +0000 (+0000) Subject: Fix warning in gcc.dg/tree-prof/comp-goto-1.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5433db459e647106ea021ef2039dfa363b2b9e6e;p=gcc.git Fix warning in gcc.dg/tree-prof/comp-goto-1.c 2017-06-21 Tom de Vries * gcc.dg/tree-prof/comp-goto-1.c: Fix 'return type defaults to int' warning. From-SVN: r249452 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b45fc572543..c527d1cbf1c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-06-21 Tom de Vries + + * gcc.dg/tree-prof/comp-goto-1.c: Fix 'return type defaults to int' + warning. + 2017-06-21 Martin Liska * gcc.dg/tree-ssa/attr-hotcold-2.c: Update scanned patterns. diff --git a/gcc/testsuite/gcc.dg/tree-prof/comp-goto-1.c b/gcc/testsuite/gcc.dg/tree-prof/comp-goto-1.c index bb1d120c265..fe768f9a98d 100644 --- a/gcc/testsuite/gcc.dg/tree-prof/comp-goto-1.c +++ b/gcc/testsuite/gcc.dg/tree-prof/comp-goto-1.c @@ -165,5 +165,5 @@ main () exit (0); } #else -main(){ exit (0); } +int main(){ exit (0); } #endif