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
This commit is contained in:
Wilco Dijkstra 2019-11-21 15:06:56 +00:00 committed by Wilco Dijkstra
parent 033bd26e28
commit 5f5e796c9c
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2019-11-21 Wilco Dijkstra <wdijkstr@arm.com>
* gfortran.dg/global_vars_f90_init_driver.c: Add missing extern.
2019-11-21 Richard Biener <rguenther@suse.de>
PR tree-optimization/92596

View File

@ -1,5 +1,5 @@
/* initialized by fortran */
int i;
extern int i;
void test_globals(void);
extern void abort(void);