http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50063
Georg-Johann Lay <gjl at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |denisc at gcc dot gnu.org
--- Comment #18 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-12-22
00:03:08 UTC ---
>From what you wrote the internals documentation need to be fixed, i.e. there
should be a disclaimer in expand_prologue documentation that SP=FP is an
illegal configuration that breaks GCC.
Moreover there is:
> FIND_BASE_TERM (x): It is always safe for this macro to not be defined.
Which is obviously wrong.
I don't know enough of alias internals, but I get more and more the impression
that implementing FIND_BASE_TERM is just working around problem in generic code
and instead of backend hacking around it the generic code should be made
robust.
At the moment I tend to deactivate malicous pass(es) in the backend until they
use robust approach and don't value performance higher than correctness.