From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 47457 invoked by alias); 10 Apr 2015 05:16:02 -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 47410 invoked by uid 55); 10 Apr 2015 05:15:58 -0000 From: "juan-antonio.garcia@nabla-designs.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/65716] Integral promotion wrong with arm version Date: Fri, 10 Apr 2015 05:16: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-Version: 4.6.3 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: juan-antonio.garcia@nabla-designs.com X-Bugzilla-Status: RESOLVED 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: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-04/txt/msg00780.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65716 --- Comment #2 from Juan Antonio Garcia --- Sorry for the noise, I didn't know that. Regards, Juan Antonio On 09/04/15 16:41, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65716 > > Jakub Jelinek changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Status|UNCONFIRMED |RESOLVED > CC| |jakub at gcc dot gnu.org > Resolution|--- |INVALID > > --- Comment #1 from Jakub Jelinek --- > Why do you think that is a bug? AFAIK ARM is one of the many targets where > char is unsigned by default, while i?86/x86_64 is one of the many targets where > char is signed. Use signed char explicitly if you rely on signed chars. > > -- > You are receiving this mail because: > You reported the bug.