[Bug c++/91787] New: an elaborated-type-specifier only takes plain "enum", gcc accept ill-formed, while it should not.

2019-09-16 Thread derrick at ca dot ibm.com
NCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: derrick at ca dot ibm.com Target Milestone: --- Refer to C++11 N3290 7.1.6.3 Elaborated type specifiers An enum-specifier needs the b

[Bug libgcc/69944] New: ctype::widen issue, use self-define do_widen, get unexpected result.

2016-02-24 Thread derrick at ca dot ibm.com
Priority: P3 Component: libgcc Assignee: unassigned at gcc dot gnu.org Reporter: derrick at ca dot ibm.com Target Milestone: --- I compile the following code under gcc5.2. $g++ -std=c++11 test.cpp -o test #include #include #include typedef char Mychar

[Bug c++/69924] gcc5.2 compile Error: std::basic_istream: no match for 'operator>>', while gcc 4.8 works

2016-02-24 Thread derrick at ca dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69924 derrick at ca dot ibm.com changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED

[Bug c++/69924] gcc5.2 compile Error: std::basic_istream: no match for 'operator>>', while gcc 4.8 works

2016-02-23 Thread derrick at ca dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69924 derrick at ca dot ibm.com changed: What|Removed |Added Resolution|INVALID |FIXED --- Comment #3 from

[Bug c++/69924] New: gcc5.2 compile Error: std::basic_istream: no match for 'operator>>', while gcc 4.8 works

2016-02-23 Thread derrick at ca dot ibm.com
tus: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: derrick at ca dot ibm.com Target Milestone: --- For the following code, it compiles successfully on gcc 4.8, but fails on gcc 5.2 #include #incl

[Bug c++/68801] __builtin_object_size multiple objects ptr size issue when adding/removing printf()

2015-12-08 Thread derrick at ca dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68801 --- Comment #1 from derrick at ca dot ibm.com --- cmd: $g++ -O2 -D_FORTIFY_SOURCE=1 test.cpp -o test

[Bug c++/68801] New: __builtin_object_size multiple objects ptr size issue when adding/removing printf()

2015-12-08 Thread derrick at ca dot ibm.com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: derrick at ca dot ibm.com Target Milestone: --- As following code shows, if adding printf("OK\n") and printf("NOK\n") in function test02(), t

[Bug c++/68258] New: core 879 Missing built-in comparison operators for pointer types not supported

2015-11-09 Thread derrick at ca dot ibm.com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: derrick at ca dot ibm.com Target Milestone: --- http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#879 not implemented, while clang3.6 works. Code: #include