From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 113D33858436; Wed, 17 Nov 2021 16:30:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 113D33858436 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/103115] [12 Regression] reallocation of character array fails when appending a constant size 4 array Date: Wed, 17 Nov 2021 16:30:17 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 11.1.0 X-Bugzilla-Keywords: ice-on-valid-code, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Nov 2021 16:30:18 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D103115 --- Comment #7 from Thomas Koenig --- (In reply to J=C3=BCrgen Reuter from comment #6) > Really interesting, I don't get an ICE with the following setup: > ../configure --prefix=3D/usr/local/ --with-gmp=3D/usr/local/ > --with-mpfr=3D/usr/local/ --with-mp=3D/usr/local/ > --with-sysroot=3D/Applications/Xcode.app/Contents/Developer/Platforms/Mac= OSX. > platform/Developer/SDKs/MacOSX.sdk/ --enable-checking=3Drelease > --enable-languages=3Dc,c++,fortran,lto,objc,obj-c++ > $ gfortran --version > GNU Fortran (GCC) 12.0.0 20211115 (experimental) > Maybe the enable-checking setup!? Extremely likely. --enable-checking=3Drelease turns off a very large number of checks which are really only interesting for developers to find bugs, and which make the compiler run rather slowly.=