re PR c++/17221 (C++ offsetof regression)
authorRichard Henderson <rth@redhat.com>
Tue, 31 Aug 2004 17:39:56 +0000 (10:39 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Tue, 31 Aug 2004 17:39:56 +0000 (10:39 -0700)
commit4bceb077ac4d1b221e4476f988c6717959774d7d
tree09aae636ace3dc32a3f2178805e37674692b5413
parent1c04c4cc039e10143d481f328127c601af1d3515
re PR c++/17221 (C++ offsetof regression)

        PR c++/17221
        * pt.c (tsubst_expr): Move OFFSETOF_EXPR handling ...
        (tsubst_copy_and_build): ... here.

From-SVN: r86835
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/template/offsetof1.C [new file with mode: 0644]