From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 58440 invoked by alias); 5 Mar 2015 12:44:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 53715 invoked by uid 48); 5 Mar 2015 12:44:23 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/65318] [5 Regression] wrong code at -Os and above on x86_64-linux-gnu Date: Thu, 05 Mar 2015 12:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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-SW-Source: 2015-03/txt/msg00606.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D65318 --- Comment #2 from Martin Li=C5=A1ka --- Created attachment 34962 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D34962&action=3Dedit Suggested patch >>From gcc-bugs-return-479463-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Mar 05 13:16:01 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 42024 invoked by alias); 5 Mar 2015 13:16:01 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 41995 invoked by uid 48); 5 Mar 2015 13:15:57 -0000 From: "scerveau@connected-labs.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/65325] New: float/interger operation needs cast with 02 switch. Date: Thu, 05 Mar 2015 13:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 4.9.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: scerveau@connected-labs.com X-Bugzilla-Status: UNCONFIRMED 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 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-03/txt/msg00607.txt.bz2 Content-length: 642 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65325 Bug ID: 65325 Summary: float/interger operation needs cast with 02 switch. Product: gcc Version: 4.9.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: scerveau@connected-labs.com A bug has been reported to gstreamer bug tracker: https://bugzilla.gnome.org/show_bug.cgi?id=745667 This bug seems to be related to gcc optimization behaviour. The operations needs specific cast for operation with double and integers.