re PR c++/26577 (ICE in cp_expr_size with volatile and non POD)
authorJason Merrill <jason@redhat.com>
Tue, 29 Aug 2006 06:55:03 +0000 (02:55 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 29 Aug 2006 06:55:03 +0000 (02:55 -0400)
commitbed02d89608838750eac5b389e91b2678c72d55d
treed610e5b2cb788508832762326b280dc332edea2e
parentd218d0e66d1144e1a727c13fb0586c82b4fc3d87
re PR c++/26577 (ICE in cp_expr_size with volatile and non POD)

        PR c++/26577
        * cvt.c (convert_to_void): Don't automatically load from volatiles
        of TREE_ADDRESSABLE type.

From-SVN: r116554
gcc/cp/ChangeLog
gcc/cp/cvt.c
gcc/testsuite/g++.dg/warn/volatile1.C [new file with mode: 0644]