From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B72393858C3A; Mon, 30 Aug 2021 22:18:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B72393858C3A From: "sgk at troutmask dot apl.washington.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/101918] LTO type mismatches for runtime library functions in mixed -fdefault-real-8 projects Date: Mon, 30 Aug 2021 22:18:26 +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.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sgk at troutmask dot apl.washington.edu X-Bugzilla-Status: UNCONFIRMED 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 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: Mon, 30 Aug 2021 22:18:26 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D101918 --- Comment #19 from Steve Kargl = --- On Mon, Aug 30, 2021 at 09:23:46PM +0000, rimvydas.jas at gmail dot com wro= te: > (In reply to Steve Kargl from comment #17) > > There is Fortran code in libgfortran that is compiled > > by gfortran when the compiler is built. Whether that > > code works as intended when someone uses -fdefault-* > > or -freal-* family options remains to be seen. > Someone in this same PR previously recommended that only -freal-*-real-* > options should be used. Now even those are getting flagged as being brok= en. >=20 The -fdefault-* family of options is broken. The -freal-* family of options is broken. The -freal-* family of options is less broken than the -fdefault-* family of options. Neither family of options can be fixed for all situations that one might encounter. These options should never be used (withi the possible exception of porting from one precision to another). I think I'm done here.=