diff options
author | Alexandre Oliva <oliva@adacore.com> | 2021-07-24 23:05:32 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2021-08-17 08:00:40 -0300 |
commit | 3ed8da759b52708f6874af2afc6ab56b1fb00cec (patch) | |
tree | 17171dc4c83202bf9eb92a463039e2aae9e26d6f /gcc/fortran/st.c | |
parent | d1819df86fbe42125cccb2fc2959a0bf51e524d6 (diff) | |
download | gcc-3ed8da759b52708f6874af2afc6ab56b1fb00cec.zip gcc-3ed8da759b52708f6874af2afc6ab56b1fb00cec.tar.gz gcc-3ed8da759b52708f6874af2afc6ab56b1fb00cec.tar.bz2 |
don't access cfun in dump_function_to_file
dump_function_to_file takes the function to dump as a parameter, and
parts of it use the local fun variable where cfun would be used
elsewhere. Others use cfun, presumably in error. Fixed to use fun
uniformly. Added a few more tests for non-NULL fun before
dereferencing it.
for gcc/ChangeLog
* tree-cfg.c (dump_function_to_file): Use fun, not cfun.
Diffstat (limited to 'gcc/fortran/st.c')
0 files changed, 0 insertions, 0 deletions