From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7167 invoked by alias); 11 May 2002 12:56:03 -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 7131 invoked by uid 71); 11 May 2002 12:56:01 -0000 Resent-Date: 11 May 2002 12:56:01 -0000 Resent-Message-ID: <20020511125601.7130.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, santugi@dptmaths.ens-cachan.fr Received:(qmail 3964 invoked by uid 61); 11 May 2002 12:53:39 -0000 Message-Id:<20020511125339.3963.qmail@sources.redhat.com> Date: Sat, 11 May 2002 05:56:00 -0000 From: santugi@dptmaths.ens-cachan.fr Reply-To: santugi@dptmaths.ens-cachan.fr To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c++/6634: illegal type "long long double" recognized as "long long int" X-SW-Source: 2002-05/txt/msg00313.txt.bz2 List-Id: >Number: 6634 >Category: c++ >Synopsis: illegal type "long long double" recognized as "long long int" >Confidential: no >Severity: non-critical >Priority: low >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Sat May 11 05:56:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: santugi@dptmaths.ens-cachan.fr >Release: 3.0.4 >Organization: >Environment: FreeBSD 4.5 Release >Description: The inexistent type long long double is recognized by the compiler and treated as long long int. A long long double should either not exist or be a floating point type having same or better precision than long double. The code is one line long. >How-To-Repeat: compile the attached programm. It will print a warning about assigning a floating type litteral to an integer. Th problem disappear with option --pedantic error since long long is recognized illegal with this option. >Fix: >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: application/octet-stream; name="bugtest2.C" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="bugtest2.C" bG9uZyBsb25nIGRvdWJsZSBhPTEuNTc7Cg==