From: Wilco Dijkstra Date: Thu, 21 Nov 2019 15:06:56 +0000 (+0000) Subject: Fix global_vars_f90_init test failure X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5f5e796c9c986fd135514906a6a8f58b7d7a15d3;p=gcc.git Fix global_vars_f90_init test failure Add a missing extern to ensure the test passes with -fno-common change. Committed as obvious. testsuite/ * gfortran.dg/global_vars_f90_init_driver.c: Add missing extern. From-SVN: r278557 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8197698dd4f..af77dfa7c2b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2019-11-21 Wilco Dijkstra + + * gfortran.dg/global_vars_f90_init_driver.c: Add missing extern. + 2019-11-21 Richard Biener PR tree-optimization/92596 diff --git a/gcc/testsuite/gfortran.dg/global_vars_f90_init_driver.c b/gcc/testsuite/gfortran.dg/global_vars_f90_init_driver.c index 7869c83f712..27ba7e656d0 100644 --- a/gcc/testsuite/gfortran.dg/global_vars_f90_init_driver.c +++ b/gcc/testsuite/gfortran.dg/global_vars_f90_init_driver.c @@ -1,5 +1,5 @@ /* initialized by fortran */ -int i; +extern int i; void test_globals(void); extern void abort(void);