C++ PATCH to cp_parser_primary_expression

Jason Merrill jason@redhat.com
Thu May 15 22:18:00 GMT 2003


This patch fixes a 3.4 regression whereby we were failing to dereference a
qualified-id which names a reference static data member, resulting in type
comparison problems.

Fixes g++.dg/conversion/cond4.C.  Tested i686-pc-linux-gnu, applied to
trunk.

2003-05-15  Jason Merrill  <jason@redhat.com>

	* parser.c (cp_parser_primary_expression): Convert a static data
	member from reference.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-patch
Size: 520 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20030515/51d4d252/attachment.bin>


More information about the Gcc-patches mailing list