https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59746
--- Comment #6 from Mikael Morin <mikael at gcc dot gnu.org> --- Author: mikael Date: Sat Aug 8 10:40:06 2015 New Revision: 226732 URL: https://gcc.gnu.org/viewcvs?rev=226732&root=gcc&view=rev Log: When undoing symbols, also restore common block lists gcc/fortran/ 2015-08-08 Bud Davis <jmda...@link.com> Mikael Morin <mik...@gcc.gnu.org> PR fortran/59746 * symbol.c (gfc_restore_last_undo_checkpoint): Delete a common block symbol if it was put in the list. gcc/testsuite/ 2015-08-08 Bud Davis <jmda...@link.com> PR fortran/59746 * gfortran.dg/common_22.f90: New. Added: trunk/gcc/testsuite/gfortran.dg/common_22.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/symbol.c trunk/gcc/testsuite/ChangeLog