https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121936

--- Comment #13 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note GCC has can does the order depending on an option/target even:
      for (i = (PUSH_ARGS_REVERSED ? nargs - 1 : 0);
           PUSH_ARGS_REVERSED ? i >= 0 : i < nargs;
           PUSH_ARGS_REVERSED ? i-- : i++)
        {
Right now GCC does it for the following targets:
config/bpf/bpf.h:#define PUSH_ARGS_REVERSED 1
config/i386/i386.h:#define PUSH_ARGS_REVERSED 1
config/nvptx/nvptx.h:#define PUSH_ARGS_REVERSED 1

I wonder if this should be removed. 

So it is even more complex :).

Reply via email to