diff options
author | Jason Merrill <jason@gcc.gnu.org> | 1999-09-15 20:01:54 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 1999-09-15 20:01:54 -0400 |
commit | d4c2d8af7649dde57e7a9089755f2842eed8a34f (patch) | |
tree | 84d0eaffcfe1aff3e994af601df43eb80c4d5850 | |
parent | 01fba8d9baa7bd0681f85b98be27b41a1d53ca0e (diff) | |
download | gcc-d4c2d8af7649dde57e7a9089755f2842eed8a34f.zip gcc-d4c2d8af7649dde57e7a9089755f2842eed8a34f.tar.gz gcc-d4c2d8af7649dde57e7a9089755f2842eed8a34f.tar.bz2 |
fix comment
From-SVN: r29443
-rw-r--r-- | gcc/cp/typeck.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/cp/typeck.c b/gcc/cp/typeck.c index cb024af..33f4d58 100644 --- a/gcc/cp/typeck.c +++ b/gcc/cp/typeck.c @@ -1611,9 +1611,8 @@ expr_sizeof (e) return size_int (1); } /* It's illegal to say `sizeof (X::i)' for `i' a non-static data - member unless you're in a non-static member of X. But, we used - to support this usage, so we still permit it unless we're being - pedantic. [expr.prim] */ + member unless you're in a non-static member of X. So hand off to + resolve_offset_ref. [expr.prim] */ else if (TREE_CODE (e) == OFFSET_REF) e = resolve_offset_ref (e); |