From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31451 invoked by alias); 12 Sep 2004 14:30:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 31435 invoked by alias); 12 Sep 2004 14:30:06 -0000 Date: Sun, 12 Sep 2004 14:30:00 -0000 Message-ID: <20040912143006.31434.qmail@sourceware.org> From: "jsm at polyomino dot org dot uk" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040912013748.17426.giovannibajo@libero.it> References: <20040912013748.17426.giovannibajo@libero.it> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c/17426] Emit mandatory warning for manual expansions of offsetof X-Bugzilla-Reason: CC X-SW-Source: 2004-09/txt/msg01207.txt.bz2 List-Id: ------- Additional Comments From jsm at polyomino dot org dot uk 2004-09-12 14:30 ------- Subject: Re: Emit mandatory warning for manual expansions of offsetof On Sun, 12 Sep 2004, giovannibajo at libero dot it wrote: > > fits the long-established > > GCC extension of symbolic difference constant expressions if being used in > > a static initializer > > This could be a pedwarn, then, right? A pedwarn for uses where integer constant expressions are required. The intention as described in my proposed formal models is that symbolic difference constant expressions are an implementation-defined other kind of constant expression acceptable in initializers, i.e. not diagnosed there. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17426