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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.7 Regression]            |[4.7 Regression]
                   |expand_call: seg fault      |expand_call: seg fault
                   |                            |caused by IPA split

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-22 
21:24:56 UTC ---
The problem is IPA split is splitting the function mem_alloc correctly, though
it should have removed the malloc attribute on the split function.
This was introduced by:
2012-01-11  Eric Botcazou  <ebotca...@adacore.com>

...
        * ipa-split.c (split_function): Skip the return value for the split
        part if it doesn't return.

Though it was always there really.

Reply via email to