This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [Warning] Signed mistach for basic datatype.
- From: Andrew Haley <aph at redhat dot com>
- To: Umesh Kalappa <umesh dot kalappa0 at gmail dot com>
- Cc: "gcc-help at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>, "cfe-dev at cs dot uiuc dot edu Developers" <cfe-dev at cs dot uiuc dot edu>
- Date: Fri, 06 Dec 2013 14:48:18 +0000
- Subject: Re: [Warning] Signed mistach for basic datatype.
- Authentication-results: sourceware.org; auth=none
- References: <CAGfacvTG+nxXM4UNZq5K7y3_AVFXWCd6PR1a+OdxWiE6CmqxMg at mail dot gmail dot com>
On 12/06/2013 10:41 AM, Umesh Kalappa wrote:
> I’m bit confused or i'm missing something here .
The first of these is implementation-defined behaviour, and the second
is (potentially) undefined behaviour.
This is more of a generic C question than a GCC question.
Andrew.