[Bug c++/11200] New: C++ front end accepts long long double
conley.141@osu.edu
gcc-bugzilla@gcc.gnu.org
Mon Jun 16 00:08:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11200
Summary: C++ front end accepts long long double
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: conley.141@osu.edu
CC: gcc-bugs@gcc.gnu.org
GCC build triplet: 3.4 20030612
GCC host triplet: i686-pc-cygwin
GCC target triplet: 1686-pc-cygwin
The C++ front end will compile the following with a warning:
int main () {
long long double d = 3.14; // sets d = 3 (type of d is long long)
return 0;
}
Trying the same code with the C front end gives an error.
More information about the Gcc-bugs
mailing list