PR c++/26577
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Aug 2006 06:55:03 +0000 (06:55 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Aug 2006 06:55:03 +0000 (06:55 +0000)
commitdc02da7f70bd7dfc9b7dc176a1ffbe47e9c07830
treed610e5b2cb788508832762326b280dc332edea2e
parent0e86cfce7ff7e2c27252114f9e7833c56c7c9c9c
    PR c++/26577
        * cvt.c (convert_to_void): Don't automatically load from volatiles
        of TREE_ADDRESSABLE type.

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