From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10578 invoked by alias); 3 Dec 2002 14:16:04 -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 10557 invoked by uid 71); 3 Dec 2002 14:16:03 -0000 Resent-Date: 3 Dec 2002 14:16:03 -0000 Resent-Message-ID: <20021203141603.10556.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, hugo@adept.co.za Received: (qmail 10119 invoked by uid 61); 3 Dec 2002 14:14:46 -0000 Message-Id: <20021203141446.10114.qmail@sources.redhat.com> Date: Tue, 03 Dec 2002 06:16:00 -0000 From: hugo@adept.co.za Reply-To: hugo@adept.co.za To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c/8793: Simple code results in "numeric constant contains digits beyond the radix" X-SW-Source: 2002-12/txt/msg00133.txt.bz2 List-Id: >Number: 8793 >Category: c >Synopsis: Simple code results in "numeric constant contains digits beyond the radix" >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Tue Dec 03 06:16:02 PST 2002 >Closed-Date: >Last-Modified: >Originator: hugo@adept.co.za >Release: 3.2 20020903 (Red Hat Linux 8.0 3.2-7) as well as 2.96 20000731 (Red Hat Linux 7.3 2.96-110) >Organization: >Environment: Redhat Linux, 8.0, and 7.3 Both g++ and gcc >Description: This says it all. $ g++ test.cc test.cc:6: numeric constant contains digits beyond the radix test.cc:6: numeric constant contains digits beyond the radix test.cc:6: numeric constant contains digits beyond the radix test.cc:7: numeric constant contains digits beyond the radix test.cc:7: numeric constant contains digits beyond the radix test.cc:7: numeric constant contains digits beyond the radix Source code: ============test.cc================== unsigned int bug[60] = { 07, 04, 00, 01, 01, 02, 03, 01, 01, 00, 01, 01, 02, 02, 01, 00, 00, 00, 00, 00, 00, 12, 12, 13, 15, 05, 04, 03, 11, 12, 13, 15, 05, 04, 04, 01, 02, 01, 03, 03, 02, 02, 09, 10, 09, 11, 07, 06, 06, 09, 09, 08, 08, 04, 04, 04, 02, 02, 01, 00}; >How-To-Repeat: Simply try and compile that array ... >Fix: >Release-Note: >Audit-Trail: >Unformatted: