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: [tree-ssa] Avoid nondeterminism in tree-ssanames


In message <1070314306.20247.39.camel@frodo.toronto.redhat.com>, Diego Novillo 
writes:
 >On Mon, 2003-12-01 at 16:26, Andrew MacLeod wrote:
 >
 >> I dont particularly like re-using SSA_NAMEs versions. Expecially in
 >> large programs Im debugging, I tend to grep for VAR_v in a.c.* listing
 >> files to see where uses appear and dissappear. I guess its not a huge
 >> thing to filter out, but I can see it being very confusing sometimes,
 >> especially if the new use is at all similar to what the old use was.
 >> 
 >Agreed.  It also makes it hard to debug when you want to setup a
 >conditional breakpoint based on the SSA number.
 >
 >Unless it's a huge win, I would *really* want to go back to the previous
 >scheme of having unique SSA numbers across the whole compilation unit.
Err, across the whole compilation unit?  You've got to be kidding.  Think
about how we size some varrays and sbitmaps?!?

Across a function, yes, that's sensible.  Across a compilation unit is,err,
dumb.

jeff


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