This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/51949] [4.7 Regression] expand_call: seg fault caused by IPA split
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 22 Jan 2012 21:24:56 +0000
- Subject: [Bug middle-end/51949] [4.7 Regression] expand_call: seg fault caused by IPA split
- Auto-submitted: auto-generated
- References: <bug-51949-4@http.gcc.gnu.org/bugzilla/>
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.