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: RTL sharing tester (for testing)


Richard Sandiford wrote:
If every register in [regno_first, regno_last] was unused, flow would
add a REG_UNUSED note for the REG created above.  If only some of those
registers were unused, flow would add notes for the individual unused
registers.  As I said on IRC yesterday, I'm not convinced the first
behaviour was a good idea.  That REG might well be invalid (otherwise
why have a SUBREG in the first place?) and it's better not to have
invalid registers floating around.

I agree with everything in your analysis, except possibly this. If the SUBREG is valid, then I see no way how the REG could be invalid. Since flow used to do this, I prefer we keep the same behaviour.



Bernd -- This footer brought to you by insane German lawmakers. Analog Devices GmbH Wilhelm-Wagenfeld-Str. 6 80807 Muenchen Sitz der Gesellschaft Muenchen, Registergericht Muenchen HRB 40368 Geschaeftsfuehrer Thomas Wessel, William A. Martin, Margaret Seif


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