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 tree-optimization/47141] [4.6 Regression] segfault


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.


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