From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20576 invoked by alias); 21 Dec 2012 09:00:02 -0000 Received: (qmail 20459 invoked by uid 48); 21 Dec 2012 08:59:48 -0000 From: "mikpe at it dot uu.se" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/55771] Negation and type conversion incorrectly exchanged Date: Fri, 21 Dec 2012 09:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mikpe at it dot uu.se X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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 X-SW-Source: 2012-12/txt/msg02083.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55771 Mikael Pettersson changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mikpe at it dot uu.se --- Comment #3 from Mikael Pettersson 2012-12-21 08:59:47 UTC --- With gcc-3.2.3 or 3.3.6 it prints 1.84467e+19 1.84467e+19 on x86_64-linux, with 3.4.6 up to 4.7.2 it prints -3 1.84467e+19 Optimization level doesn't seem to make any difference.