[Bug c++/13529] [3.4 regression] offsetof() with member-designator containing member access broken
cvs-commit at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Jan 5 01:53:00 GMT 2004
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-01-05 01:53 -------
Subject: Bug 13529
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: mmitchel@gcc.gnu.org 2004-01-05 01:52:58
Modified files:
gcc/cp : ChangeLog
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g++.dg/parse: offsetof3.C
Log message:
PR c++/13529
* parser.c (cp_parser_postfix_expression): Allow "." to appear in
an offsetof expression.
PR c++/13529
* g++.dg/parse/offsetof3.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3850&r2=1.3851
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3333&r2=1.3334
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/offsetof3.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13529
More information about the Gcc-bugs
mailing list