Re: [RFC] Change order of Fortran BLOCK_VARS (PR fortran/71687, take 2)

2016-07-01 Thread Mikael Morin
Le 01/07/2016 16:58, Jakub Jelinek a écrit : On Thu, Jun 30, 2016 at 08:06:54PM +0200, Jakub Jelinek wrote: So, is it intentional that pushdecl / getdecls acts like a LIFO? Though, it seems user vars are pushdecled in the reverse order of declarations, but gfc_add_decl_to_function is called in

[RFC] Change order of Fortran BLOCK_VARS (PR fortran/71687, take 2)

2016-07-01 Thread Jakub Jelinek
On Thu, Jun 30, 2016 at 08:06:54PM +0200, Jakub Jelinek wrote: > So, is it intentional that pushdecl / getdecls acts like a LIFO? > Though, it seems user vars are pushdecled in the reverse order of > declarations, but gfc_add_decl_to_function is called in the user declared > order, so perhaps for