OSDN Git Service

* gcc-interface/decl.c (components_to_record): Add REORDER parameter,
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 Mar 2011 12:31:12 +0000 (12:31 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 Mar 2011 12:31:12 +0000 (12:31 +0000)
commitb8f6cfa7a8f1ed46ef503115fa195c97ac777978
treec3d3c338888d0bed462a50385a7a017768f5a88b
parent67a9e807ea579270747997bdb8f4d240461913f8
* gcc-interface/decl.c (components_to_record): Add REORDER parameter,
rename DEBUG_INFO_P into DEBUG_INFO and move P_GNU_REP_LIST parameter
to the end of the list.  Adjust recursive call.  Rename local variable.
If REORDER is true, reorder components of the record type.
(gnat_to_gnu_entity): Pass OK_To_Reorder_Components flag as argument to
components_to_record and adjust the parameter list.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171228 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c