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: [PATCH] remove some usage of expr_list from read_rtx


Nice clean-up :-)

tbsaunde+gcc@tbsaunde.org writes:
> @@ -2248,11 +2249,14 @@ process_define_subst (void)
>  static void
>  rtx_handle_directive (int lineno, const char *rtx_name)
>  {
> -  rtx queue, x;
> +  auto_vec<rtx, 10> subrtxs;
> +  if (!read_rtx (rtx_name, &subrtxs))
> +    return;

Very minor, but many iterators are over powers of 2, so it seems unlikely
that 10 would be a good stack/heap cut-off point.  How about 16 or 32
instead?

OK with that change, thanks.

Richard


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