c++/7598
nathan@gcc.gnu.org
nathan@gcc.gnu.org
Thu Aug 15 03:46:00 GMT 2002
The following reply was made to PR c++/7598; it has been noted by GNATS.
From: nathan@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org
Cc:
Subject: c++/7598
Date: 15 Aug 2002 10:34:06 -0000
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: nathan@gcc.gnu.org 2002-08-15 03:34:05
Modified files:
gcc/cp : ChangeLog typeck.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g++.dg/other: offsetof1.C
Log message:
cp:
PR c++/7598
* typeck.c (build_unary_op): Fold offsetof idiom. Fixes
regression caused by my 2002-08-08 patch.
testsuite:
* g++.dg/other/offsetof1.C: New test
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.2935&r2=1.2936
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/typeck.c.diff?cvsroot=gcc&r1=1.421&r2=1.422
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.2032&r2=1.2033
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/other/offsetof1.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
More information about the Gcc-prs
mailing list