[Bug c++/77739] New: internal compiler error: in create_tmp_var, at gimple-expr.c:524

2016-09-25 Thread vcato1701 at yahoo dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: vcato1701 at yahoo dot com Target Milestone: --- gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.2) Command: g++ -c -std=c++14 ice.cpp Output: ice.cpp: In member function

[Bug c++/61543] static_castvoid *(static_castint(enum_value)) doesn't get an error

2014-06-24 Thread vcato1701 at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61543 --- Comment #2 from Vaughn Cato vcato1701 at yahoo dot com --- I'm not sure it is related to bug 49171. It seems to be something about enum values specifically. For example, if you change the enum_value to an integer constant, like 5, then you

[Bug c++/61543] New: static_castvoid *(static_castint(enum_value)) doesn't get an error

2014-06-17 Thread vcato1701 at yahoo dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: vcato1701 at yahoo dot com This simple example doesn't get a compile error, but it should, since a static_cast from an int to a pointer is illegal: --- BEGIN main.cpp --- enum