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 GC problem with vectors types



On Nov 22, 2004, at 10:00 PM, Devang Patel wrote:



On Nov 22, 2004, at 6:28 PM, Andrew Pinski wrote:


We are GCing some complex types which we still have reference to.
The problem is the the variable which stores last vector type is not
marked with GTY, this fixes the problem.  The reason why I also marked
the int as GTY is because if we don't we could have a possible PCH
problem but I did not test that patch at all.

OK? Bootstrapped and tested on ppc-darwin with no regressions.

Thanks,
Andrew Pinski

ChangeLog:
	* tree-complex.c (vector_inner_type): New variable moved from
	build_word_mode_vector_type.
	(vector_last_type): Likewise.
	(vector_last_nunits): Likewise.


PR 17957 ?

Yes I just forgot to say that this fixes that PR. Woops. Also I put the wrong subject also as it is a problem with vectors and not with complex types.

Thanks,
Andrew Pinski


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