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: [RFA/dwarf-2] Avoid unnecessary subrange_type (3/3)


On Mon, 15 Mar 2004 21:32:50 -0800, Joel Brobecker <brobecker@gnat.com> wrote:

> At some point, I thought that the check I am adding should go into
> is_subrange_type(). This would also make sense, except that it would
> make us recompute in is_subrange_type() a couple of values for both the
> type and subtype which are already computed in subrange_type_die().
> But maybe I'm wrong to be so cheap, and that is_subrange_type() is the
> right place for that extra check?

Yes, please.

Jason


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