[Bug c++/26577] [4.0/4.1 regression] ICE in cp_expr_size with volatile and non POD

jason at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Aug 30 02:59:00 GMT 2006



------- Comment #21 from jason at gcc dot gnu dot org  2006-08-30 02:59 -------
Subject: Bug 26577

Author: jason
Date: Wed Aug 30 02:59:14 2006
New Revision: 116576

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116576
Log:
        PR c++/26577
        * cvt.c (convert_to_void): Don't automatically load from volatiles
        of TREE_ADDRESSABLE type.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/warn/volatile1.C
      - copied unchanged from r116568,
branches/gcc-4_0-branch/gcc/testsuite/g++.dg/warn/volatile1.C
Modified:
    branches/gcc-4_1-branch/gcc/cp/ChangeLog
    branches/gcc-4_1-branch/gcc/cp/cvt.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26577



More information about the Gcc-bugs mailing list