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]

[C++ Patch] Fix c++/56243


Hi,

Please see details on Bugzilla.
Tested x86_64-unknown-linux-gnu without regressions.

gcc/testsuite/ChangeLog

2012-02-25  Fabien Chêne  <fabien@gcc.gnu.org>

	PR c++/56243
	* g++.dg/cpp0x/pr56243.C: New.

gcc/cp/ChangeLog

2012-02-25  Fabien Chêne  <fabien@gcc.gnu.org>

	PR c++/56243
	* class.c (fixed_type_or_null): Check that the first operand of a
	COMPONENT_REF is actually a FIELD_DECL before calling
	DECL_FIELD_IS_BASE on it.

-- 
Fabien

Attachment: pr56243.patch
Description: Binary data


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