https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108025
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-12 branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:4b56945b1ae497580b542abb6d7ca41b6444c219 commit r12-9321-g4b56945b1ae497580b542abb6d7ca41b6444c219 Author: Harald Anlauf <anl...@gmx.de> Date: Thu Dec 8 22:50:45 2022 +0100 Fortran: diagnose and reject duplicate CONTIGUOUS attribute [PR108025] gcc/fortran/ChangeLog: PR fortran/108025 * symbol.cc (gfc_add_contiguous): Diagnose and reject duplicate CONTIGUOUS attribute. gcc/testsuite/ChangeLog: PR fortran/108025 * gfortran.dg/contiguous_12.f90: New test. (cherry picked from commit 3a9f6d5a8ee490adf9a18f93feaf86542642be7d)