This is the mail archive of the gcc-patches@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]

Re: [PATCH] Fix C++/21645, ICE in cxx_types_compatible_p



On May 23, 2005, at 1:07 PM, Andrew Pinski wrote:



On May 23, 2005, at 1:04 PM, Mark Mitchell wrote:


Andrew Pinski wrote:
The problem here is that when we clone a function, we forget to copy
the correct type for the arguments so we get a crash when we copy
the body of the function as we are creating an INDIRECT_REF of a record
type which is just wrong.
This patch updates the TYPE of the parameters before the copying happens.
OK? Bootstrapped and tested on powerpc-darwin with no regressions.

To be clear: OK after the slush has melted.

Why, this breaks eon?

I mean this fixes eon as eon is broken, it is weird we don't have a testcase like this in the testsuite anyways.

-- Pinski


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