c++/6392: [PATCH] Problems with __restrict__ type qualifier (array)

Jason Merrill jason@redhat.com
Fri May 3 09:21:00 GMT 2002


This seems like the right fix; there's no reason to apply the bizarre
array cv-qual handling to restrict.

Tested i686-pc-linux-gnu, applied trunk only.  I put Daniel's test in
g++.dg/template/restrict1.C.

2002-05-03  Jason Merrill  <jason@redhat.com>

	* tree.c (build_cplus_array_type): Only const and volatile get
	special handling.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-patch
Size: 964 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20020503/a38a513a/attachment.bin>


More information about the Gcc-bugs mailing list