diff options
Diffstat (limited to 'gcc/fortran/f95-lang.c')
-rw-r--r-- | gcc/fortran/f95-lang.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/fortran/f95-lang.c b/gcc/fortran/f95-lang.c index 3f28e67..3f0c303 100644 --- a/gcc/fortran/f95-lang.c +++ b/gcc/fortran/f95-lang.c @@ -242,11 +242,11 @@ gfc_finish (void) /* ??? This is something of a hack. Emulated tls lowering needs to see all TLS variables before we call - cgraph_finalize_compilation_unit. The C/C++ front ends manage this + finalize_compilation_unit. The C/C++ front ends manage this by calling decl_rest_of_compilation on each global and static variable as they are seen. The Fortran front end waits until this hook. - A Correct solution is for cgraph_finalize_compilation_unit not to be + A Correct solution is for finalize_compilation_unit not to be called during the WRITE_GLOBALS langhook, and have that hook only do what its name suggests and write out globals. But the C++ and Java front ends have (unspecified) problems with aliases that gets in the way. It has |