/cp
commitf0599f80df2b1b2b8bffee2c78f83183d4813459
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Jun 2013 22:49:11 +0000 (14 22:49 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Jun 2013 22:49:11 +0000 (14 22:49 +0000)
tree7129c3cc77ae702640130b4a898a259b40160072
parent7a57f216058db8f8155e770d3dce262552471b25
/cp
2013-06-14  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/51413
* semantics.c (finish_offsetof): Handle INDIRECT_REF as expr.

/testsuite
2013-06-14  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/51413
* g++.dg/ext/builtin-offsetof1.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200110 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/builtin-offsetof1.C [new file with mode: 0644]