Commit 59bb84ef by Jeff Law Committed by Jeff Law

re PR ada/24994 (raised STORAGE_ERROR : stack overflow or erroneous memory access)

        PR ada/24994
        * tree-cfg.c (bsi_replace): Remove the original statement
        from the EH throw statement table.

From-SVN: r109335
parent ebfd9521
2005-01-04 Jeff Law <law@redhat.com>
PR ada/24994
* tree-cfg.c (bsi_replace): Remove the original statement
from the EH throw statement table.
2006-01-04 Jakub Jelinek <jakub@redhat.com> 2006-01-04 Jakub Jelinek <jakub@redhat.com>
* config/i386/pmm_malloc.h (posix_memalign): If __cplusplus, * config/i386/pmm_malloc.h (posix_memalign): If __cplusplus,
......
...@@ -2869,8 +2869,11 @@ bsi_replace (const block_stmt_iterator *bsi, tree stmt, bool preserve_eh_info) ...@@ -2869,8 +2869,11 @@ bsi_replace (const block_stmt_iterator *bsi, tree stmt, bool preserve_eh_info)
{ {
eh_region = lookup_stmt_eh_region (orig_stmt); eh_region = lookup_stmt_eh_region (orig_stmt);
if (eh_region >= 0) if (eh_region >= 0)
{
remove_stmt_from_eh_region (stmt);
add_stmt_to_eh_region (stmt, eh_region); add_stmt_to_eh_region (stmt, eh_region);
} }
}
delink_stmt_imm_use (orig_stmt); delink_stmt_imm_use (orig_stmt);
*bsi_stmt_ptr (*bsi) = stmt; *bsi_stmt_ptr (*bsi) = stmt;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment