diff options
author | Thomas Koenig <tkoenig@gcc.gnu.org> | 2025-03-09 19:35:06 +0100 |
---|---|---|
committer | Thomas Koenig <tkoenig@gcc.gnu.org> | 2025-03-09 19:47:42 +0100 |
commit | 9f5b508bc5c16ae11ea385f6031487a518f62c8f (patch) | |
tree | 829fb45515699b1990891484e093b86c0cee735c /gcc/dwarf2ctf.cc | |
parent | 7232c005afb5002cdfd0a2dbd0e8b8f2d80250ce (diff) | |
download | gcc-9f5b508bc5c16ae11ea385f6031487a518f62c8f.zip gcc-9f5b508bc5c16ae11ea385f6031487a518f62c8f.tar.gz gcc-9f5b508bc5c16ae11ea385f6031487a518f62c8f.tar.bz2 |
Use gfc_commit_symbol() to remove UNDO status instead of new function.
This is a cleaner version, removing an unneeded function and
making sure that no memory leaks can occur if callers change.
gcc/fortran/ChangeLog:
PR fortran/119157
* gfortran.h (gfc_pop_undo_symbol): Remove prototype.
* interface.cc (gfc_get_formal_from_actual_arglist): Use
gfc_commit_symbol() instead of gfc_pop_undo_symbol().
* symbol.cc (gfc_pop_undo_symbol): Remove.
Diffstat (limited to 'gcc/dwarf2ctf.cc')
0 files changed, 0 insertions, 0 deletions