This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/6634: illegal type "long long double" recognized as "long long int"
- From: santugi at dptmaths dot ens-cachan dot fr
- To: gcc-gnats at gcc dot gnu dot org
- Date: 11 May 2002 12:53:39 -0000
- Subject: c++/6634: illegal type "long long double" recognized as "long long int"
- Reply-to: santugi at dptmaths dot ens-cachan dot fr
>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==