From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9402 invoked by alias); 10 Jul 2002 15:26:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 9381 invoked by uid 71); 10 Jul 2002 15:26:01 -0000 Resent-Date: 10 Jul 2002 15:26:01 -0000 Resent-Message-ID: <20020710152601.9380.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, andrew@andypo.net Received: (qmail 8729 invoked by uid 61); 10 Jul 2002 15:24:12 -0000 Message-Id: <20020710152412.8728.qmail@sources.redhat.com> Date: Wed, 10 Jul 2002 08:26:00 -0000 From: andrew@andypo.net Reply-To: andrew@andypo.net To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: other/7263: __extension__ keyword doesn't suppress warning on LL or ULL constants X-SW-Source: 2002-07/txt/msg00297.txt.bz2 List-Id: >Number: 7263 >Category: other >Synopsis: __extension__ keyword doesn't suppress warning on LL or ULL constants >Confidential: no >Severity: non-critical >Priority: low >Responsible: unassigned >State: open >Class: rejects-legal >Submitter-Id: net >Arrival-Date: Wed Jul 10 08:26:00 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Andrew Pollard >Release: gcc-3.2-20020710 >Organization: >Environment: System: Linux garfield.andypo.net 2.4.18-5smp #1 SMP Mon Jun 10 15:19:40 EDT 2002 i686 unknown Architecture: i686 Binutils 2.12.90.0.14 20020627 Redhat 7.3 dual processor P3 system host: i686-pc-linux-gnu build: i686-pc-linux-gnu target: i686-pc-linux-gnu configured with: /usr/local/src/cvs/gcc/configure --prefix=/usr/local/gcc-3.2-20020710-i686-pc-linux-gnu --with-gnu-as --with-gnu-ld --enable-version-specific-runtime-libs --enable-threads=posix --with-dwarf2 --disable-shared --enable-languages=c++ >Description: The following code fragment generates a warning in gcc-3.2-20020710, where previous versions (gcc-3.1, gcc-3.0) didn't. a.c: -------------------------------------------------------- __extension__ unsigned long long foo() { return (__extension__ 0x1b27da572ef3cd86ULL); } -------------------------------------------------------- % gcc -W -Wall -Werror -ansi -pedantic -c a.c a.c:4:27: use of C99 long long integer constant Even though the constant is wrapped using __extension__ __extension__ still removes the warning on the use of the unsigned long long type. -Wno-long-long is a workaround for me at the moment. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: