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] Fix non-standard Ada bootstrap failure on IA-64


> It could be the case that an alternate, legitimate representation of the
> same expression is used elsewhere, and at the point that goes into
> cselib, the previously debug-only entry should become a regular entry in
> the cselib table.
>
> Is this what you observe?

Sure, that's what I've been saying since the beginning: a legitimate (address) 
expression coming from a regular insn is equivalenced to the non-legitimate 
expression already present in the table because of a debug insn and, thus, the 
location of the latter is promoted to non-debug.

> If that's it, maybe we need to somehow mark debug-only locs in loc lists, and
> get some code other than VTA to skip the debug-only locs, or somethink like
> that. 

Do you mean getting rid of the promotion-to-non-debug-location code?

-- 
Eric Botcazou


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