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 canonical types w/ transparent unions (4.3 regression, PR c++/35315)


Doug Gregor wrote:
Here's a slightly improved patch, which moves the canonical-types fix
into build_duplicate_type. I'll commit to mainline tomorrow if there
are no objections. However, I'm pinging Mark and Jakub to ask whether
this is patch should also go into 4.3. I believe the answer is "no",
but here's some reasoning.

I agree it's not a severe problem, but it is going to lead to problems somewhere, for someone, and it's a simple patch so let's put it in on the 4.3 branch as well.


2008-02-26 Douglas Gregor <doug.gregor@gmail.com>

	PR c++/35315
	* tree-inline.c (build_duplicate_type): When we make a
	duplicate type, make it unique in the canonical types system.

2008-02-26 Douglas Gregor <doug.gregor@gmail.com>

	PR c++/35315
	* g++.dg/ext/attrib32.C: Add another test case.

Thanks,


--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


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