Add the -fdebug-aux-vars flag to debug variables generated by Fortran.
authorThomas Koenig <tkoenig@gcc.gnu.org>
Tue, 15 Dec 2020 16:10:37 +0000 (17:10 +0100)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Tue, 15 Dec 2020 16:10:37 +0000 (17:10 +0100)
commit662de36bf798c8c470b382015283fe3a439cdd8f
tree0900c00b3911e3d501b1224034e403f807575859
parent4e096e0ff8c428572353a519cdf8726ef3f70f73
Add the -fdebug-aux-vars flag to debug variables generated by Fortran.

gcc/fortran/ChangeLog:

PR fortran/90207
* invoke.texi: Document -fdebug-aux-vars.
* lang.opt: Add -fdebug-aux-vars.
* trans.c (MAX_PREFIX_LEN): New macro.
(create_var_debug_raw): New function.
(gfc_create_var_np): Call create_var_debug_raw if
flag_debug_aux_vars is set.
gcc/fortran/invoke.texi
gcc/fortran/lang.opt
gcc/fortran/trans.c