This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug web/47165] New: gcc-4.6/changes.html wrongly describes -W(no-)long-double
- From: "zsojka at seznam dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 4 Jan 2011 11:48:55 +0000
- Subject: [Bug web/47165] New: gcc-4.6/changes.html wrongly describes -W(no-)long-double
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47165
Summary: gcc-4.6/changes.html wrongly describes
-W(no-)long-double
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: web
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: zsojka@seznam.cz
http://gcc.gnu.org/gcc-4.6/changes.html states:
A new warning, enabled by -Wno-double-promotion, has been added that warns
about cases where a value of type float is implicitly promoted to double. This
is especially helpful for CPUs that handle the former in hardware, but emulate
the latter in software.
According to man pages and observed behaviour, the warning is enabled by
-Wdouble-promotion (the "no-" should be removed)