public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/6634: illegal type "long long double" recognized as "long long int"
@ 2002-05-11  5:56 santugi
  0 siblings, 0 replies; 2+ messages in thread
From: santugi @ 2002-05-11  5:56 UTC (permalink / raw)
  To: gcc-gnats


>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==


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: c++/6634: illegal type "long long double" recognized as "long long int"
@ 2002-05-14  7:03 lerdsuwa
  0 siblings, 0 replies; 2+ messages in thread
From: lerdsuwa @ 2002-05-14  7:03 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, santugi

Synopsis: illegal type "long long double" recognized as "long long int"

State-Changed-From-To: open->analyzed
State-Changed-By: lerdsuwa
State-Changed-When: Tue May 14 07:03:41 2002
State-Changed-Why:
    Confirmed.  Still present in 3.1 branch and trunk.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6634


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-05-14 14:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-11  5:56 c++/6634: illegal type "long long double" recognized as "long long int" santugi
2002-05-14  7:03 lerdsuwa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).