This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/51949] [4.7 Regression] expand_call: seg fault caused by IPA split


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  <ebotcazou@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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]