This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: alignment: store_one_arg vs emit_push_insn


+   if (to && MEM_ALIGN (to) > 0)
+     align = MEM_ALIGN (to);
+   if (align < MEM_ALIGN (from) && MEM_ALIGN (from) > 0)
+     align = MEM_ALIGN (from);
  
MEM_ALIGN is always > 0, so I think you mean:

    align = MIN (to ? MEM_ALIGN (to) : align, MEM_ALIGN (from));


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]