From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7791 invoked by alias); 17 Dec 2007 09:25:07 -0000 Received: (qmail 7568 invoked by uid 48); 17 Dec 2007 09:24:56 -0000 Date: Mon, 17 Dec 2007 09:25:00 -0000 Subject: [Bug fortran/34505] New: -std=f*: FLOAT accepts non-integers and SNGL non-double precision reals X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "burnus at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-12/txt/msg01596.txt.bz2 Per "13.6 Specific names for standard intrinsic functions" (Fortran 2003) FLOAT is a specific function of REAL which takes as argument only a default-kind integer. SNGL is a specific function of REAL which takes as argument only a double precision real. Current implementation is that it takes any kind of int/real/complex as REAL does. -- Summary: -std=f*: FLOAT accepts non-integers and SNGL non-double precision reals Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: accepts-invalid, diagnostic Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34505