* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: Constify
	a handful of local variables.
	For a derived untagged type that renames discriminants, change the type
	of the stored discriminants to a subtype with the bounds of the type
	of the visible discriminants.
	(build_subst_list): Rename local variable.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199279 138bc75d-0d04-0410-961f-82ee72b054a4
	* gcc-interface/trans.c: Include diagnostic.h and opts.h.
	(Pragma_to_gnu) <Pragma_Warnings>: New case.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199280 138bc75d-0d04-0410-961f-82ee72b054a4