Maybe it's a relevant warning for Ada FE: 8795 /* Only issue an error if a Value_Size clause was explicitly given. 8796 Otherwise, we'd be duplicating an error on the Size clause. */ 8797 gnat_attr_node 8798 = Get_Attribute_Definition_Clause (gnat_entity, Attr_Value_Size); 8799 8800 /* Get the size as an INTEGER_CST. Issue an error if a size was specified 8801 but cannot be represented in bitsizetype. */ 8802 size = UI_To_gnu (uint_size, bitsizetype); 8803 if (TREE_OVERFLOW (size))
We should probably be converting to 'unsigned char' instead.
Author: ebotcazou Date: Mon Sep 24 10:29:07 2018 New Revision: 264525 URL: https://gcc.gnu.org/viewcvs?rev=264525&root=gcc&view=rev Log: PR ada/87396 * fe.h (Get_Attribute_Definition_Clause): Use 'unsigned char' instead of 'char' as the type of the second parameter. Modified: trunk/gcc/ada/ChangeLog trunk/gcc/ada/fe.h
.