From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AAEA13858295; Mon, 10 Oct 2022 20:01:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AAEA13858295 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1665432105; bh=wMo0Nykn6zlU6O1Wh+Ti5guU2CUSVMNjOII2jFEaLgY=; h=From:To:Subject:Date:From; b=IgGSOlBfSdgwxgy554MIk4uQs6C87CUrtukydlPfJo3aPyngOk8aajblRzHPhylX6 QljSamPYLHoYYiXGix+LAGwuRMk92euydlj7sNJkXctbO5xM8sv2+wq5oc61ATb850 UvrC2IPAjxS72qpA+omTDOjRVSo+mGlAVbUUBNL4= From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/107204] New: gcc/config/sh/divtab-sh4.cc: 2 * possible float conversion overflow Date: Mon, 10 Oct 2022 20:01:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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=3D107204 Bug ID: 107204 Summary: gcc/config/sh/divtab-sh4.cc: 2 * possible float conversion overflow Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- 1. trunk.git/gcc/config/sh/divtab-sh4.cc:75:34: warning: Undefined behaviour: float (5.72662e+09) to integer conversion overflow. [floatConversionOverflo= w] Source code is printf ("\t.long\t0x%X\n", (unsigned) r); 2. trunk.git/gcc/config/sh/divtab-sh4-300.cc:67:34: warning: Undefined behavio= ur: float (8.58993e+09) to integer conversion overflow. [floatConversionOverflo= w] Duplicate.=