Commit 69221690 by Alexandre Oliva Committed by Alexandre Oliva

[bootstrap-O3,fortran] add a NULL initializer to avoid a warning at -O3

Building with the bootstrap-O3 configuration option fails to compile
fortran/module.c due to an AFAICT false-positive warning about an
uninitialized use of a variable.

This patch adds a dummy initializer to silence it.

for  gcc/fortran/ChangeLog

	* module.c (load_omp_udrs): Initialize name.

From-SVN: r244087
parent d61d5fcd
2017-01-04 Alexandre Oliva <aoliva@redhat.com>
* module.c (load_omp_udrs): Initialize name.
2017-01-02 Janne Blomqvist <jb@gcc.gnu.org>
PR fortran/78534
......
......@@ -4702,7 +4702,7 @@ load_omp_udrs (void)
mio_lparen ();
while (peek_atom () != ATOM_RPAREN)
{
const char *name, *newname;
const char *name = NULL, *newname;
char *altname;
gfc_typespec ts;
gfc_symtree *st;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment