[Bug c++/70767] New: std::numeric_limits<const unsigned char>::digits is wrong unless --std=c++11 used
wkaras at yahoo dot com
gcc-bugzilla@gcc.gnu.org
Sat Apr 23 00:27:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70767
Bug ID: 70767
Summary: std::numeric_limits<const unsigned char>::digits is
wrong unless --std=c++11 used
Product: gcc
Version: 4.8.5
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: wkaras at yahoo dot com
Target Milestone: ---
Created attachment 38331
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38331&action=edit
bash script, see bug description
The value is not 8. The problem also exists in version 4.9.3. The attachment
is a bash script that creates the file ex.cpp. It then compiles several times
to show the cases where the bug does and does not happen.
More information about the Gcc-bugs
mailing list