Commit 30e36fd0 by Eric Botcazou Committed by Eric Botcazou

re PR ada/87396 (ada/gcc-interface/decl.c:8798:53:Value Conversion Issue:…

re PR ada/87396 (ada/gcc-interface/decl.c:8798:53:Value Conversion Issue: implicit conversion from 'int' to 'char' changes value from 132 to -124: -Wconstant-conversion)

	PR ada/87396
	* fe.h (Get_Attribute_Definition_Clause): Use 'unsigned char' instead
	of 'char' as the type of the second parameter.

From-SVN: r264525
parent e78c3eb3
2018-09-24 Eric Botcazou <ebotcazou@adacore.com>
PR ada/87396
* fe.h (Get_Attribute_Definition_Clause): Use 'unsigned char' instead
of 'char' as the type of the second parameter.
2018-09-13 Eric Botcazou <ebotcazou@adacore.com>
* Makefile.rtl (arm% linux-gnueabi%): Always set EH_MECHANISM to -arm.
......
......@@ -85,7 +85,7 @@ extern void Set_RM_Size (Entity_Id, Uint);
extern Boolean Is_Entity_Name (Node_Id);
#define Get_Attribute_Definition_Clause einfo__get_attribute_definition_clause
extern Node_Id Get_Attribute_Definition_Clause (Entity_Id, char);
extern Node_Id Get_Attribute_Definition_Clause (Entity_Id, unsigned char);
/* errout: */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment