From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6B196385772B; Mon, 15 May 2023 20:41:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6B196385772B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1684183310; bh=5p0N00F2SeB/X5ovJw/Rk8TEKWzDPUkH+MDZioWOyAI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=iTHdfvSJFPy7axNfi8s28gbelBSd3DirHFVRn1osPBgAiOuz8gs7yVPaIqIPEdGXk zzXOBm58hCJARCp1uppgm9Lb9uB6vJU/vKBgIw+0zzOFvK2ZcHrWmgoW4Eh2CwteZp yM+q4KQmxW6mouQev/H+aD7e2xt7kAanYMeI1KkA= From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/109865] different results when routine moved inside the contains statement Date: Mon, 15 May 2023 20:41:50 +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: og12 (devel/omp/gcc-12) X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D109865 --- Comment #6 from kargl at gcc dot gnu.org --- (In reply to GARY.WHITE@ColoState.edu from comment #5) > (In reply to Steve Kargl from comment #4) > > I assume you've also tried with -fcheck=3Dall. > > Your report states you're using og12. If=20 > > it supports the sanitizer, can you add=20 > > -fsanitize=3Dundefined to the options? >=20 > -fcheck=3Dall does not generate any warnings. > -fsanitize=3Dundefined returns pages when loading of: >=20 > undefined reference to `__ubsan_handle_pointer_overflow' >=20 > which makes no sense to me???? Hmmm. Thanks for checking. Either your version of gcc is not built with --enable-libsanitizer or=20 gfortran cannot find the library. At this point, it seems we're going to need a complete testcase.=