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

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Oct 9 08:39:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6392



------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-10-09 08:39 -------
Subject: Bug 6392

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	jason@gcc.gnu.org	2003-10-09 08:39:34

Added files:
	gcc/testsuite/g++.dg/ext: restrict1.C 

Log message:
	PR c++/6392
	* cp/tree.c (build_cplus_array_type): Handle all quals the same.
	(cp_build_qualified_type_real): Look through arrays first.
	* c-common.c (c_build_qualified_type): Look through arrays first.
	(c_apply_type_quals_to_decl): Look through arrays.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/restrict1.C.diff?cvsroot=gcc&r1=NONE&r2=1.1



More information about the Gcc-bugs mailing list