]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/eval.c
Fix c++/16675 -- sizeof reference type should give the size of
authorKeith Seitz <keiths@redhat.com>
Fri, 11 Apr 2014 21:17:17 +0000 (14:17 -0700)
committerKeith Seitz <keiths@redhat.com>
Fri, 11 Apr 2014 21:17:17 +0000 (14:17 -0700)
commit245a5f0b7429b03566eb3f57a92544218f33393c
tree3e733b578ae65a097557d0116a3c9c329bfb8678
parent32ae0d80cd430150ad9536aa160f34f504e129bc
Fix c++/16675 -- sizeof reference type should give the size of
the referent, not the size of the actual reference variable.
gdb/ChangeLog
gdb/c-exp.y
gdb/eval.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/cpsizeof.cc [new file with mode: 0644]
gdb/testsuite/gdb.cp/cpsizeof.exp [new file with mode: 0644]