------- Comment #4 from reichelt at gcc dot gnu dot org 2006-07-15 09:38 ------- Subject: Bug 28294
Author: reichelt Date: Sat Jul 15 09:38:02 2006 New Revision: 115468 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115468 Log: PR c++/28294 * semantics.c (finish_offsetof): Use TREE_OPERAND for COMPONENT_REFs only. * g++.dg/ext/offsetof1.C: Add test with function pointer arithmetic. Modified: branches/gcc-4_0-branch/gcc/cp/ChangeLog branches/gcc-4_0-branch/gcc/cp/semantics.c branches/gcc-4_0-branch/gcc/testsuite/ChangeLog branches/gcc-4_0-branch/gcc/testsuite/g++.dg/ext/offsetof1.C -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28294