From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D91C03857C74; Fri, 5 Nov 2021 23:18:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D91C03857C74 From: "timturnerc at yahoo dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/323] optimized code gives strange floating point results Date: Fri, 05 Nov 2021 23:18:14 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 2.95.2 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: timturnerc at yahoo dot com X-Bugzilla-Status: SUSPENDED 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: cc 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: Fri, 05 Nov 2021 23:18:16 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D323 Tim Turner changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |timturnerc at yahoo dot com --- Comment #223 from Tim Turner --- /gdb/arch/arc.c:117:43: required from here http://www.compilatori.com/ /usr/include/c++/4.8.2/bits/hashtable_policy.h:195:39: error: no matching https://www.mktrade.fi/ function for call to =E2=80=98std::pair >::pair(const arc_arch_features&, target_desc*&)=E2=80= =99 : _M_v(std::forward<_Args>(__args)...) { } http://www.acpirateradio.co.uk/ ^=20 /usr/include/c++/4.8.2/bits/hashtable_policy.h:195:39: note: candidates are: https://www.webb-dev.co.uk/ In file included from /usr/include/c++/4.8.2/utility:70:0, from /usr/include/c++/4.8.2/tuple:38, http://www.logoarts.co.uk/ from /usr/include/c++/4.8.2/functional:55,=20 from ../../gdb/../gdbsupport/ptid.h:35, https://komiya-dental.com/ from ../../gdb/../gdbsupport/common-defs.h:123, from ../../gdb/arch/arc.c:19: http://www.slipstone.co.uk/ /usr/include/c++/4.8.2/bits/stl_pair.h:206:9: note: template std::pair<_T1, http://embermanchester.uk/ _T2>::pair(std::tuple<_Args1 ...>&, std::tuple<_Args2 ...>&, std::_Index_tu= ple http://fishingnewsletters.co.uk/ <_Indexes1 ...>, std::_Index_tuple<_Indexes2 ...>) pair(tuple<_Args1...>&, tuple<_Args2...>&, http://connstr.net/ ^ -------->8--------- http://joerg.li/ Thanks to Tome de Vries' investigation, same fix applies in ARC's case as w= ell: --------8<--------- http://www.jopspeech.com/ diff --git a/gdb/arch/arc.c b/gdb/arch/arc.c index 3808f9f..a5385ce 100644 http://www.go-mk-websites.co.uk/ --- a/gdb/arch/arc.c +++ b/gdb/arch/arc.c http://www.wearelondonmade.com/ @@ -114,7 +114,7 @@ struct arc_arch_features_hasher target_desc *tdesc =3D arc_create_target_description (features); https://waytowhatsnext.com/ /* Add the newly created target description to the repertoire. */ http://www.mconstantine.co.uk/ - arc_tdesc_cache.emplace (features, tdesc); http://www.iu-bloomington.co= m/ + arc_tdesc_cache.emplace (features, target_desc_up (tdesc));=