PR/21921: tsi_link_before when the tsi is at the end of the container

Paolo Bonzini paolo.bonzini@lu.unisi.ch
Mon Jun 6 09:09:00 GMT 2005


PR/21921 is caused by an assertion failure in tsi_link_before.  The 
problem is that tsi_link_before does not fully support the case when the 
tsi has reached the end of the container.  The semantics of this is 
however well specified: the tsi_link_before can simply append the 
statement to the list.

Note that tsi_link_before did support the case when the container is 
empty, and this case nicely "falls into place" with this patch.

Bootstrapped/regtested i686-pc-linux-gnu, fixes the testcase attached to 
the PR and the further reduced one included here.  Ok for mainline?

Paolo
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pr21921.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050606/e99f3a27/attachment.ksh>


More information about the Gcc-patches mailing list