gcc/gcc ChangeLog c-common.c c-common.h c-pars ...

rth@gcc.gnu.org rth@gcc.gnu.org
Fri Aug 27 00:37:00 GMT 2004


CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	rth@gcc.gnu.org	2004-08-27 00:37:51

Modified files:
	gcc            : ChangeLog c-common.c c-common.h c-parse.in 
	                 c-tree.h c-typeck.c 

Log message:
	* c-typeck.c (build_offsetof): Remove.
	* c-tree.h (build_offsetof): Remove.
	* c-common.c (fold_offsetof_1, fold_offsetof): New.
	* c-common.h (fold_offsetof): Declare.
	* c-parse.in (offsetof_base): New.
	(offsetof_member_designator): Use it.  Build references, not just
	a tree list.
	(primary): Use fold_offsetof, not build_offsetof.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.5113&r2=2.5114
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-common.c.diff?cvsroot=gcc&r1=1.560&r2=1.561
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-common.h.diff?cvsroot=gcc&r1=1.257&r2=1.258
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-parse.in.diff?cvsroot=gcc&r1=1.230&r2=1.231
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-tree.h.diff?cvsroot=gcc&r1=1.169&r2=1.170
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-typeck.c.diff?cvsroot=gcc&r1=1.362&r2=1.363



More information about the Gcc-cvs mailing list