gcc/go/ChangeLog:
* go-lang.c (go_langhook_type_for_mode): Remove redundant cast
from result of GET_MODE_CLASS. Minor formatting fixes.
From-SVN: r241514
+2016-10-25 David Malcolm <dmalcolm@redhat.com>
+
+ * go-lang.c (go_langhook_type_for_mode): Remove redundant cast
+ from result of GET_MODE_CLASS. Minor formatting fixes.
+
2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
* go-backend.c: Include memmodel.h.
return NULL_TREE;
}
- // FIXME: This static_cast should be in machmode.h.
- enum mode_class mc = static_cast<enum mode_class>(GET_MODE_CLASS(mode));
+ enum mode_class mc = GET_MODE_CLASS (mode);
if (mc == MODE_INT)
- return go_langhook_type_for_size(GET_MODE_BITSIZE(mode), unsignedp);
+ return go_langhook_type_for_size (GET_MODE_BITSIZE (mode), unsignedp);
else if (mc == MODE_FLOAT)
{
switch (GET_MODE_BITSIZE (mode))