This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/47141] [4.6 Regression] segfault
- From: "law at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 7 Jan 2011 15:43:14 +0000
- Subject: [Bug tree-optimization/47141] [4.6 Regression] segfault
- Auto-submitted: auto-generated
- References: <bug-47141-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47141
Jeffrey A. Law <law at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot |law at redhat dot com
|gnu.org |
--- Comment #4 from Jeffrey A. Law <law at redhat dot com> 2011-01-07 15:43:11 UTC ---
It appears that we create a new edge to the exit block, which in turn creates a
new phi arg for the vop. That phi arg is never initialized.
The partial inlining code arranges to fixup the phi for the return value, but
never does so for the vop.
There's some code which marks the vop for renaming and removes its phi, but it
doesn't trigger for this testcase. I suspect that's the root of our problem
and if we fix that conditional things ought to be OK.