[Bug c++/58126] New: No diagnostic when inheriting an uninitialized const or reference member

2013-08-11 Thread vvnic.holas at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: vvnic.holas at gmail dot com The following code compiles without any warning or error: struct A { const int value1; int value2; }; struct B : A {}; int main() { B b

[Bug c++/57170] New: No diagnostic for a negative case when switching over unsigned

2013-05-04 Thread vvnic.holas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57170 Bug #: 57170 Summary: No diagnostic for a negative case when switching over unsigned Classification: Unclassified Product: gcc Version: 4.8.0 Status:

[Bug c++/57164] New: enumerator value -1 is too large for underlying type ‘unsigned int’

2013-05-03 Thread vvnic.holas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57164 Bug #: 57164 Summary: enumerator value -1 is too large for underlying type ‘unsigned int’ Classification: Unclassified Product: gcc Version: 4.8.0 Status:

[Bug c++/57164] enumerator value -1 is too large for underlying type ‘unsigned int’

2013-05-03 Thread vvnic.holas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57164 --- Comment #1 from Nicholas vvnic.holas at gmail dot com 2013-05-03 21:24:03 UTC --- (assuming 32-bit ints and two's complement)