[Bug middle-end/27536] [4.2 Regression] -fsection-anchors breaks Ada

richard at codesourcery dot com gcc-bugzilla@gcc.gnu.org
Thu May 11 15:56:00 GMT 2006



------- Comment #5 from richard at codesourcery dot com  2006-05-11 15:56 -------
Subject: Re:  [4.2 Regression] -fsection-anchors breaks Ada

"dje at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:
> It looks like something in exception handling is creating a new object
> very late, after reload, and the new address is not validized before
> being handed to replace_equiv_address().
>
> Should explow.c:use_anchored_address() add
>
>   if (reload_in_progress || reload_completed)
>     return x;
>
> Either the block should not be created so late or it should be validized. 
> Although, I am curious how this works in expand_expr_real_1 when section
> anchors is not enabled.

I find this a little surprising too.  Could someone do:

    call debug_tree (...)

on the type that output_ttype is trying to expand?

Richard


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27536



More information about the Gcc-bugs mailing list